syscall.sh / s390x / memfd_secret

memfd_secret

create an anonymous RAM-based file to access secret memory regions

sys_memfd_secret(unsigned int flags)
number447 (0x1bf)
abicommon
entry pointsys_memfd_secret
sinceLinux 6.4
man pagememfd_secret(2)
sourceelixir.bootlin.com

Registers

registervalue
r1447, the syscall number
r2unsigned 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_secret