summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHendrik Brueckner <brueckner@linux.vnet.ibm.com>2015-09-23 13:42:56 +0200
committerSven Eden <yamakuzure@gmx.net>2017-03-29 10:45:10 +0200
commit4a8b9253ee4cb0360eab07dc8da85fc38b2eb6bd (patch)
tree236f8c76b60cf7763e7d2c1cb20b9eaadf0c2277 /src
parentde2820284a3c2905f0a76bf3fd196ce3a37f775a (diff)
mising: add __NR_memfd_create syscall number for s390
Diffstat (limited to 'src')
-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 a073e89da..e18995e87 100644
--- a/src/basic/missing.h
+++ b/src/basic/missing.h
@@ -137,6 +137,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