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)
| number | 459 (0x1cb) |
|---|---|
| abi | i386 |
| entry point | sys_lsm_get_self_attr |
| since | Linux 6.8 |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
eax | 459, the syscall number |
ebx | unsigned int attr |
ecx | struct lsm_ctx *ctx |
edx | u32 *size |
esi | u32 flags |
eax | the return value |
Then run int 0x80 to enter the kernel.
Same syscall on other architectures
- x64 459
- arm64 459
- arm 459
- riscv64 459
- x32 1073742283
- loongarch64 459
- ppc64 459
- ppc 459
- s390x 459
- mips64 5459
- mipsn32 6459
- mipso32 4459
- alpha 569
- arc 459
- csky 459
- hexagon 459
- m68k 459
- microblaze 459
- nios2 459
- openrisc 459
- parisc 459
- sh 459
- sparc 459
- sparc64 459
- xtensa 459
Get this as JSON: https://api.syscall.sh/v2/syscalls/x86/lsm_get_self_attr