chiark / gitweb /
mising: add __NR_memfd_create syscall number for s390
authorHendrik Brueckner <brueckner@linux.vnet.ibm.com>
Wed, 23 Sep 2015 11:42:56 +0000 (13:42 +0200)
committerSven Eden <yamakuzure@gmx.net>
Wed, 29 Mar 2017 08:45:10 +0000 (10:45 +0200)
src/basic/missing.h

index a073e89da4c993e68928457b43dd775997b807d1..e18995e870bec90a998337582ed595be1baa9678 100644 (file)
@@ -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