landlock_add_rule on ia64

add a new Landlock rule to a ruleset

sys_landlock_add_rule(int ruleset_fd, enum landlock_rule_type rule_type, const void *rule_attr, __u32 flags)
number1469 (0x5bd)
abicommon
kconfigCONFIG_SECURITY_LANDLOCK
familylandlock see the whole family on ia64
entry pointsys_landlock_add_rule
sinceLinux 5.13
man pagelandlock_add_rule(2)
sourceelixir.bootlin.com

Registers

registervalue
r151469, the syscall number
out0int ruleset_fd
out1enum landlock_rule_type rule_type
out2const void *rule_attr
out3__u32 flags
r8the return value

Then run break 0x100000 to enter the kernel.

The kernel uses r10 to signal an error.

The pipe call returns file descriptors in r8 and r9.

This architecture was removed from the Linux kernel in Linux 6.7. The newest release with a syscall table here is Linux 6.6. 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/ia64/landlock_add_rule?kernel=all