*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: p_cansee | Section: 9 | Source: FreeBSD | File: p_cansee.9.gz
P_CANSEE(9) FreeBSD Kernel Developer's Manual P_CANSEE(9) NAME p_cansee - determine visibility of a process SYNOPSIS #include <sys/proc.h> int p_cansee(struct thread *td, struct proc *p); DESCRIPTION This function determines if a given process p is visible to the thread td, where the notion of "visibility" may be read as "awareness of existence". This function explicitly allows a thread to always see its own process, even with pending credentials changes (see ucred(9)). Otherwise, it simply defers to cr_cansee(9). RETURN VALUES The p_cansee() function returns 0 if the process denoted by p is visible by thread td, or ESRCH otherwise. ERRORS [ESRCH] Thread td is not part of process p and cannot see it as determined by cr_cansee(9). SEE ALSO cr_cansee(9), p_candebug(9), ucred(9) FreeBSD 14.1-RELEASE-p8 August 18, 2023 FreeBSD 14.1-RELEASE-p8

Navigation Options