Add the missing scoped field to the struct landlock_ruleset_attr
definition, and document it as a bitmask of scope flags.
Available since Linux 6.12 (Landlock ABI version 6).
Cc: Tahera Fahimi <redacted>
Cc: Mickaël Salaün <mic@digikod.net>
Fixes: 5a89b5bd (2025-03-06; "man/man7/landlock.7: Document IPC scoping (Landlock ABI v6)")
Signed-off-by: Günther Noack <redacted>
---
man/man2/landlock_create_ruleset.2 | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/man/man2/landlock_create_ruleset.2 b/man/man2/landlock_create_ruleset.2
index 8cffd8c770fa..5425ed59878b 100644
--- a/man/man2/landlock_create_ruleset.2
+++ b/man/man2/landlock_create_ruleset.2
@@ -44,6 +44,7 @@ It points to the following structure:
struct landlock_ruleset_attr {
__u64 handled_access_fs;
__u64 handled_access_net;
+ __u64 scoped;
};
.EE
.in@@ -62,6 +63,13 @@ is a bitmask of handled network actions
in
.BR landlock (7)).
.IP
+.I scoped
+is a bitmask of scope flags
+(see
+.B Scope flags
+in
+.BR landlock (7)).
+.IP
This structure defines a set of
.IR "handled access rights" ,
a set of actions on different object types,
--
2.53.0