public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Paul Moore <paul@paul-moore.com>
To: "Christian Göttsche" <cgoettsche@seltendoof.de>, selinux@vger.kernel.org
Cc: "Christian Göttsche" <cgzones@googlemail.com>,
	"Stephen Smalley" <stephen.smalley.work@gmail.com>,
	"Ondrej Mosnacek" <omosnace@redhat.com>,
	"Thiébaud Weksteen" <tweek@google.com>,
	"Bram Bonné" <brambonne@google.com>,
	"Jacob Satterfield" <jsatterfield.linux@gmail.com>,
	"Eric Suen" <ericsu@linux.microsoft.com>,
	"Casey Schaufler" <casey@schaufler-ca.com>,
	"John Johansen" <john.johansen@canonical.com>,
	"Canfeng Guo" <guocanfeng@uniontech.com>,
	"GUO Zihua" <guozihua@huawei.com>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] selinux: add support for xperms in conditional policies
Date: Fri, 13 Dec 2024 16:35:36 -0500	[thread overview]
Message-ID: <dd43826c8fb600f967196c72958fc6e5@paul-moore.com> (raw)
In-Reply-To: <20241023152719.24118-1-cgoettsche@seltendoof.de>

On Oct 23, 2024 =?UTF-8?q?Christian=20G=C3=B6ttsche?= <cgoettsche@seltendoof.de> wrote:
> 
> Add support for extended permission rules in conditional policies.
> Currently the kernel accepts such rules already, but evaluating a
> security decision will hit a BUG() in
> services_compute_xperms_decision().  Thus reject extended permission
> rules in conditional policies for current policy versions.
> 
> Add a new policy version for this feature.
> 
> Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
> ---
> v2:
>   rebased onto the netlink xperm patch
> ---
>  security/selinux/include/security.h |  3 ++-
>  security/selinux/ss/avtab.c         | 11 +++++++++--
>  security/selinux/ss/avtab.h         |  2 +-
>  security/selinux/ss/conditional.c   |  2 +-
>  security/selinux/ss/policydb.c      |  5 +++++
>  security/selinux/ss/services.c      | 12 ++++++++----
>  6 files changed, 26 insertions(+), 9 deletions(-)

Merged into selinux/dev, thanks for working on this and your patience!

--
paul-moore.com

      parent reply	other threads:[~2024-12-13 21:35 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-05 16:10 [PATCH 2/2] selinux: add support for xperms in conditional policies Christian Göttsche
2024-04-05 16:10 ` [PATCH 1/2] selinux: constify source policy in cond_policydb_dup() Christian Göttsche
2024-04-30 22:55   ` Paul Moore
2024-08-21 13:07 ` [PATCH 2/2] selinux: add support for xperms in conditional policies Christian Göttsche
2024-08-21 14:57   ` Stephen Smalley
2024-08-29 13:12     ` Stephen Smalley
2024-10-23 15:27 ` [PATCH v2] " Christian Göttsche
2024-10-31 22:20   ` Paul Moore
2024-11-28 12:49     ` Christian Göttsche
2024-12-03  3:26       ` Paul Moore
2024-12-12 14:17   ` Stephen Smalley
2024-12-13 21:35   ` Paul Moore [this message]

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=dd43826c8fb600f967196c72958fc6e5@paul-moore.com \
    --to=paul@paul-moore.com \
    --cc=brambonne@google.com \
    --cc=casey@schaufler-ca.com \
    --cc=cgoettsche@seltendoof.de \
    --cc=cgzones@googlemail.com \
    --cc=ericsu@linux.microsoft.com \
    --cc=guocanfeng@uniontech.com \
    --cc=guozihua@huawei.com \
    --cc=john.johansen@canonical.com \
    --cc=jsatterfield.linux@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=omosnace@redhat.com \
    --cc=selinux@vger.kernel.org \
    --cc=stephen.smalley.work@gmail.com \
    --cc=tweek@google.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