syscall.sh / x32 / pivot_root

pivot_root

change the root mount

sys_pivot_root(const char *new_root, const char *put_old)
number1073741979 (0x4000009b)
abicommon
entry pointsys_pivot_root
sinceLinux 3.4
man pagepivot_root(2)
sourceelixir.bootlin.com

Registers

registervalue
rax1073741979, the syscall number
rdiconst char *new_root
rsiconst char *put_old
raxthe return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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