summaryrefslogtreecommitdiffstats
path: root/src/shared/seccomp-util.c
diff options
context:
space:
mode:
authorDjalal Harouni <tixxdz@gmail.com>2017-10-04 11:41:42 +0200
committerDjalal Harouni <tixxdz@gmail.com>2017-10-04 11:41:42 +0200
commit8f44de08e9532d86c79be23d175ea69bd38da835 (patch)
tree86552a496cf75054ca6518d862983e0bddf6e1a9 /src/shared/seccomp-util.c
parentman: empty string resets the list of NTP servers (#6984) (diff)
downloadsystemd-8f44de08e9532d86c79be23d175ea69bd38da835.tar.xz
systemd-8f44de08e9532d86c79be23d175ea69bd38da835.zip
seccomp: add sched_yield syscall to the @default syscall set
Diffstat (limited to '')
-rw-r--r--src/shared/seccomp-util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/seccomp-util.c b/src/shared/seccomp-util.c
index a7720c53dc..41e0070b12 100644
--- a/src/shared/seccomp-util.c
+++ b/src/shared/seccomp-util.c
@@ -308,6 +308,7 @@ const SyscallFilterSet syscall_filter_sets[_SYSCALL_FILTER_SET_MAX] = {
"pause\0"
"restart_syscall\0"
"rt_sigreturn\0"
+ "sched_yield\0"
"set_robust_list\0"
"set_thread_area\0"
"set_tid_address\0"