syscall.sh / x86 / 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)
abii386
entry pointsys_lsm_get_self_attr
sinceLinux 6.8
sourceelixir.bootlin.com

Registers

registervalue
eax459, 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.

Same syscall on other architectures

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