HelenOS sources

perm_set          157 kernel/generic/include/proc/task.h extern void perm_set(task_t *, perm_t);
perm_set          283 kernel/generic/src/main/kinit.c 			perm_set(programs[i].task,
perm_set          247 kernel/generic/src/proc/program.c 	perm_set(prg.task, perm_get(TASK));
HelenOS homepage, sources at GitHub