aboutsummaryrefslogtreecommitdiff
path: root/posix/unistd.h
diff options
context:
space:
mode:
authorAlexandra Hájková <ahajkova@redhat.com>2020-04-27 10:52:38 -0400
committerAlexandra Hájková <ahajkova@redhat.com>2020-09-07 17:36:23 +0200
commit3a5af0abeb3cc7dc81846e82fe4de84afa5c4551 (patch)
treed1d0bfeee6c5937d85915d5bed0d2ea766557410 /posix/unistd.h
parent721a853415e358ba887c9fc693899cb648ca79f3 (diff)
downloadglibc-sasha/execveat.zip
glibc-sasha/execveat.tar.gz
glibc-sasha/execveat.tar.bz2
Linux: Add execveat system call wrappersasha/execveat
Diffstat (limited to 'posix/unistd.h')
-rw-r--r--posix/unistd.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/posix/unistd.h b/posix/unistd.h
index 32b8161..b1117f2 100644
--- a/posix/unistd.h
+++ b/posix/unistd.h
@@ -295,6 +295,11 @@ extern int euidaccess (const char *__name, int __type)
/* An alias for `euidaccess', used by some other systems. */
extern int eaccess (const char *__name, int __type)
__THROW __nonnull ((1));
+
+/* Execute program relative to a directory file descriptor. */
+extern int execveat (int __fd, const char *__path, char *const __argv[],
+ char *const __envp[], int __flags)
+ __THROW __nonnull ((2, 3));
#endif
#ifdef __USE_ATFILE