aboutsummaryrefslogtreecommitdiff
path: root/tools/virtiofsd/passthrough_seccomp.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/virtiofsd/passthrough_seccomp.c')
-rw-r--r--tools/virtiofsd/passthrough_seccomp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/virtiofsd/passthrough_seccomp.c b/tools/virtiofsd/passthrough_seccomp.c
index 19fee60011..eb9af8265f 100644
--- a/tools/virtiofsd/passthrough_seccomp.c
+++ b/tools/virtiofsd/passthrough_seccomp.c
@@ -93,6 +93,8 @@ static const int syscall_whitelist[] = {
SCMP_SYS(rt_sigaction),
SCMP_SYS(rt_sigprocmask),
SCMP_SYS(rt_sigreturn),
+ SCMP_SYS(sched_getattr),
+ SCMP_SYS(sched_setattr),
SCMP_SYS(sendmsg),
SCMP_SYS(setresgid),
SCMP_SYS(setresuid),