syscall.sh / loongarch64 / mount_setattr

mount_setattr

change properties of a mount or mount tree

sys_mount_setattr(int dfd, const char *path, unsigned int flags, struct mount_attr *uattr, size_t usize)
number442 (0x1ba)
abicommon
entry pointsys_mount_setattr
sinceLinux 5.19
man pagemount_setattr(2)
sourceelixir.bootlin.com

Registers

registervalue
a7442, the syscall number
a0int dfd
a1const char *path
a2unsigned int flags
a3struct mount_attr *uattr
a4size_t usize
a0the return value

Then run syscall 0 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/loongarch64/mount_setattr