cap 93 include/sys/prex.h int task_setcap(task_t task, cap_t cap); cap 94 include/sys/prex.h int task_chkcap(task_t task, cap_t cap); cap 338 sys/kern/task.c task_setcap(task_t task, cap_t cap) cap 353 sys/kern/task.c task->capability = cap; cap 362 sys/kern/task.c task_chkcap(task_t task, cap_t cap) cap 371 sys/kern/task.c if ((task->capability & cap) == 0) { cap 373 sys/kern/task.c curtask->name, task->name, cap)); cap 387 sys/kern/task.c task_capable(cap_t cap) cap 391 sys/kern/task.c if ((curtask->capability & cap) == 0) { cap 393 sys/kern/task.c curtask->name, cap)); cap 48 usr/server/exec/exec_cap.c cap_t cap = 0; cap 57 usr/server/exec/exec_cap.c cap = map->c_capset; cap 62 usr/server/exec/exec_cap.c if (cap != 0) { cap 63 usr/server/exec/exec_cap.c DPRINTF(("exec: set capability:%08x to %s\n", cap, path)); cap 64 usr/server/exec/exec_cap.c error = task_setcap(task, cap); cap 139 usr/server/fs/vfs/vfs_security.c capable(task_t task, cap_t cap) cap 142 usr/server/fs/vfs/vfs_security.c if (cap == ACC_OK) cap 145 usr/server/fs/vfs/vfs_security.c if (cap == ACC_NG) cap 148 usr/server/fs/vfs/vfs_security.c if (task_chkcap(task, cap) != 0) {