fchdir on tilepro
change working directory
sys_fchdir(unsigned int fd)
| number | 50 (0x32) |
|---|---|
| abi | common |
| entry point | sys_fchdir |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for tilepro) |
| man page | fchdir(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r10 | 50, the syscall number |
r0 | unsigned int fd |
r0 | the return value |
Then run swint1 to enter the kernel.
The kernel uses r1 to signal an error for ordinary calls.
Fast atomic calls use negative numbers and have different register behavior.
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 81
- x86 133
- arm64 50
- arm 133
- riscv64 50
- ia32 133
- x32 1073741905
- loongarch64 50
- ppc64 133
- ppc 133
- s390x 133
- mips64 5079
- mipsn32 6079
- mipso32 4133
- alpha 13
- arc 50
- blackfin 133, removed in 4.17
- cris 133, removed in 4.17
- csky 50
- frv 133, removed in 4.17
- hexagon 50
- ia64 1035, removed in 6.7
- m32r 133, removed in 4.17
- m68k 133
- metag 50, removed in 4.17
- microblaze 133
- mn10300 133, removed in 4.17
- nds32 50, removed in 5.18
- nios2 50
- openrisc 50
- parisc 133
- score 50, removed in 4.17
- sh 133
- sparc 176
- sparc64 176
- tilegx 50, removed in 4.17
- xtensa 42
Get this as JSON: https://api.syscall.sh/v2/syscalls/tilepro/fchdir?kernel=all