syscall.sh / arm / memfd_create

memfd_create

create an anonymous file

sys_memfd_create(const char *uname_ptr, unsigned int flags)
number385 (0x181)
abicommon
entry pointsys_memfd_create
sinceLinux 4.10
man pagememfd_create(2)
sourceelixir.bootlin.com

Registers

registervalue
r7385, the syscall number
r0const char *uname_ptr
r1unsigned int flags
r0the 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/arm/memfd_create