Searched refs:IN_CAPABILITY_MODE (Results 1 – 16 of 16) sorted by relevance
125 if (__predict_false(IN_CAPABILITY_MODE(td) && in syscallenter()228 (p->p_flag2 & P2_TRAPCAP) != 0) && IN_CAPABILITY_MODE(td)) { in syscallret()
107 if (IN_CAPABILITY_MODE(td)) in sys_cap_enter()129 i = IN_CAPABILITY_MODE(td) ? 1 : 0; in sys_cap_getmode()
196 if (IN_CAPABILITY_MODE(td) && (dirfd == AT_FDCWD)) in kern_bindat()493 if (IN_CAPABILITY_MODE(td) && (dirfd == AT_FDCWD)) in kern_connectat()684 if (IN_CAPABILITY_MODE(td) && (mp->msg_name != NULL)) in sendit()
288 if (IN_CAPABILITY_MODE(td)) in reap_kill()
318 if (IN_CAPABILITY_MODE(td) && (cnp->cn_flags & NOCAPCHECK) == 0) { in namei_setup()
446 if (IN_CAPABILITY_MODE(td)) { in do_execve()
1056 if (IN_CAPABILITY_MODE(td) && (userpath != SHM_ANON)) in kern_shm_open2()
1723 if (IN_CAPABILITY_MODE(td)) { in cpuset_check_capabilities()
2195 if (IN_CAPABILITY_MODE(req->td)) { in sysctl_root()
776 if (IN_CAPABILITY_MODE(curthread)) in __elfN()
1804 if (IN_CAPABILITY_MODE(td) && pid != td->td_proc->p_pid) in kern_kill()
4032 if (IN_CAPABILITY_MODE(td)) { in cache_can_fplookup()
180 if (IN_CAPABILITY_MODE(td)) { in sysarch()
423 #define IN_CAPABILITY_MODE(td) (((td)->td_ucred->cr_flags & CRED_FLAG_CAPMODE) != 0) macro
192 if (IN_CAPABILITY_MODE(td)) { in sysarch()
155 if (IN_CAPABILITY_MODE(td)) { in sysarch()