Home
last modified time | relevance | path

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

/f-stack/freebsd/kern/
H A Dsubr_syscall.c125 if (__predict_false(IN_CAPABILITY_MODE(td) && in syscallenter()
228 (p->p_flag2 & P2_TRAPCAP) != 0) && IN_CAPABILITY_MODE(td)) { in syscallret()
H A Dsys_capability.c107 if (IN_CAPABILITY_MODE(td)) in sys_cap_enter()
129 i = IN_CAPABILITY_MODE(td) ? 1 : 0; in sys_cap_getmode()
H A Duipc_syscalls.c196 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()
H A Dkern_procctl.c288 if (IN_CAPABILITY_MODE(td)) in reap_kill()
H A Dvfs_lookup.c318 if (IN_CAPABILITY_MODE(td) && (cnp->cn_flags & NOCAPCHECK) == 0) { in namei_setup()
H A Dkern_exec.c446 if (IN_CAPABILITY_MODE(td)) { in do_execve()
H A Duipc_shm.c1056 if (IN_CAPABILITY_MODE(td) && (userpath != SHM_ANON)) in kern_shm_open2()
H A Dkern_cpuset.c1723 if (IN_CAPABILITY_MODE(td)) { in cpuset_check_capabilities()
H A Dkern_sysctl.c2195 if (IN_CAPABILITY_MODE(req->td)) { in sysctl_root()
H A Dimgact_elf.c776 if (IN_CAPABILITY_MODE(curthread)) in __elfN()
H A Dkern_sig.c1804 if (IN_CAPABILITY_MODE(td) && pid != td->td_proc->p_pid) in kern_kill()
H A Dvfs_cache.c4032 if (IN_CAPABILITY_MODE(td)) { in cache_can_fplookup()
/f-stack/freebsd/arm/arm/
H A Dsys_machdep.c180 if (IN_CAPABILITY_MODE(td)) { in sysarch()
/f-stack/freebsd/sys/
H A Dcapsicum.h423 #define IN_CAPABILITY_MODE(td) (((td)->td_ucred->cr_flags & CRED_FLAG_CAPMODE) != 0) macro
/f-stack/freebsd/amd64/amd64/
H A Dsys_machdep.c192 if (IN_CAPABILITY_MODE(td)) { in sysarch()
/f-stack/freebsd/i386/i386/
H A Dsys_machdep.c155 if (IN_CAPABILITY_MODE(td)) { in sysarch()