6 #include <minix/callnr.h>
8 #include <minix/config.h>
9 #include <minix/const.h>
11 #include <minix/endpoint.h>
12 #include <minix/keymap.h>
13 #include <minix/minlib.h>
14 #include <minix/type.h>
15 #include <minix/ipc.h>
16 #include <minix/sysutil.h>
17 #include <minix/syslib.h>
18 #include <minix/safecopies.h>
19 #include <minix/bitmap.h>
30 /*===========================================================================*
32 *===========================================================================*/
33 PUBLIC
int do_rs_set_priv(message
*m
)
40 if ((r
= vm_isokendpt(nr
, &n
)) != OK
) {
41 printf("do_rs_set_priv: message from strange source %d\n", nr
);
48 r
= sys_datacopy(m
->m_source
, (vir_bytes
) m
->VM_RS_BUF
,
49 SELF
, (vir_bytes
) vmp
->vm_call_priv_mask
,
50 sizeof(vmp
->vm_call_priv_mask
));