open_by_handle_at on tilegx
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 tilegx) |
| man page | open_by_handle_at(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r10 | 265, the syscall number |
r0 | int mountdirfd |
r1 | struct file_handle *handle |
r2 | int flags |
r0 | the return value |
Then run swint1 to enter the kernel.
The kernel uses r1 to signal an error.
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
- score 265, removed in 4.17
- sh 360
- sparc 333
- sparc64 333
- tilepro 265, removed in 4.17
- xtensa 325
Get this as JSON: https://api.syscall.sh/v2/syscalls/tilegx/open_by_handle_at?kernel=all