syscall.sh / mipsn32 / landlock_restrict_self

landlock_restrict_self

enforce a Landlock ruleset

sys_landlock_restrict_self(int ruleset_fd, __u32 flags)
number6446 (0x192e)
abin32
entry pointsys_landlock_restrict_self
sinceLinux 5.13
man pagelandlock_restrict_self(2)
sourceelixir.bootlin.com

Registers

registervalue
v06446, the syscall number
a0int ruleset_fd
a1__u32 flags
v0the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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