]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
seccomp-util: add new syscalls from kernel 5.6 to syscall filter table
authorLennart Poettering <lennart@poettering.net>
Sun, 10 May 2020 07:19:29 +0000 (09:19 +0200)
committerTopi Miettinen <topimiettinen@users.noreply.github.com>
Mon, 11 May 2020 06:24:02 +0000 (06:24 +0000)
src/shared/seccomp-util.c

index eeca17f3412c5ea267726487ec7bd870ee55c566..47a321ccd65288e247ee86069c13bdfed46bfa9e 100644 (file)
@@ -384,6 +384,7 @@ const SyscallFilterSet syscall_filter_sets[_SYSCALL_FILTER_SET_MAX] = {
                 .value =
                 "lookup_dcookie\0"
                 "perf_event_open\0"
+                "pidfd_getfd\0"
                 "ptrace\0"
                 "rtas\0"
 #ifdef __NR_s390_runtime_instr
@@ -449,6 +450,7 @@ const SyscallFilterSet syscall_filter_sets[_SYSCALL_FILTER_SET_MAX] = {
                 "oldstat\0"
                 "open\0"
                 "openat\0"
+                "openat2\0"
                 "readlink\0"
                 "readlinkat\0"
                 "removexattr\0"