syscall.sh / microblaze / chdir

chdir

change working directory

sys_chdir(const char *filename)
number12 (0xc)
abicommon
entry pointsys_chdir
sinceLinux 5.0
man pagechdir(2)
sourceelixir.bootlin.com

Registers

registervalue
r1212, the syscall number
r5const char *filename
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/chdir