syscall.sh / microblaze / fchdir

fchdir

change working directory

sys_fchdir(unsigned int fd)
number133 (0x85)
abicommon
entry pointsys_fchdir
sinceLinux 5.0
man pagefchdir(2)
sourceelixir.bootlin.com

Registers

registervalue
r12133, the syscall number
r5unsigned int fd
r3the return value

Then run brki r14,8 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/microblaze/fchdir