syscall.sh / x32 / mount

mount

mount filesystem

sys_mount(char *dev_name, char *dir_name, char *type, unsigned long flags, void *data)
number1073741989 (0x400000a5)
abicommon
entry pointsys_mount
sinceLinux 3.4
man pagemount(2)
sourceelixir.bootlin.com

Registers

registervalue
rax1073741989, the syscall number
rdichar *dev_name
rsichar *dir_name
rdxchar *type
r10unsigned long flags
r8void *data
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/mount