minix/lib/syslib/sys_privctl.c

14 lines
234 B
C
Raw Normal View History

2006-01-27 13:54:47 +01:00
#include "syslib.h"
2006-01-27 15:14:13 +01:00
int sys_privctl(int proc, int request, int i, void *p)
2006-01-27 13:54:47 +01:00
{
message m;
m.CTL_PROC_NR = proc;
m.CTL_REQUEST = request;
m.CTL_MM_PRIV = i;
2006-01-27 15:14:13 +01:00
m.CTL_ARG_PTR = p;
2006-01-27 13:54:47 +01:00
2006-01-27 15:14:13 +01:00
return _taskcall(SYSTASK, SYS_PRIVCTL, &m);
2006-01-27 13:54:47 +01:00
}