syscall.sh / mipso32 / chdir

chdir

change working directory

sys_chdir(const char *filename)
number4012 (0xfac)
abio32
entry pointsys_chdir
sinceLinux 5.0
man pagechdir(2)
sourceelixir.bootlin.com

Registers

registervalue
v04012, the syscall number
a0const char *filename
v0the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/mipso32/chdir