memfd_create on ia64
create an anonymous file
sys_memfd_create(const char *uname_ptr, unsigned int flags)
| number | 1340 (0x53c) |
|---|---|
| abi | common |
| kconfig | CONFIG_MEMFD_CREATE |
| entry point | sys_memfd_create |
| since | Linux 5.0 or earlier (5.0 is the first release scanned for ia64) |
| man page | memfd_create(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r15 | 1340, the syscall number |
out0 | const char *uname_ptr |
out1 | unsigned int flags |
r8 | the return value |
Then run break 0x100000 to enter the kernel.
The kernel uses r10 to signal an error.
The pipe call returns file descriptors in r8 and r9.
This architecture was removed from the Linux kernel in Linux 6.7. The newest release with a syscall table here is Linux 6.6. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x64 319
- x86 356
- arm64 279
- arm 385
- riscv64 279
- ia32 356
- x32 1073742143
- loongarch64 279
- ppc64 360
- ppc 360
- s390x 350
- mips64 5314
- mipsn32 6318
- mipso32 4354
- alpha 512
- arc 279
- blackfin 390, removed in 4.17
- cris 357, removed in 4.17
- csky 279
- hexagon 279
- m68k 353
- metag 279, removed in 4.17
- microblaze 386
- nds32 279, removed in 5.18
- nios2 279
- openrisc 279
- parisc 340
- score 279, removed in 4.17
- sh 374
- sparc 348
- sparc64 348
- tilegx 279, removed in 4.17
- tilepro 279, removed in 4.17
- xtensa 339
Get this as JSON: https://api.syscall.sh/v2/syscalls/ia64/memfd_create?kernel=all