summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHendrik Brueckner <brueckner@linux.vnet.ibm.com>2015-09-23 13:42:56 +0200
committerDaniel Mack <daniel@zonque.org>2015-09-23 15:46:30 +0200
commit7bcff8dabaa44047184faf6f558820dd3a8f92cd (patch)
tree6895014f8aefd9d2a27cdab0610557bf62f68be8
parentdbb319464a91d2e4592bf5245bc8c08d09f43876 (diff)
mising: add __NR_memfd_create syscall number for s390
-rw-r--r--src/basic/missing.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/basic/missing.h b/src/basic/missing.h
index dc1f244d4c..93a7cb9aa0 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