syscall.sh / x32 / landlock_create_ruleset
landlock_create_ruleset
create a new Landlock ruleset
sys_landlock_create_ruleset(const struct landlock_ruleset_attr *attr, size_t size, __u32 flags)
| number | 1073742268 (0x400001bc) |
|---|---|
| abi | common |
| entry point | sys_landlock_create_ruleset |
| since | Linux 5.13 |
| man page | landlock_create_ruleset(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
rax | 1073742268, the syscall number |
rdi | const struct landlock_ruleset_attr *attr |
rsi | size_t size |
rdx | __u32 flags |
rax | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 444
- x86 444
- arm64 444
- arm 444
- riscv64 444
- loongarch64 444
- ppc64 444
- ppc 444
- s390x 444
- mips64 5444
- mipsn32 6444
- mipso32 4444
- alpha 554
- arc 444
- csky 444
- hexagon 444
- m68k 444
- microblaze 444
- nios2 444
- openrisc 444
- parisc 444
- sh 444
- sparc 444
- sparc64 444
- xtensa 444
Get this as JSON: https://api.syscall.sh/v2/syscalls/x32/landlock_create_ruleset