Home
last modified time | relevance | path

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

/freebsd/sys/kern/
H A Dp1003_1b.c191 error = p_cansee(td, targetp);
284 error = p_cansee(td, targetp);
367 error = p_cansee(td, p);
H A Dkern_resource.c112 if (p_cansee(td, p) == 0) in kern_getpriority()
134 p_cansee(td, p) == 0) { in kern_getpriority()
150 p_cansee(td, p) == 0 && in kern_getpriority()
202 error = p_cansee(td, p); in kern_setpriority()
226 p_cansee(td, p) == 0) { in kern_setpriority()
243 p_cansee(td, p) == 0) { in kern_setpriority()
324 if ((error = p_cansee(td, p))) in sys_rtprio_thread()
403 if ((error = p_cansee(td, p))) in sys_rtprio()
H A Dkern_prot.c197 error = p_cansee(td, p); in sys_getpgid()
236 error = p_cansee(td, p); in kern_getsid()
436 if ((error = p_cansee(td, targp))) { in sys_setpgid()
1946 p_cansee(struct thread *td, struct proc *p) in p_cansee() function
H A Dkern_procctl.c1250 p_cansee(td, p); in kern_procctl()
1276 p_cansee(td, p)) != 0) { in kern_procctl()
H A Dsys_process.c805 if ((error = p_cansee(td, p)) != 0) in proc_can_ptrace()
918 if ((error = p_cansee(td, p)) != 0) in kern_ptrace()
H A Dkern_ktrace.c1230 p_cansee(td, p) != 0) { in ktrops()
H A Dkern_proc.c533 error = p_cansee(curthread, p); in pget()
1652 if (p_cansee(curthread, p)) in sysctl_kern_proc_iterate()
H A Dtty.c1335 cansee = (p_cansee(td, p) == 0); in sysctl_kern_ttys()
H A Dkern_event.c433 if ((error = p_cansee(curthread, p))) { in filt_procattach()
H A Dkern_descrip.c4469 if (p_cansee(req->td, p) != 0) { in sysctl_kern_file()
/freebsd/sys/fs/procfs/
H A Dprocfs_status.c179 if (p->p_args && p_cansee(td, p) == 0) { in procfs_doproccmdline()
/freebsd/sys/security/audit/
H A Daudit_syscalls.c449 if ((error = p_cansee(td, tp)) != 0) { in sys_auditon()
481 if ((error = p_cansee(td, tp)) != 0) { in sys_auditon()
/freebsd/sys/security/mac/
H A Dmac_syscalls.c183 error = p_cansee(td, tproc); in sys___mac_get_pid()
/freebsd/sys/compat/linux/
H A Dlinux_misc.c2802 if ((error = p_cansee(td, p))) { in linux_ioprio_get()
2833 p_cansee(td, p) == 0) { in linux_ioprio_get()
2851 p_cansee(td, p) == 0) { in linux_ioprio_get()
/freebsd/sys/fs/pseudofs/
H A Dpseudofs_vnops.c99 if (p_cansee(td, proc) != 0) in pfs_visible_proc()
/freebsd/sys/sys/
H A Dproc.h1175 int p_cansee(struct thread *td, struct proc *p);
/freebsd/sys/compat/linprocfs/
H A Dlinprocfs.c1244 if ((ret = p_cansee(td, p)) != 0) { in linprocfs_doproccmdline()
/freebsd/share/man/man9/
H A DMakefile254 p_cansee.9 \