]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
seccomp-util: make @known include @obsolete
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 15 Jun 2022 18:18:44 +0000 (03:18 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 17 Jun 2022 03:40:43 +0000 (12:40 +0900)
@known is generated from syscall-list.txt, which generated from kernel
headers. So, some syscalls in @obsolete may not be listed in
syscall-list.txt.

src/shared/seccomp-util.c

index b76189d6b37b931f91e014331d4dbfc3ecb22388..0996ca66254a83b14324b9bde3de0ad477d2be17 100644 (file)
@@ -928,6 +928,7 @@ const SyscallFilterSet syscall_filter_sets[_SYSCALL_FILTER_SET_MAX] = {
                 .name = "@known",
                 .help = "All known syscalls declared in the kernel",
                 .value =
+                "@obsolete\0"
 #include "syscall-list.h"
         },
 };