[systemd-devel] [PATCH 1/2] mising: add __NR_memfd_create syscall number for s390

Daniel Mack daniel at zonque.org
Wed Sep 23 06:47:08 PDT 2015


Applied thanks!

Though I removed the S-o-b line, we don't use that in systemd.

On 09/23/2015 01:42 PM, Hendrik Brueckner wrote:
> Signed-off-by: Hendrik Brueckner <brueckner at linux.vnet.ibm.com>
> ---
>  src/basic/missing.h |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/src/basic/missing.h b/src/basic/missing.h
> index dc1f244..93a7cb9 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
> 



More information about the systemd-devel mailing list