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_setgrant.c
blob
6d2c96daf610a911f377c5edc3e08eb3a2e895f3
1
2
#include
"syslib.h"
3
4
#include <minix/safecopies.h>
5
6
int
sys_setgrant
(
cp_grant_t
*
grants
,
int
ngrants
)
7
{
8
message m
;
9
10
m
.
SG_ADDR
= (
char
*)
grants
;
11
m
.
SG_SIZE
=
ngrants
;
12
13
return
_taskcall
(
SYSTASK
,
SYS_SETGRANT
, &
m
);
14
}