syscall.sh / mipsn32 / chroot

chroot

change root directory

sys_chroot(const char *filename)
number6156 (0x180c)
abin32
entry pointsys_chroot
sinceLinux 5.0
man pagechroot(2)
sourceelixir.bootlin.com

Registers

registervalue
v06156, 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/mipsn32/chroot