[LTP] [PATCH 1/2] lapi: Add new field socket scoping to landlock_ruleset_attr
Li Wang
liwang@redhat.com
Tue Nov 5 05:13:24 CET 2024
Mainline kernel commit 21d52e295 ("landlock: Add abstract UNIX socket scoping")
introduces a new "scoped" member to the struct landlock_ruleset_attr.
Signed-off-by: Li Wang <liwang@redhat.com>
---
include/lapi/landlock.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/lapi/landlock.h b/include/lapi/landlock.h
index 211d171eb..5fb6d3755 100644
--- a/include/lapi/landlock.h
+++ b/include/lapi/landlock.h
@@ -19,6 +19,7 @@ struct landlock_ruleset_attr
{
uint64_t handled_access_fs;
uint64_t handled_access_net;
+ uint64_t scoped;
};
#endif
--
2.47.0
More information about the ltp
mailing list