syscall.sh / loongarch64 / lsm_set_self_attr

lsm_set_self_attr

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

Registers

registervalue
a7460, the syscall number
a0unsigned int attr
a1struct lsm_ctx *ctx
a2u32 size
a3u32 flags
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/lsm_set_self_attr