mirror of https://github.com/mkerrisk/man-pages
execveat.2: Note that employing the close-on-exec flag is usually desirable
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
18650061b6
commit
f946944d1f
|
@ -198,6 +198,14 @@ in this case,
|
|||
.IR P
|
||||
is the value given in
|
||||
.IR pathname .
|
||||
|
||||
For the same reasons described in
|
||||
.BR fexecve (3),
|
||||
the natural idiom when using
|
||||
.BR execveat (2)
|
||||
is to set the close-on-exec flag on
|
||||
.IR dirfd .
|
||||
(But see BUGS.)
|
||||
.SH BUGS
|
||||
The
|
||||
.B ENOENT
|
||||
|
|
Loading…
Reference in New Issue