From: Yu Watanabe Date: Wed, 15 Jun 2022 18:18:44 +0000 (+0900) Subject: seccomp-util: make @known include @obsolete X-Git-Tag: v252-rc1~799^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6d6a08547c03f96dc798cda1ef4a8d3013d292d5;p=thirdparty%2Fsystemd.git seccomp-util: make @known include @obsolete @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. --- diff --git a/src/shared/seccomp-util.c b/src/shared/seccomp-util.c index b76189d6b37..0996ca66254 100644 --- a/src/shared/seccomp-util.c +++ b/src/shared/seccomp-util.c @@ -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" }, };