syscall.sh / parisc / chroot

chroot

change root directory

sys_chroot(const char *filename)
number61 (0x3d)
abicommon
entry pointsys_chroot
sinceLinux 5.0
man pagechroot(2)
sourceelixir.bootlin.com

Registers

registervalue
r2061, the syscall number
r26const char *filename
r28the return value

Then run ble 0x100(%sr2, %r0) to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/parisc/chroot