[LTP] [PATCH 1/2] lapi: Add new field socket scoping to landlock_ruleset_attr
Andrea Cervesato
andrea.cervesato@suse.com
Tue Nov 5 12:20:09 CET 2024
Hi Li,
please check my latest landlock network v2 testing suite, because the
paradigm will change due to incompatibility between ABI v1 and v4 of
landlock implementation. We need to simplify the way we fallback
landlock_ruleset_attr.
Andrea
On 11/5/24 05:13, Li Wang wrote:
> 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
>
More information about the ltp
mailing list