Searched refs:cap_rights_set_one (Results 1 – 6 of 6) sorted by relevance
/freebsd/sys/netinet/ |
H A D | sctp_syscalls.c | 236 cap_rights_set_one(&rights, CAP_CONNECT); in sys_sctp_generic_sendmsg() 336 cap_rights_set_one(&rights, CAP_CONNECT); in sys_sctp_generic_sendmsg_iov()
|
/freebsd/sys/sys/ |
H A D | capsicum.h | 367 #define cap_rights_set_one(r, right) ({ \ macro
|
/freebsd/sys/vm/ |
H A D | vm_mmap.c | 353 cap_rights_set_one(&rights, CAP_MMAP_R); in kern_mmap() 356 cap_rights_set_one(&rights, CAP_MMAP_W); in kern_mmap() 359 cap_rights_set_one(&rights, CAP_MMAP_X); in kern_mmap()
|
/freebsd/sys/kern/ |
H A D | vfs_syscalls.c | 1085 cap_rights_set_one(rightsp, CAP_FEXECVE); in flags_to_rights() 1091 cap_rights_set_one(rightsp, CAP_READ); in flags_to_rights() 1094 cap_rights_set_one(rightsp, CAP_READ); in flags_to_rights() 1097 cap_rights_set_one(rightsp, CAP_WRITE); in flags_to_rights() 1099 cap_rights_set_one(rightsp, CAP_SEEK); in flags_to_rights() 1105 cap_rights_set_one(rightsp, CAP_CREATE); in flags_to_rights() 1108 cap_rights_set_one(rightsp, CAP_FTRUNCATE); in flags_to_rights() 1111 cap_rights_set_one(rightsp, CAP_FSYNC); in flags_to_rights() 1114 cap_rights_set_one(rightsp, CAP_FLOCK); in flags_to_rights()
|
H A D | kern_event.c | 1315 cap_rights_set_one(&rights, CAP_KQUEUE_CHANGE); in kern_kevent() 1317 cap_rights_set_one(&rights, CAP_KQUEUE_EVENT); in kern_kevent()
|
H A D | kern_descrip.c | 3056 cap_rights_set_one(&rights, CAP_LOOKUP); in fgetvp_lookup_smr() 3157 cap_rights_set_one(&rights, CAP_LOOKUP); in fgetvp_lookup()
|