fchdir on ia32
change working directory
sys_fchdir(unsigned int fd)
| number | 133 (0x85) |
|---|---|
| abi | i386 |
| entry point | sys_fchdir |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for ia32) |
| man page | fchdir(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
eax | 133, the syscall number |
ebx | unsigned int fd |
eax | the return value |
Then run int 0x80 to enter the kernel.
This compat ABI is only available when the kernel is built with CONFIG_IA32_EMULATION.
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
- 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/ia32/fchdir