syscall.sh / mipso32 / 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)
| number | 4442 (0x115a) |
|---|---|
| abi | o32 |
| entry point | sys_mount_setattr |
| since | Linux 5.12 |
| man page | mount_setattr(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
v0 | 4442, the syscall number |
a0 | int dfd |
a1 | const char *path |
a2 | unsigned int flags |
a3 | struct mount_attr *uattr |
sp+16 | size_t usize |
v0 | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 442
- x86 442
- arm64 442
- arm 442
- riscv64 442
- x32 1073742266
- loongarch64 442
- ppc64 442
- ppc 442
- s390x 442
- mips64 5442
- mipsn32 6442
- alpha 552
- arc 442
- csky 442
- hexagon 442
- m68k 442
- microblaze 442
- nios2 442
- openrisc 442
- parisc 442
- sh 442
- sparc 442
- sparc64 442
- xtensa 442
Get this as JSON: https://api.syscall.sh/v2/syscalls/mipso32/mount_setattr