From 19d83270fcd993cc349570164e21b06d57036704 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexandra=20H=C3=A1jkov=C3=A1?= Date: Mon, 3 May 2021 16:35:10 +0000 Subject: 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 --- posix/Versions | 3 +++ 1 file changed, 3 insertions(+) (limited to 'posix/Versions') diff --git a/posix/Versions b/posix/Versions index cfd3819966..b77e251e00 100644 --- a/posix/Versions +++ b/posix/Versions @@ -147,6 +147,9 @@ libc { } GLIBC_2.30 { } + GLIBC_2.34 { + execveat; + } GLIBC_PRIVATE { __libc_fork; __libc_pread; __libc_pwrite; __nanosleep_nocancel; __pause_nocancel; -- cgit v1.2.3