syscall.sh / xtensa / memfd_create

memfd_create

create an anonymous file

sys_memfd_create(const char *uname_ptr, unsigned int flags)
number339 (0x153)
abicommon
entry pointsys_memfd_create
sinceLinux 5.0
man pagememfd_create(2)
sourceelixir.bootlin.com

Registers

registervalue
a2339, the syscall number
a6const char *uname_ptr
a3unsigned int flags
a2the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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