syscall.sh / loongarch64 / 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.19
man pagelandlock_restrict_self(2)
sourceelixir.bootlin.com

Registers

registervalue
a7446, the syscall number
a0int ruleset_fd
a1__u32 flags
a0the return value

Then run syscall 0 to enter the kernel.

Same syscall on other architectures

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