aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx.manpages@gmail.com>2021-01-16 15:58:59 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2021-01-17 21:55:12 +0100
commitd51b60ac01d6d5ba32e0e1050e580e2114e539ce (patch)
tree454cc088ffb9b74414c6751f3480b5ea0284587d
parentd75c2ffe21e542ab5d29f5f0fe86d27a8b9b5921 (diff)
downloadman-pages-d51b60ac01d6d5ba32e0e1050e580e2114e539ce.tar.gz
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>
-rw-r--r--man2/execveat.212
1 files changed, 8 insertions, 4 deletions
diff --git a/man2/execveat.2 b/man2/execveat.2
index ef3606d8b0..02d9c73318 100644
--- a/man2/execveat.2
+++ b/man2/execveat.2
@@ -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