make vfs & filesystems use failable copying
[minix3.git] / lib / libsys / sys_setgrant.c
blob39d71969004e0e78d4bc9e67bd5ba8ec4c194d96
2 #include "syslib.h"
4 #include <minix/safecopies.h>
6 int sys_setgrant(cp_grant_t *grants, int ngrants)
8 message m;
10 m.SG_ADDR = (char *) grants;
11 m.SG_SIZE = ngrants;
13 return _kernel_call(SYS_SETGRANT, &m);