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.
|
||||
This interface is marked as legacy by X/OPEN.
|
||||
.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
|
||||
.BR jail ()
|
||||
system call.
|
||||
.\" FIXME -- eventually say something about containers,
|
||||
.\" virtual servers, etc.?
|
||||
.SH "SEE ALSO"
|
||||
.BR chdir (2),
|
||||
.BR path_resolution (2)
|
||||
|
|
|
@ -86,6 +86,12 @@ resulting file will be:
|
|||
.SH "RETURN VALUE"
|
||||
This system call always succeeds and the previous value of the mask
|
||||
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"
|
||||
SVr4, SVID, POSIX, X/OPEN, 4.3BSD
|
||||
.SH "SEE ALSO"
|
||||
|
|
Loading…
Reference in New Issue