repo.or.cz
/
minix3.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Uninitialized vector entry?
[minix3.git]
/
lib
/
syslib
/
sys_privctl.c
blob
9c14aa5c8fa65e6c5a8c55f88eb20390ffba19eb
1
#include
"syslib.h"
2
3
int
sys_privctl
(
int
proc
,
int
request
,
int
i
,
void
*
p
)
4
{
5
message m
;
6
7
m
.
CTL_ENDPT
=
proc
;
8
m
.
CTL_REQUEST
=
request
;
9
m
.
CTL_MM_PRIV
=
i
;
10
m
.
CTL_ARG_PTR
=
p
;
11
12
return
_taskcall
(
SYSTASK
,
SYS_PRIVCTL
, &
m
);
13
}