]> git.ipfire.org Git - thirdparty/systemd.git/commit
shared/seccomp: skip pkey_mprotect protections if the syscall is unknown 7310/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 13 Nov 2017 08:35:49 +0000 (09:35 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 13 Nov 2017 08:35:49 +0000 (09:35 +0100)
commit91691f1d3e3c66122fd0fc564ea3f20f566c2698
treed23b5c68132e103c980190a2431677ef15ea8819
parent213f2883c006d785e033597d2f46a110d85eb54b
shared/seccomp: skip pkey_mprotect protections if the syscall is unknown

When compiling with an old kernel on architectures for which the
number is not defined in missing.h, a warning is generated in missing.h.
Let's just skip the protection in this case, to allow build to proceed.
src/shared/seccomp-util.c