selinux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stephen Smalley <stephen.smalley.work@gmail.com>
To: Paul Moore <paul@paul-moore.com>
Cc: Ondrej Mosnacek <omosnace@redhat.com>,
	SElinux list <selinux@vger.kernel.org>
Subject: Re: [PATCH] selinux: encapsulate policy-dependent state
Date: Thu, 30 Jul 2020 09:39:30 -0400	[thread overview]
Message-ID: <CAEjxPJ4=1NUR6XywkpQ4OzQV76BK3QOdHNFv-4eVjKTgAMmrOQ@mail.gmail.com> (raw)
In-Reply-To: <20200728171929.50152-1-stephen.smalley.work@gmail.com>

On Tue, Jul 28, 2020 at 1:19 PM Stephen Smalley
<stephen.smalley.work@gmail.com> wrote:
>
> Encapsulate the policy-dependent state in its own structure
> (struct selinux_policy) embedded within the selinux_ss structure.
> The policy-dependent state includes the SID table (particularly
> the context structures), the policy database, and the mapping
> between the kernel classes/permissions and the policy values.
> No change in functionality or interfaces.  This change is
> preparatory to splitting the policy load logic into multiple
> stages to enable making the entire policy reload atomic.
>
> Signed-off-by: Stephen Smalley <stephen.smalley.work@gmail.com>

I have a v2 of this patch in progress so feel free to ignore this one.

      reply	other threads:[~2020-07-30 13:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-28 17:19 [PATCH] selinux: encapsulate policy-dependent state Stephen Smalley
2020-07-30 13:39 ` Stephen Smalley [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='CAEjxPJ4=1NUR6XywkpQ4OzQV76BK3QOdHNFv-4eVjKTgAMmrOQ@mail.gmail.com' \
    --to=stephen.smalley.work@gmail.com \
    --cc=omosnace@redhat.com \
    --cc=paul@paul-moore.com \
    --cc=selinux@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).