lsm_set_self_attr on ia32

sys_lsm_set_self_attr(unsigned int attr, struct lsm_ctx *ctx, u32 size, u32 flags)
number460 (0x1cc)
abii386
entry pointsys_lsm_set_self_attr
sinceLinux 6.8
sourceelixir.bootlin.com

Registers

registervalue
eax460, the syscall number
ebxunsigned int attr
ecxstruct lsm_ctx *ctx
edxu32 size
esiu32 flags
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/lsm_set_self_attr