mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-07-24 13:43:31 +00:00
bionic: s/lxc_raw_execveat()/execveat()/g
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
parent
fe2227c9fa
commit
b164903bcd
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user