Searched refs:IN_CAPABILITY_MODE (Results 1 – 18 of 18) sorted by relevance
124 if (IN_CAPABILITY_MODE(td)) { in syscallenter()226 (p->p_flag2 & P2_TRAPCAP) != 0) && IN_CAPABILITY_MODE(td)) { in syscallret()
105 if (IN_CAPABILITY_MODE(td)) in sys_cap_enter()127 i = IN_CAPABILITY_MODE(td) ? 1 : 0; in sys_cap_getmode()
205 if (IN_CAPABILITY_MODE(td)) in kern_bindat()478 if (IN_CAPABILITY_MODE(td)) in kern_connectat()667 if (IN_CAPABILITY_MODE(td)) { in sendit()
1791 if (IN_CAPABILITY_MODE(td) || CAP_TRACING(td)) { in cpuset_check_capabilities()1796 if (IN_CAPABILITY_MODE(td)) in cpuset_check_capabilities()
550 if (IN_CAPABILITY_MODE(td)) in reap_kill()
344 if (IN_CAPABILITY_MODE(td)) { in namei_setup()
465 if (IN_CAPABILITY_MODE(td)) { in do_execve()
1911 if (IN_CAPABILITY_MODE(td)) in kern_kill()2701 if (IN_CAPABILITY_MODE(td)) { in ptrace_syscallreq()
1211 if (IN_CAPABILITY_MODE(td)) { in kern_shm_open2()
2348 if (IN_CAPABILITY_MODE(req->td)) { in sysctl_root()
800 if (IN_CAPABILITY_MODE(curthread)) in __elfN()
537 if (IN_CAPABILITY_MODE(td)) in socreate()
880 if (IN_CAPABILITY_MODE(td)) { in kern_fcntl()
4486 if (IN_CAPABILITY_MODE(td) || CAP_TRACING(td)) { in cache_can_fplookup()
189 if (IN_CAPABILITY_MODE(td)) in sysarch()
429 #define IN_CAPABILITY_MODE(td) (((td)->td_ucred->cr_flags & CRED_FLAG_CAPMODE) != 0) macro
170 if (IN_CAPABILITY_MODE(td)) in sysarch()
214 if (IN_CAPABILITY_MODE(td)) in sysarch()