landlock_restrict_self on ia32

enforce a Landlock ruleset

sys_landlock_restrict_self(int ruleset_fd, __u32 flags)
number446 (0x1be)
abii386
kconfigCONFIG_SECURITY_LANDLOCK
familylandlock
entry pointsys_landlock_restrict_self
sinceLinux 5.13
man pagelandlock_restrict_self(2)
sourceelixir.bootlin.com

Registers

registervalue
eax446, the syscall number
ebxint ruleset_fd
ecx__u32 flags
eaxthe return value

Then run int 0x80 to enter the kernel.

This compat ABI is only available when the kernel is built with CONFIG_IA32_EMULATION.

Same syscall on other architectures

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