landlock_restrict_self on nds32

enforce a Landlock ruleset

sys_landlock_restrict_self(int ruleset_fd, __u32 flags)
number446 (0x1be)
abicommon
kconfigCONFIG_SECURITY_LANDLOCK
familylandlock see the whole family on nds32
entry pointsys_landlock_restrict_self
sinceLinux 5.13
man pagelandlock_restrict_self(2)
sourceelixir.bootlin.com

Registers

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

Then run syscall to enter the kernel.

This architecture was removed from the Linux kernel in Linux 5.18. The newest release with a syscall table here is Linux 5.17. The other removed architectures live on the historical architectures page.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/nds32/landlock_restrict_self?kernel=all