]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
sys_linux: allow openat in seccomp filter
authorMiroslav Lichvar <mlichvar@redhat.com>
Mon, 5 Dec 2016 09:14:15 +0000 (10:14 +0100)
committerMiroslav Lichvar <mlichvar@redhat.com>
Tue, 6 Dec 2016 15:56:38 +0000 (16:56 +0100)
sys_linux.c

index 31b422706dcae29cbedd63fd50da1d6f8ac311ab..713302724bc4ff0e30952f7e369c323e1d531610 100644 (file)
@@ -483,7 +483,7 @@ SYS_Linux_EnableSystemCallFilter(int level)
     /* TODO: check socketcall arguments */
     SCMP_SYS(socketcall),
     /* General I/O */
-    SCMP_SYS(_newselect), SCMP_SYS(close), SCMP_SYS(open), SCMP_SYS(pipe),
+    SCMP_SYS(_newselect), SCMP_SYS(close), SCMP_SYS(open), SCMP_SYS(openat), SCMP_SYS(pipe),
     SCMP_SYS(poll), SCMP_SYS(read), SCMP_SYS(futex), SCMP_SYS(select),
     SCMP_SYS(set_robust_list), SCMP_SYS(write),
     /* Miscellaneous */