mirror of https://github.com/mkerrisk/man-pages
execveat.2: Normalize notes about missing wrappers
It's been a long time sine kernel 3.19. There's still no glibc wrapper. ...... $ grep -rn 'execveat *(' glibc/ $ Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
d75c2ffe21
commit
d51b60ac01
|
@ -30,10 +30,13 @@ execveat \- execute program relative to a directory file descriptor
|
|||
.nf
|
||||
.B #include <unistd.h>
|
||||
.PP
|
||||
.BI "int execveat(int " dirfd ", const char *" pathname ","
|
||||
.BI " char *const " argv "[], char *const " envp "[],"
|
||||
.BI "int execveat(int " dirfd ", const char *" pathname ,
|
||||
.BI " char *const " argv "[], char *const " envp [],
|
||||
.BI " int " flags );
|
||||
.fi
|
||||
.PP
|
||||
.IR Note :
|
||||
There is no glibc wrapper for this system call; see NOTES.
|
||||
.SH DESCRIPTION
|
||||
.\" commit 51f39a1f0cea1cacf8c787f652f26dfee9611874
|
||||
The
|
||||
|
@ -160,8 +163,6 @@ is a file descriptor referring to a file other than a directory.
|
|||
.SH VERSIONS
|
||||
.BR execveat ()
|
||||
was added to Linux in kernel 3.19.
|
||||
GNU C library support is pending.
|
||||
.\" FIXME . check for glibc support in a future release
|
||||
.SH CONFORMING TO
|
||||
The
|
||||
.BR execveat ()
|
||||
|
@ -207,6 +208,9 @@ the natural idiom when using
|
|||
is to set the close-on-exec flag on
|
||||
.IR dirfd .
|
||||
(But see BUGS.)
|
||||
.PP
|
||||
Glibc does not provide a wrapper for this system call; call it using
|
||||
.BR syscall (2).
|
||||
.SH BUGS
|
||||
The
|
||||
.B ENOENT
|
||||
|
|
Loading…
Reference in New Issue