Use execveat syscall in fexecve (bug 22134)
commit43ffc53a352a67672210c9dd4959f6c6b7407e60
authorAndreas Schwab <schwab@suse.de>
Wed, 6 Sep 2017 15:29:29 +0000 (6 17:29 +0200)
committerAndreas Schwab <schwab@suse.de>
Tue, 19 Sep 2017 14:19:14 +0000 (19 16:19 +0200)
treefb92e7e211583667cd6ffcff331e167eccffb9e7
parenta5dcc87e77cf711bca320e8506a4d4fef25bf4f4
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.
ChangeLog
posix/Makefile
posix/tst-fexecve.c [new file with mode: 0644]
sysdeps/unix/sysv/linux/alpha/kernel-features.h
sysdeps/unix/sysv/linux/fexecve.c
sysdeps/unix/sysv/linux/hppa/kernel-features.h
sysdeps/unix/sysv/linux/kernel-features.h
sysdeps/unix/sysv/linux/microblaze/kernel-features.h