diff options
author | Alexandra Hájková <alexandra.khirnova@gmail.com> | 2021-05-03 16:35:10 +0000 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-05-03 16:46:06 -0300 |
commit | 19d83270fcd993cc349570164e21b06d57036704 (patch) | |
tree | 3b792ec90a694a69046fe4858d5f408fcb9e41ff /posix/Makefile | |
parent | 1427d28e3008e2d2d467883a14a24df6a40b82b1 (diff) | |
download | glibc-19d83270fcd993cc349570164e21b06d57036704.zip glibc-19d83270fcd993cc349570164e21b06d57036704.tar.gz glibc-19d83270fcd993cc349570164e21b06d57036704.tar.bz2 |
linux: Add execveat system call wrapper
It operates similar to execve and it is is already used to implement
fexecve without requiring /proc to be mounted. However, different
than fexecve, if the syscall is not supported by the kernel an error
is returned instead of trying a fallback.
Checked on x86_64-linux-gnu and powerpc64le-linux-gnu.
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'posix/Makefile')
-rw-r--r-- | posix/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/posix/Makefile b/posix/Makefile index 6449455..fa0dc0e 100644 --- a/posix/Makefile +++ b/posix/Makefile @@ -66,7 +66,8 @@ routines := \ posix_madvise \ get_child_max sched_cpucount sched_cpualloc sched_cpufree \ streams-compat \ - shm-directory + shm-directory \ + execveat aux := init-posix environ tests := test-errno tstgetopt testfnm runtests runptests \ @@ -103,7 +104,7 @@ tests := test-errno tstgetopt testfnm runtests runptests \ tst-sysconf-empty-chroot tst-glob_symlinks tst-fexecve \ tst-glob-tilde test-ssize-max tst-spawn4 bug-regex37 \ bug-regex38 tst-regcomp-truncated tst-spawn-chdir \ - tst-wordexp-nocmd + tst-wordexp-nocmd tst-execveat # Test for the glob symbol version that was replaced in glibc 2.27. ifeq ($(have-GLIBC_2.26)$(build-shared),yesyes) |