From: Stephen Smalley <stephen.smalley.work@gmail.com>
To: Ondrej Mosnacek <omosnace@redhat.com>, selinux@vger.kernel.org
Cc: James Carter <jwcart2@gmail.com>,
Chris PeBenito <pebenito@ieee.org>,
Petr Lautrbach <plautrba@redhat.com>
Subject: Re: [PATCH v6 2/2] libsepol: implement POLICYDB_VERSION_COMP_FTRANS
Date: Thu, 6 Aug 2020 08:03:16 -0400 [thread overview]
Message-ID: <2c0fb524-f82f-a08b-740e-8617b78b2a27@gmail.com> (raw)
In-Reply-To: <5ad008a6-8a98-346b-98a9-77971684c2b6@gmail.com>
On 8/3/20 9:57 AM, Stephen Smalley wrote:
> On 7/31/20 7:10 AM, Ondrej Mosnacek wrote:
>
>> Implement a new, more space-efficient form of storing filename
>> transitions in the binary policy. The internal structures have already
>> been converted to this new representation; this patch just implements
>> reading/writing an equivalent representation from/to the binary policy.
>>
>> This new format reduces the size of Fedora policy from 7.6 MB to only
>> 3.3 MB (with policy optimization enabled in both cases). With the
>> unconfined module disabled, the size is reduced from 3.3 MB to 2.4 MB.
>>
>> Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
>
> Acked-by: Stephen Smalley <stephen.smalley.work@gmail.com>
>
Thanks, applied.
prev parent reply other threads:[~2020-08-06 17:27 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-31 11:10 [PATCH v6 0/2] userspace: Implement new format of filename trans rules Ondrej Mosnacek
2020-07-31 11:10 ` [PATCH v6 1/2] libsepol,checkpolicy: optimize storage of filename transitions Ondrej Mosnacek
2020-08-03 13:56 ` Stephen Smalley
2020-08-06 12:02 ` Stephen Smalley
2020-07-31 11:10 ` [PATCH v6 2/2] libsepol: implement POLICYDB_VERSION_COMP_FTRANS Ondrej Mosnacek
2020-08-03 13:57 ` Stephen Smalley
2020-08-06 12:03 ` 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=2c0fb524-f82f-a08b-740e-8617b78b2a27@gmail.com \
--to=stephen.smalley.work@gmail.com \
--cc=jwcart2@gmail.com \
--cc=omosnace@redhat.com \
--cc=pebenito@ieee.org \
--cc=plautrba@redhat.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).