From: Daniel J Walsh <dwalsh@redhat.com>
To: Eric Paris <eparis@parisplace.org>
Cc: James Antill <jantill@redhat.com>, selinux@tycho.nsa.gov
Subject: Re: [PATCH] libselinux: 2/2 Convert functions to use new get,set procattrcon
Date: Mon, 26 Jun 2006 08:23:42 -0400 [thread overview]
Message-ID: <449FD1CE.8020908@redhat.com> (raw)
In-Reply-To: <1151130423.21012.107.camel@localhost.localdomain>
Eric Paris wrote:
> On Fri, 2006-06-23 at 21:09 -0400, James Antill wrote:
>
>> On Fri, 2006-06-23 at 16:32 -0400, Eric Paris wrote:
>>
>>> The below patch will convert
>>>
>>> -{get,set}fscreatecon()
>>> -{get,set}execcon()
>>> -{get,set}con()
>>> -getpidcon()
>>> -getprevcon()
>>>
>>> to use the new {get,set}procattrcon() generic functions. The only two
>>> caveats are
>>>
>>> both getprevcon_raw() and getcon_raw() had callers elsewhere in
>>> libselinux. So the raw version of these functions were left and now
>>> call directly into the raw version of the generic functions.
>>>
>> I see you removed a bunch of *_raw() functions, you've changed the ABI
>> of the library and broken at least secon (in policycoreutils) and
>> gnome-vfs2. Is that intentional?
>>
>> The hidden_def() doesn't make them library local functions, just
>> creates the hidden version as an alias ... so ignore that part of my
>> previous email.
>>
>
> Obviously I wasn't intending to break other things. I thought the
> hidden portion was actually making them library local and so I just
> checked to make sure there were no other users in the library, that and
> my machine didn't die a horrible death when I started using it. They
> are very simple to add back and I will post a patch that returns the
> _raw functions and so doesn't change the abi at all on Monday.
>
> -Eric
>
>
The raw functions are for applications that do not want translations.
Actually any
application that does not display the data to users should use the _raw.
> --
> 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.
>
--
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-07-01 12:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-23 20:32 [PATCH] libselinux: 2/2 Convert functions to use new get,set procattrcon Eric Paris
2006-06-24 1:09 ` James Antill
2006-06-24 6:27 ` Eric Paris
2006-06-26 12:23 ` Daniel J Walsh [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-06-26 16:48 Eric Paris
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=449FD1CE.8020908@redhat.com \
--to=dwalsh@redhat.com \
--cc=eparis@parisplace.org \
--cc=jantill@redhat.com \
--cc=selinux@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.