syscall.sh / arc / umount2

umount2

unmount filesystem

sys_umount(char *name, int flags)
number39 (0x27)
abicommon
entry pointsys_umount
sinceLinux 3.9
man pageumount2(2)
sourceelixir.bootlin.com

Registers

registervalue
r839, the syscall number
r0char *name
r1int flags
r0the return value

Then run trap0 to enter the kernel.

Same syscall on other architectures

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