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:
parent
b8eded40be
commit
033c836647
|
@ -394,6 +394,8 @@ static inline int missing_bpf(int cmd, union bpf_attr *attr, size_t size) {
|
||||||
# define __NR_pkey_mprotect 394
|
# define __NR_pkey_mprotect 394
|
||||||
# elif defined __aarch64__
|
# elif defined __aarch64__
|
||||||
# define __NR_pkey_mprotect 394
|
# define __NR_pkey_mprotect 394
|
||||||
|
# elif defined __powerpc__
|
||||||
|
# define __NR_pkey_mprotect 386
|
||||||
# elif defined _MIPS_SIM
|
# elif defined _MIPS_SIM
|
||||||
# if _MIPS_SIM == _MIPS_SIM_ABI32
|
# if _MIPS_SIM == _MIPS_SIM_ABI32
|
||||||
# define __NR_pkey_mprotect 4363
|
# define __NR_pkey_mprotect 4363
|
||||||
|
|
Loading…
Reference in a new issue