Searched refs:IN_CAPABILITY_MODE (Results 1 – 19 of 19) sorted by relevance
124 if (IN_CAPABILITY_MODE(td)) { in syscallenter()228 (p->p_flag2 & P2_TRAPCAP) != 0) && IN_CAPABILITY_MODE(td)) { in syscallret()
106 if (IN_CAPABILITY_MODE(td)) in sys_cap_enter()128 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()
1336 if (IN_CAPABILITY_MODE(td) && p->p_procdesc != NULL) { in kern_wait6()
550 if (IN_CAPABILITY_MODE(td)) in reap_kill()
344 if (IN_CAPABILITY_MODE(td)) { in namei_setup()
474 if (IN_CAPABILITY_MODE(td)) { in do_execve()
1921 if (IN_CAPABILITY_MODE(td)) in kern_kill()2698 if (IN_CAPABILITY_MODE(td)) { in ptrace_syscallreq()
1223 if (IN_CAPABILITY_MODE(td)) { in kern_shm_open2()
2346 if (IN_CAPABILITY_MODE(req->td)) { in sysctl_root()
800 if (IN_CAPABILITY_MODE(curthread)) in __elfN()
945 if (IN_CAPABILITY_MODE(td)) in socreate()
880 if (IN_CAPABILITY_MODE(td)) { in kern_fcntl()
4516 if (IN_CAPABILITY_MODE(td) || CAP_TRACING(td)) { in cache_can_fplookup()
189 if (IN_CAPABILITY_MODE(td)) in sysarch()
430 #define IN_CAPABILITY_MODE(td) (((td)->td_ucred->cr_flags & CRED_FLAG_CAPMODE) != 0) macro
215 if (IN_CAPABILITY_MODE(td)) in sysarch()
170 if (IN_CAPABILITY_MODE(td)) in sysarch()