bionic: s/lxc_raw_execveat()/execveat()/g

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
Christian Brauner 2020-05-18 20:02:37 +02:00
parent fe2227c9fa
commit b164903bcd
No known key found for this signature in database
GPG Key ID: 8EB056D53EECB12D

View File

@ -41,11 +41,9 @@ int fexecve(int fd, char *const argv[], char *const envp[])
return -1;
}
#ifdef __NR_execveat
lxc_raw_execveat(fd, "", argv, envp, AT_EMPTY_PATH);
execveat(fd, "", argv, envp, AT_EMPTY_PATH);
if (errno != ENOSYS)
return -1;
#endif
ret = snprintf(procfd, sizeof(procfd), "/proc/self/fd/%d", fd);
if (ret < 0 || (size_t)ret >= sizeof(procfd)) {