]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
sys_linux: allow waitpid in seccomp filter
authorVincent Blut <vincent.debian@free.fr>
Thu, 28 Feb 2019 15:43:56 +0000 (16:43 +0100)
committerMiroslav Lichvar <mlichvar@redhat.com>
Thu, 28 Feb 2019 16:42:02 +0000 (17:42 +0100)
sys_linux.c

index aee5a5e52d3f280ed6a9bb1af43c99a726f66070..ebbeaaeafd3edd5e73220bea3eff507e82b937fa 100644 (file)
@@ -493,7 +493,7 @@ SYS_Linux_EnableSystemCallFilter(int level)
     SCMP_SYS(clone), SCMP_SYS(exit), SCMP_SYS(exit_group), SCMP_SYS(getpid),
     SCMP_SYS(getrlimit), SCMP_SYS(rt_sigaction), SCMP_SYS(rt_sigreturn),
     SCMP_SYS(rt_sigprocmask), SCMP_SYS(set_tid_address), SCMP_SYS(sigreturn),
-    SCMP_SYS(wait4),
+    SCMP_SYS(wait4), SCMP_SYS(waitpid),
     /* Memory */
     SCMP_SYS(brk), SCMP_SYS(madvise), SCMP_SYS(mmap), SCMP_SYS(mmap2),
     SCMP_SYS(mprotect), SCMP_SYS(mremap), SCMP_SYS(munmap), SCMP_SYS(shmdt),