syscall.sh / parisc / pivot_root

pivot_root

change the root mount

sys_pivot_root(const char *new_root, const char *put_old)
number67 (0x43)
abicommon
entry pointsys_pivot_root
sinceLinux 5.0
man pagepivot_root(2)
sourceelixir.bootlin.com

Registers

registervalue
r2067, the syscall number
r26const char *new_root
r25const char *put_old
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/pivot_root