]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/basic/missing_syscall.h
src/basic/missing_syscall: add s390 syscall number for __NR_pkey_mprotect
[thirdparty/systemd.git] / src / basic / missing_syscall.h
index f590b91c661cdfcf4f9071bd4c5b5f41140defba..f9a541af809a8c5d541ea8a663668a0e97232cc7 100644 (file)
@@ -391,6 +391,8 @@ static inline int missing_bpf(int cmd, union bpf_attr *attr, size_t size) {
 #      define __NR_pkey_mprotect 394
 #    elif defined __powerpc__
 #      define __NR_pkey_mprotect 386
+#    elif defined __s390__
+#      define __NR_pkey_mprotect 384
 #    elif defined _MIPS_SIM
 #      if _MIPS_SIM == _MIPS_SIM_ABI32
 #        define __NR_pkey_mprotect 4363