syscall.sh / s390x / memfd_create

memfd_create

create an anonymous file

sys_memfd_create(const char *uname_ptr, unsigned int flags)
number350 (0x15e)
abicommon
entry pointsys_memfd_create
sinceLinux 4.16
man pagememfd_create(2)
sourceelixir.bootlin.com

Registers

registervalue
r1350, the syscall number
r2const char *uname_ptr
r3unsigned int flags
r2the return value

Then run svc 0 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/s390x/memfd_create