syscall.sh / microblaze / fchdir
fchdir
change working directory
sys_fchdir(unsigned int fd)
| number | 133 (0x85) |
|---|---|
| abi | common |
| entry point | sys_fchdir |
| since | Linux 5.0 |
| man page | fchdir(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r12 | 133, the syscall number |
r5 | unsigned int fd |
r3 | the return value |
Then run brki r14,8 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
- hexagon 50
- m68k 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/microblaze/fchdir