syscall.sh / m68k / pivot_root

pivot_root

change the root mount

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

Registers

registervalue
d0217, the syscall number
d1const char *new_root
d2const char *put_old
d0the return value

Then run trap #0 to enter the kernel.

Same syscall on other architectures

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