syscall.sh / arm64 / mount

mount

mount filesystem

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

Registers

registervalue
x840, the syscall number
x0char *dev_name
x1char *dir_name
x2char *type
x3unsigned long flags
x4void *data
x0the return value

Then run svc #0 to enter the kernel.

Same syscall on other architectures

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