etc/services - sync with NetBSD-8
[minix.git] / minix / lib / libsys / sys_setgrant.c
blobf09df89bdaf4d17312e99ea1091b9a5199f3fc43
2 #include "syslib.h"
4 #include <minix/safecopies.h>
6 int sys_setgrant(cp_grant_t *grants, int ngrants)
8 message m;
10 m.m_lsys_krn_sys_setgrant.addr = (vir_bytes)grants;
11 m.m_lsys_krn_sys_setgrant.size = ngrants;
13 return _kernel_call(SYS_SETGRANT, &m);