From: Ivan Gyurdiev <ivg2@cornell.edu>
To: SELinux List <SELinux@tycho.nsa.gov>
Cc: Stephen Smalley <sds@tycho.nsa.gov>
Subject: Re: [SEMANAGE] [SETSEBOOL] Clone record on set/add/modify
Date: Wed, 04 Jan 2006 09:09:25 -0500 [thread overview]
Message-ID: <43BBD715.8070603@cornell.edu> (raw)
In-Reply-To: <43BBD6C0.6020108@cornell.edu>
Ivan Gyurdiev wrote:
> Hi, Steven pointed out (off-list) that libsemanage vs libsepol
> behavior is inconsistent with respect to set/add/modify.
> In libsemanage, the object being added becomes "managed" by the
> library, while this is not true in libsepol. We decided it was better
> to have the client control the object passed in, and be responsible
> for freeing it.
>
> This patch makes the appropriate changes (which include reversal of
> some of the code from the other patches) to implement that.
> It also includes a bugfix for the error path of
> database_policydb.c:list, pointed out by Russel Coker.
>
By the way, how does python handle this - does it manage memory
management automatically, or do we still need to call the free
functions.... because.. I don't see any free functions being called in
the semanage tool - not even for the key.
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
next prev parent reply other threads:[~2006-01-04 14:09 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-04 14:08 [SEMANAGE] [SETSEBOOL] Clone record on set/add/modify Ivan Gyurdiev
2006-01-04 14:09 ` Ivan Gyurdiev [this message]
2006-01-04 17:29 ` Stephen Smalley
2006-01-04 16:12 ` Ivan Gyurdiev
2006-01-04 18:24 ` Stephen Smalley
2006-01-04 16:49 ` Ivan Gyurdiev
[not found] ` <43BC3715.7030803@redhat.com>
[not found] ` <43BC1EE4.3040603@cornell.edu>
2006-01-04 19:22 ` Ivan Gyurdiev
2006-01-04 17:59 ` Joshua Brindle
2006-01-04 16:06 ` Ivan Gyurdiev
2006-01-04 18:05 ` Joshua Brindle
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=43BBD715.8070603@cornell.edu \
--to=ivg2@cornell.edu \
--cc=SELinux@tycho.nsa.gov \
--cc=sds@tycho.nsa.gov \
/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.