fexecve.3: fexecve() is now implemented with execveat(2), where available

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Cristian Rodríguez 2017-09-20 13:48:25 +00:00 committed by Michael Kerrisk
parent 997d21e192
commit b71753c1fc
1 changed files with 3 additions and 6 deletions

View File

@ -114,15 +114,12 @@ It is specified in POSIX.1-2008.
.SH NOTES
On Linux,
.BR fexecve ()
is implemented using the
was implemented using the
.BR proc (5)
filesystem, so
.I /proc
needs to be mounted and available at the time of the call.
.\" FIXME .
.\" With the addition of the execveat(2), fexecve() can be implemented
.\" even where /proc is unavailable. Review future glibc releases to
.\" see if the implementation is changed to use execveat(2).
needed to be mounted and available at the time of the call.
Since glibc 2.27, it is implemented using execveat(2) instead.
.PP
The idea behind
.BR fexecve ()