mirror of https://github.com/mkerrisk/man-pages
getpid.2: Note that getppid() returns 0 if parent is in different PID namespace
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
636355f9c2
commit
da83e8a237
|
@ -46,6 +46,11 @@ These functions are always successful.
|
|||
.SH CONFORMING TO
|
||||
POSIX.1-2001, 4.3BSD, SVr4.
|
||||
.SH NOTES
|
||||
If the caller's parent is in a different PID namespace (see
|
||||
.BR pid_namespaces (7)),
|
||||
.BR getppid ()
|
||||
returns 0.
|
||||
.\"
|
||||
.SS C library/kernel ABI differences
|
||||
Since glibc version 2.3.4,
|
||||
the glibc wrapper function for
|
||||
|
|
Loading…
Reference in New Issue