open_by_handle_at on score
obtain handle for a pathname and open file via a handle
sys_open_by_handle_at(int mountdirfd, struct file_handle *handle, int flags)
| number | 265 (0x109) |
|---|---|
| abi | common |
| kconfig | CONFIG_FHANDLE |
| entry point | sys_open_by_handle_at |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for score) |
| man page | open_by_handle_at(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 265, the syscall number |
r4 | int mountdirfd |
r5 | struct file_handle *handle |
r6 | int flags |
r4 | the return value |
Then run syscall to enter the kernel.
r7 is the error flag and r4 then holds the positive error number.
This architecture was removed from the Linux kernel in Linux 4.17. The newest release with a syscall table here is Linux 4.16. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x64 304
- x86 342
- arm64 265
- arm 371
- riscv64 265
- ia32 342
- x32 1073742128
- loongarch64 265
- ppc64 346
- ppc 346
- s390x 336
- mips64 5299
- mipsn32 6304
- mipso32 4340
- alpha 498
- arc 265
- blackfin 376, removed in 4.17
- cris 337, removed in 4.17
- csky 265
- hexagon 265
- ia64 1327, removed in 6.7
- m68k 341
- metag 265, removed in 4.17
- microblaze 372
- nds32 265, removed in 5.18
- nios2 265
- openrisc 265
- parisc 326
- sh 360
- sparc 333
- sparc64 333
- tilegx 265, removed in 4.17
- tilepro 265, removed in 4.17
- xtensa 325
Get this as JSON: https://api.syscall.sh/v2/syscalls/score/open_by_handle_at?kernel=all