missing_syscall: add pkey_mprotect for ppc (#8292)

Accurate for both ppc and ppc64 according to https://fedora.juszkiewicz.com.pl/syscalls.html.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2018-02-27 13:33:00 +01:00 committed by Lennart Poettering
parent b8eded40be
commit 033c836647
1 changed files with 2 additions and 0 deletions

View File

@ -394,6 +394,8 @@ static inline int missing_bpf(int cmd, union bpf_attr *attr, size_t size) {
# define __NR_pkey_mprotect 394
# elif defined __aarch64__
# define __NR_pkey_mprotect 394
# elif defined __powerpc__
# define __NR_pkey_mprotect 386
# elif defined _MIPS_SIM
# if _MIPS_SIM == _MIPS_SIM_ABI32
# define __NR_pkey_mprotect 4363