From 4a8b9253ee4cb0360eab07dc8da85fc38b2eb6bd Mon Sep 17 00:00:00 2001 From: Hendrik Brueckner Date: Wed, 23 Sep 2015 13:42:56 +0200 Subject: [PATCH] mising: add __NR_memfd_create syscall number for s390 --- src/basic/missing.h | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.30.2