syscall.sh / sh / fchroot

fchroot

sys_fchroot(int fd, unsigned int flags)
number472 (0x1d8)
abicommon
entry pointsys_fchroot
sinceLinux 7.3
sourceelixir.bootlin.com

Registers

registervalue
r3472, the syscall number
r4int fd
r5unsigned int flags
r0the return value

Then run trapa #31 to enter the kernel.

Same syscall on other architectures

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