syscall.sh / arm / landlock_restrict_self

landlock_restrict_self

enforce a Landlock ruleset

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

Registers

registervalue
r7446, the syscall number
r0int ruleset_fd
r1__u32 flags
r0the return value

Then run svc #0 to enter the kernel.

Same syscall on other architectures

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