public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Wei Gao via ltp <ltp@lists.linux.it>
To: Li Wang <liwang@redhat.com>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH 1/2] lapi: Add new field socket scoping to landlock_ruleset_attr
Date: Tue, 5 Nov 2024 05:43:58 -0500	[thread overview]
Message-ID: <Zyn27odLhAApGhdW@wegao> (raw)
In-Reply-To: <20241105041326.18531-1-liwang@redhat.com>

On Tue, Nov 05, 2024 at 12:13:24PM +0800, 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
Reviewed-by: Wei Gao <wegao@suse.com>
>  
> -- 
> 2.47.0
> 
> 
> -- 
> Mailing list info: https://lists.linux.it/listinfo/ltp

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

  parent reply	other threads:[~2024-11-05 10:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-05  4:13 [LTP] [PATCH 1/2] lapi: Add new field socket scoping to landlock_ruleset_attr Li Wang
2024-11-05  4:13 ` [LTP] [PATCH 2/2] landlock01: used fixed size for rule_small_size Li Wang
2024-11-05 10:43   ` Wei Gao via ltp
2024-11-05 12:00     ` Li Wang
2024-11-05 10:43 ` Wei Gao via ltp [this message]
2024-11-05 11:20 ` [LTP] [PATCH 1/2] lapi: Add new field socket scoping to landlock_ruleset_attr Andrea Cervesato via ltp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Zyn27odLhAApGhdW@wegao \
    --to=ltp@lists.linux.it \
    --cc=liwang@redhat.com \
    --cc=wegao@suse.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox