[systemd-devel] [PATCH 1/2] mising: add __NR_memfd_create syscall number for s390

Hendrik Brueckner brueckner at linux.vnet.ibm.com
Wed Sep 23 04:42:56 PDT 2015


Signed-off-by: Hendrik Brueckner <brueckner at linux.vnet.ibm.com>
---
 src/basic/missing.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/basic/missing.h b/src/basic/missing.h
index dc1f244..93a7cb9 100644
--- a/src/basic/missing.h
+++ b/src/basic/missing.h
@@ -139,6 +139,8 @@ static inline int pivot_root(const char *new_root, const char *put_old) {
 #    define __NR_memfd_create 385
 #  elif defined __aarch64__
 #    define __NR_memfd_create 279
+#  elif defined __s390__
+#    define __NR_memfd_create 350
 #  elif defined _MIPS_SIM
 #    if _MIPS_SIM == _MIPS_SIM_ABI32
 #      define __NR_memfd_create 4354
-- 
1.7.1



More information about the systemd-devel mailing list