syscall.sh / hexagon / fchdir
fchdir
change working directory
sys_fchdir(unsigned int fd)
| number | 50 (0x32) |
|---|---|
| abi | common |
| entry point | sys_fchdir |
| since | Linux 3.7 |
| man page | fchdir(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r6 | 50, the syscall number |
r0 | unsigned int fd |
r0 | the return value |
Then run trap0(#1) to enter the kernel.
Same syscall on other architectures
- x64 81
- x86 133
- arm64 50
- arm 133
- riscv64 50
- x32 1073741905
- loongarch64 50
- ppc64 133
- ppc 133
- s390x 133
- mips64 5079
- mipsn32 6079
- mipso32 4133
- alpha 13
- arc 50
- csky 50
- m68k 133
- microblaze 133
- nios2 50
- openrisc 50
- parisc 133
- sh 133
- sparc 176
- sparc64 176
- xtensa 42
Get this as JSON: https://api.syscall.sh/v2/syscalls/hexagon/fchdir