syscall.sh / sh / lsm_get_self_attr

lsm_get_self_attr

sys_lsm_get_self_attr(unsigned int attr, struct lsm_ctx *ctx, u32 *size, u32 flags)
number459 (0x1cb)
abicommon
entry pointsys_lsm_get_self_attr
sinceLinux 6.8
sourceelixir.bootlin.com

Registers

registervalue
r3459, the syscall number
r4unsigned int attr
r5struct lsm_ctx *ctx
r6u32 *size
r7u32 flags
r0the return value

Then run trapa #31 to enter the kernel.

Same syscall on other architectures

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