syscall.sh / x64 / umount2

umount2

unmount filesystem

sys_umount(char *name, int flags)
number166 (0xa6)
abicommon
entry pointsys_umount
sinceLinux 3.3
man pageumount2(2)
sourceelixir.bootlin.com

Registers

registervalue
rax166, the syscall number
rdichar *name
rsiint flags
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/x64/umount2