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
Fixes to allow versionless packages on cd
[minix3.git]
/
lib
/
libminlib
/
vm_set_priv.c
blob
969acf686e865c2e728cbc618974d33b6b49700c
1
#include <lib.h>
2
#include <unistd.h>
3
4
PUBLIC
int
vm_set_priv
(
int
nr
,
void
*
buf
)
5
{
6
message m
;
7
m
.
VM_RS_NR
=
nr
;
8
m
.
VM_RS_BUF
= (
long
)
buf
;
9
return
_syscall
(
VM_PROC_NR
,
VM_RS_SET_PRIV
, &
m
);
10
}
11