mirror of https://github.com/mkerrisk/man-pages
Noted effect of fork() and execve().
This commit is contained in:
parent
75fcdb0894
commit
ef828a01d8
|
@ -108,9 +108,17 @@ SVr4 documents additional EINTR, ENOLINK and EMULTIHOP error conditions.
|
||||||
X/OPEN does not document EIO, ENOMEM or EFAULT error conditions.
|
X/OPEN does not document EIO, ENOMEM or EFAULT error conditions.
|
||||||
This interface is marked as legacy by X/OPEN.
|
This interface is marked as legacy by X/OPEN.
|
||||||
.SH NOTES
|
.SH NOTES
|
||||||
|
A child process created via
|
||||||
|
.BR fork (2)
|
||||||
|
inherits its parent's root directory.
|
||||||
|
The root directory is left unchanged by
|
||||||
|
.BR execve (2).
|
||||||
|
|
||||||
FreeBSD has a stronger
|
FreeBSD has a stronger
|
||||||
.BR jail ()
|
.BR jail ()
|
||||||
system call.
|
system call.
|
||||||
|
.\" FIXME -- eventually say something about containers,
|
||||||
|
.\" virtual servers, etc.?
|
||||||
.SH "SEE ALSO"
|
.SH "SEE ALSO"
|
||||||
.BR chdir (2),
|
.BR chdir (2),
|
||||||
.BR path_resolution (2)
|
.BR path_resolution (2)
|
||||||
|
|
|
@ -86,6 +86,12 @@ resulting file will be:
|
||||||
.SH "RETURN VALUE"
|
.SH "RETURN VALUE"
|
||||||
This system call always succeeds and the previous value of the mask
|
This system call always succeeds and the previous value of the mask
|
||||||
is returned.
|
is returned.
|
||||||
|
.SH NOTES
|
||||||
|
A child process created via
|
||||||
|
.BR fork (2)
|
||||||
|
inherits its parent's umask.
|
||||||
|
The umask is left unchanged by
|
||||||
|
.BR execve (2).
|
||||||
.SH "CONFORMING TO"
|
.SH "CONFORMING TO"
|
||||||
SVr4, SVID, POSIX, X/OPEN, 4.3BSD
|
SVr4, SVID, POSIX, X/OPEN, 4.3BSD
|
||||||
.SH "SEE ALSO"
|
.SH "SEE ALSO"
|
||||||
|
|
Loading…
Reference in New Issue