mount_setattr on ia32

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)
abii386
entry pointsys_mount_setattr
sinceLinux 5.12
man pagemount_setattr(2)
sourceelixir.bootlin.com

Registers

registervalue
eax442, the syscall number
ebxint dfd
ecxconst char *path
edxunsigned int flags
esistruct mount_attr *uattr
edisize_t usize
eaxthe return value

Then run int 0x80 to enter the kernel.

This compat ABI is only available when the kernel is built with CONFIG_IA32_EMULATION.

Same syscall on other architectures

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