diff options
author | Andreas Schwab <schwab@suse.de> | 2017-09-06 17:29:29 +0200 |
---|---|---|
committer | Andreas Schwab <schwab@suse.de> | 2017-09-19 16:19:14 +0200 |
commit | 43ffc53a352a67672210c9dd4959f6c6b7407e60 (patch) | |
tree | fb92e7e211583667cd6ffcff331e167eccffb9e7 /ChangeLog | |
parent | a5dcc87e77cf711bca320e8506a4d4fef25bf4f4 (diff) | |
download | glibc-43ffc53a352a67672210c9dd4959f6c6b7407e60.tar.gz glibc-43ffc53a352a67672210c9dd4959f6c6b7407e60.tar.xz glibc-43ffc53a352a67672210c9dd4959f6c6b7407e60.zip |
Use execveat syscall in fexecve (bug 22134)
By using execveat we no longer depend on /proc. The execveat syscall was introduced in 3.19, except for a few late comers.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 048fd5e265..0efae2bb04 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,21 @@ +2017-09-19 Andreas Schwab <schwab@suse.de> + + [BZ #22134] + * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try + execveat first. + [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is + unimplemented. + * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT) + [__LINUX_KERNEL_VERSION >= 0x031300]: Define. + * sysdeps/unix/sysv/linux/alpha/kernel-features.h + (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef. + * sysdeps/unix/sysv/linux/hppa/kernel-features.h + (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef. + * sysdeps/unix/sysv/linux/microblaze/kernel-features.h + (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef. + * posix/Makefile (tests): Add tst-fexecve. + * posix/tst-fexecve.c: New file. + 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com> * benchtests/Makefile: Add logf benchmark. |