Searched refs:PRISON_CHECK (Results 1 – 9 of 9) sorted by relevance
/dragonfly/sys/kern/ |
H A D | kern_resource.c | 104 if (PRISON_CHECK(curtd->td_ucred, p->p_ucred)) in sys_getpriority() 123 if (PRISON_CHECK(curtd->td_ucred, p->p_ucred) && in sys_getpriority() 165 if (PRISON_CHECK(curthread->td_ucred, p->p_ucred) && in getpriority_callback() 208 if (PRISON_CHECK(curtd->td_ucred, p->p_ucred)) { in sys_setpriority() 233 PRISON_CHECK(curtd->td_ucred, p->p_ucred)) { in sys_setpriority() 278 PRISON_CHECK(curthread->td_ucred, p->p_ucred)) { in setpriority_callback() 347 if (PRISON_CHECK(curtd->td_ucred, p->p_ucred)) in sys_ioprio_get() 366 if (PRISON_CHECK(curtd->td_ucred, p->p_ucred) && in sys_ioprio_get() 406 if (PRISON_CHECK(curthread->td_ucred, p->p_ucred) && in ioprio_get_callback() 450 if (PRISON_CHECK(curtd->td_ucred, p->p_ucred)) { in sys_ioprio_set() [all …]
|
H A D | sys_process.c | 310 if (!PRISON_CHECK(curp->p_ucred, p->p_ucred)) { in kern_ptrace()
|
H A D | kern_ktrace.c | 673 if (!PRISON_CHECK(caller, target)) in ktrcanset()
|
H A D | kern_proc.c | 1690 if (PRISON_CHECK(cr1, crcache)) in sysctl_kern_proc() 1768 if (!PRISON_CHECK(cr1, crcache)) in sysctl_kern_proc()
|
H A D | kern_prot.c | 1031 if (!PRISON_CHECK(cr1, cr2)) in p_trespass()
|
H A D | kern_event.c | 306 if (!PRISON_CHECK(curthread->td_ucred, p->p_ucred)) { in filt_procattach()
|
H A D | kern_descrip.c | 3386 if (!(PRISON_CHECK(info->req->td->td_ucred, p->p_ucred) != 0)) in sysctl_kern_file_callback()
|
/dragonfly/sys/vfs/procfs/ |
H A D | procfs_vnops.c | 177 if (pfs->pfs_pid && !PRISON_CHECK(ap->a_cred, p2->p_ucred)) { in procfs_open() 804 if (!PRISON_CHECK(ap->a_cnp->cn_cred, p->p_ucred)) in procfs_lookup() 828 if (!PRISON_CHECK(ap->a_cnp->cn_cred, p->p_ucred)) in procfs_lookup() 943 if (!PRISON_CHECK(ap->a_cred, p->p_ucred)) { in procfs_readdir_proc() 1065 if (!PRISON_CHECK(info->cred, p->p_ucred)) in procfs_readdir_root_callback()
|
/dragonfly/sys/sys/ |
H A D | proc.h | 462 #define PRISON_CHECK(cr1, cr2) \ macro
|