chiark / gitweb /
mising: add __NR_memfd_create syscall number for s390
[elogind.git] / 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