From: Steve Lawrence <slawrence@tresys.com>
To: Yuli Khodorkovskiy <ykhodorkovskiy@tresys.com>, <selinux@tycho.nsa.gov>
Subject: Re: [PATCH 0/2] Add option to remove HLL files and fix memory leaks
Date: Fri, 27 Feb 2015 08:46:21 -0500 [thread overview]
Message-ID: <54F0752D.9000705@tresys.com> (raw)
In-Reply-To: <1424978160-4652-1-git-send-email-ykhodorkovskiy@tresys.com>
On 02/26/2015 02:15 PM, Yuli Khodorkovskiy wrote:
> This patchset adds a new option to semanage.conf to allow deleting HLL files after
> compilation into CIL. It also fixes a memory leak in semanage.conf that was exposed
> by the aforementioned patch.
>
> An option to remove HLL files after compilation was originally discussed on the
> list [1]. If enabled, the module store will use about half as much space on disk.
> Additionally, less space will be used during a policy migration. Conversely, a
> user might not want to use this option if the HLL to CIL compiler changed. This
> allows CIL files to be updated from undeleted HLL files in the module store when
> rebuilding with semodule. Otherwise, the HLL files must be reinstalled to get
> recompiled to CIL with an updated compiler.
>
> [1] http://marc.info/?l=selinux&m=140562680432183&w=2
>
> Yuli Khodorkovskiy (2):
> libsemanage: Add option to remove HLL files after compilation
> libsemanage: Fix memory leaks when parsing semanage.conf
Acked-by: Steve Lawrence <slawrence@tresys.com>
Thanks!
> libsemanage/man/man5/semanage.conf.5 | 13 ++++++
> libsemanage/src/conf-parse.y | 28 +++++++++--
> libsemanage/src/conf-scan.l | 9 +---
> libsemanage/src/direct_api.c | 91 ++++++++++++++++++++++++------------
> libsemanage/src/semanage_conf.h | 1 +
> 5 files changed, 101 insertions(+), 41 deletions(-)
>
prev parent reply other threads:[~2015-02-27 13:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-26 19:15 [PATCH 0/2] Add option to remove HLL files and fix memory leaks Yuli Khodorkovskiy
2015-02-26 19:15 ` [PATCH 1/2] libsemanage: Add option to remove HLL files after compilation Yuli Khodorkovskiy
2015-02-26 19:16 ` [PATCH 2/2] libsemanage: Fix memory leaks when parsing semanage.conf Yuli Khodorkovskiy
2015-02-27 13:46 ` Steve Lawrence [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=54F0752D.9000705@tresys.com \
--to=slawrence@tresys.com \
--cc=selinux@tycho.nsa.gov \
--cc=ykhodorkovskiy@tresys.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.