syscall.sh / sparc / pivot_root

pivot_root

change the root mount

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

Registers

registervalue
g1146, the syscall number
o0const char *new_root
o1const char *put_old
o0the return value

Then run t 0x10 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/sparc/pivot_root