Home
last modified time | relevance | path

Searched refs:IN_CAPABILITY_MODE (Results 1 – 18 of 18) sorted by relevance

/freebsd/sys/kern/
H A Dsubr_syscall.c124 if (IN_CAPABILITY_MODE(td)) { in syscallenter()
226 (p->p_flag2 & P2_TRAPCAP) != 0) && IN_CAPABILITY_MODE(td)) { in syscallret()
H A Dsys_capability.c105 if (IN_CAPABILITY_MODE(td)) in sys_cap_enter()
127 i = IN_CAPABILITY_MODE(td) ? 1 : 0; in sys_cap_getmode()
H A Duipc_syscalls.c205 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()
H A Dkern_cpuset.c1791 if (IN_CAPABILITY_MODE(td) || CAP_TRACING(td)) { in cpuset_check_capabilities()
1796 if (IN_CAPABILITY_MODE(td)) in cpuset_check_capabilities()
H A Dkern_procctl.c550 if (IN_CAPABILITY_MODE(td)) in reap_kill()
H A Dvfs_lookup.c344 if (IN_CAPABILITY_MODE(td)) { in namei_setup()
H A Dkern_exec.c465 if (IN_CAPABILITY_MODE(td)) { in do_execve()
H A Dkern_sig.c1911 if (IN_CAPABILITY_MODE(td)) in kern_kill()
2701 if (IN_CAPABILITY_MODE(td)) { in ptrace_syscallreq()
H A Duipc_shm.c1211 if (IN_CAPABILITY_MODE(td)) { in kern_shm_open2()
H A Dkern_sysctl.c2348 if (IN_CAPABILITY_MODE(req->td)) { in sysctl_root()
H A Dimgact_elf.c800 if (IN_CAPABILITY_MODE(curthread)) in __elfN()
H A Duipc_socket.c537 if (IN_CAPABILITY_MODE(td)) in socreate()
H A Dkern_descrip.c880 if (IN_CAPABILITY_MODE(td)) { in kern_fcntl()
H A Dvfs_cache.c4486 if (IN_CAPABILITY_MODE(td) || CAP_TRACING(td)) { in cache_can_fplookup()
/freebsd/sys/arm/arm/
H A Dsys_machdep.c189 if (IN_CAPABILITY_MODE(td)) in sysarch()
/freebsd/sys/sys/
H A Dcapsicum.h429 #define IN_CAPABILITY_MODE(td) (((td)->td_ucred->cr_flags & CRED_FLAG_CAPMODE) != 0) macro
/freebsd/sys/i386/i386/
H A Dsys_machdep.c170 if (IN_CAPABILITY_MODE(td)) in sysarch()
/freebsd/sys/amd64/amd64/
H A Dsys_machdep.c214 if (IN_CAPABILITY_MODE(td)) in sysarch()