aboutsummaryrefslogtreecommitdiff
path: root/src/pseccomp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pseccomp.c')
-rw-r--r--src/pseccomp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pseccomp.c b/src/pseccomp.c
index 376bbc6..23198bd 100644
--- a/src/pseccomp.c
+++ b/src/pseccomp.c
@@ -39,7 +39,7 @@ static const int default_allowed_syscalls[] = {
SCMP_SYS(lseek), SCMP_SYS(stat), SCMP_SYS(readlink), SCMP_SYS(getcwd),
SCMP_SYS(lstat), SCMP_SYS(sysinfo),
SCMP_SYS(setuid), SCMP_SYS(setgid),
- SCMP_SYS(setreuid), SCMP_SYS(setregid),
+ SCMP_SYS(setresuid), SCMP_SYS(setresgid),
SCMP_SYS(getuid), SCMP_SYS(geteuid), SCMP_SYS(getgid), SCMP_SYS(getegid),
SCMP_SYS(getgroups), SCMP_SYS(getdents),
SCMP_SYS(getpgrp), SCMP_SYS(setpgid), SCMP_SYS(getpid), SCMP_SYS(kill),
@@ -72,7 +72,7 @@ static const int jail_allowed_syscalls[] = {
SCMP_SYS(lseek), SCMP_SYS(stat), SCMP_SYS(readlink), SCMP_SYS(getcwd),
SCMP_SYS(lstat), SCMP_SYS(sysinfo),
SCMP_SYS(setuid), SCMP_SYS(setgid),
- SCMP_SYS(setreuid), SCMP_SYS(setregid),
+ SCMP_SYS(setresuid), SCMP_SYS(setresgid),
SCMP_SYS(getuid), SCMP_SYS(geteuid), SCMP_SYS(getgid), SCMP_SYS(getegid),
SCMP_SYS(getgroups), SCMP_SYS(getdents),
SCMP_SYS(getpgrp), SCMP_SYS(setpgid), SCMP_SYS(getpid), SCMP_SYS(kill),