syscall.sh / mipsn32 / name_to_handle_at
name_to_handle_at
obtain handle for a pathname and open file via a handle
sys_name_to_handle_at(int dfd, const char *name, struct file_handle *handle, void *mnt_id, int flag)
| number | 6303 (0x189f) |
|---|---|
| abi | n32 |
| entry point | sys_name_to_handle_at |
| since | Linux 5.0 |
| man page | name_to_handle_at(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
v0 | 6303, the syscall number |
a0 | int dfd |
a1 | const char *name |
a2 | struct file_handle *handle |
a3 | void *mnt_id |
a4 | int flag |
v0 | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 303
- x86 341
- arm64 264
- arm 370
- riscv64 264
- x32 1073742127
- loongarch64 264
- ppc64 345
- ppc 345
- s390x 335
- mips64 5298
- mipso32 4339
- alpha 497
- arc 264
- csky 264
- hexagon 264
- m68k 340
- microblaze 371
- nios2 264
- openrisc 264
- parisc 325
- sh 359
- sparc 332
- sparc64 332
- xtensa 324
Get this as JSON: https://api.syscall.sh/v2/syscalls/mipsn32/name_to_handle_at