syscall.sh / x86 / umount2

umount2

unmount filesystem

sys_umount(char *name, int flags)
number52 (0x34)
abii386
entry pointsys_umount
sinceLinux 3.3
man pageumount2(2)
sourceelixir.bootlin.com

Registers

registervalue
eax52, the syscall number
ebxchar *name
ecxint flags
eaxthe return value

Then run int 0x80 to enter the kernel.

Same syscall on other architectures

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