syscall.sh / s390x / fchdir

fchdir

change working directory

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

Registers

registervalue
r1133, the syscall number
r2unsigned int fd
r2the return value

Then run svc 0 to enter the kernel.

Same syscall on other architectures

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