HelenOS sources
SYS_PERM_GRANT 110 kernel/generic/src/syscall/syscall.c [SYS_PERM_GRANT] = (syshandler_t) sys_perm_grant,
SYS_PERM_GRANT 91 uspace/app/trace/syscalls.c [SYS_PERM_GRANT] = { "perm_grant", 2, V_ERRNO },
SYS_PERM_GRANT 54 uspace/lib/c/generic/perm.c return (errno_t) __SYSCALL2(SYS_PERM_GRANT, (sysarg_t) &arg, (sysarg_t) perms);
SYS_PERM_GRANT 58 uspace/lib/c/generic/perm.c return (errno_t) __SYSCALL2(SYS_PERM_GRANT, (sysarg_t) id, (sysarg_t) perms);
HelenOS homepage, sources at GitHub