From: Max Chernoff <git@maxchernoff.ca>
To: Stefano Brivio <sbrivio@redhat.com>, passt-dev@passt.top
Cc: Tuomo Soini <tis@foobar.fi>
Subject: Re: [PATCH] selinux: Enable read and watch permissions on netns directory as well
Date: Wed, 24 Dec 2025 04:36:33 -0700 [thread overview]
Message-ID: <7c3a0677a8c01c9f1e1ac03c868daab69e07f394.camel@maxchernoff.ca> (raw)
In-Reply-To: <20251223083137.1016281-1-sbrivio@redhat.com>
Hi Stefano,
On Tue, 2025-12-23 at 09:31 +0100, Stefano Brivio wrote:
> diff --git a/contrib/selinux/pasta.te b/contrib/selinux/pasta.te
> index 95fe42a..3eb58f6 100644
> --- a/contrib/selinux/pasta.te
> +++ b/contrib/selinux/pasta.te
> @@ -149,7 +149,7 @@ allow pasta_t root_t:dir mounton;
> manage_files_pattern(pasta_t, pasta_pid_t, pasta_pid_t)
> files_pid_filetrans(pasta_t, pasta_pid_t, file)
>
> -allow pasta_t user_tmp_t:dir { add_name remove_name search write };
> +allow pasta_t user_tmp_t:dir { add_name read remove_name search watch write };
> allow pasta_t user_tmp_t:fifo_file append;
> allow pasta_t user_tmp_t:file { create open write };
> allow pasta_t user_tmp_t:sock_file { create unlink };
I'm a bit late, but this change looks good to me.
Thanks,
-- Max
next prev parent reply other threads:[~2025-12-24 11:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-23 8:31 Stefano Brivio
2025-12-24 11:36 ` Max Chernoff [this message]
2025-12-24 12:05 ` Stefano Brivio
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=7c3a0677a8c01c9f1e1ac03c868daab69e07f394.camel@maxchernoff.ca \
--to=git@maxchernoff.ca \
--cc=passt-dev@passt.top \
--cc=sbrivio@redhat.com \
--cc=tis@foobar.fi \
/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.
Code repositories for project(s) associated with this public inbox
https://passt.top/passt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for IMAP folder(s).