]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
seccomp: there is no "kexec" syscall
authorLennart Poettering <lennart@poettering.net>
Wed, 4 Oct 2017 19:09:52 +0000 (21:09 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 5 Oct 2017 13:42:48 +0000 (15:42 +0200)
it's called "kexec_load".

src/shared/seccomp-util.c

index 454c0f872a008691844d555406dc9be318573c41..f053b6353e86d39127f2dc75f896d7238f71418b 100644 (file)
@@ -699,8 +699,8 @@ const SyscallFilterSet syscall_filter_sets[_SYSCALL_FILTER_SET_MAX] = {
                 .name = "@reboot",
                 .help = "Reboot and reboot preparation/kexec",
                 .value =
-                "kexec\0"
                 "kexec_file_load\0"
+                "kexec_load\0"
                 "reboot\0"
         },
         [SYSCALL_FILTER_SET_RESOURCES] = {