All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ted X Toth <txtoth@gmail.com>
To: Stephen Smalley <sds@tycho.nsa.gov>
Cc: SE Linux <selinux@tycho.nsa.gov>,
	Eamon Walsh <ewalsh@tycho.nsa.gov>,
	Daniel J Walsh <dwalsh@redhat.com>
Subject: Re: avc_* functions not in libselinux-python
Date: Tue, 10 Jun 2008 09:18:37 -0500	[thread overview]
Message-ID: <484E8D3D.9010809@gmail.com> (raw)
In-Reply-To: <1213105787.30576.103.camel@moss-spartans.epoch.ncsc.mil>

Stephen Smalley wrote:
> On Wed, 2008-04-09 at 15:30 -0500, Xavier Toth wrote:
>   
>> For now I don't think that's a problem as I was looking at using
>> avc_has_perm and the context to sid conversion function.
>>     
>
> What's the status on this?  I see patches in the Fedora libselinux
> package to add the AVC interfaces to the swig bindings, but they aren't
> upstream.  Do they work as expected? 
The interfaces I'm using (avc_open, avc_reset, avc_context_to_sid, 
avc_has_perm_noaudit) are working as expected.

>  Should they be upstreamed?
>
>   
I think so.
>> On Wed, Apr 9, 2008 at 12:30 PM, Stephen Smalley <sds@tycho.nsa.gov> wrote:
>>     
>>>  On Tue, 2008-04-08 at 17:02 -0500, Xavier Toth wrote:
>>>  > Can these functions get swig'd and their wrappers built into _selinux.so?
>>>
>>>  Patches accepted.
>>>
>>>  One possible issue here is function pointer callbacks, which is a more
>>>  general problem than just the avc interfaces in libselinux.  But if you
>>>  are ok with the default callbacks, I suppose there is no problem there.
>>>
>>>  --
>>>  Stephen Smalley
>>>  National Security Agency
>>>
>>>
>>>       
>> --
>> 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.

  reply	other threads:[~2008-06-10 14:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-08 22:02 avc_* functions not in libselinux-python Xavier Toth
2008-04-09 17:30 ` Stephen Smalley
2008-04-09 20:30   ` Xavier Toth
2008-06-10 13:49     ` Stephen Smalley
2008-06-10 14:18       ` Ted X Toth [this message]
2008-06-10 14:28         ` Stephen Smalley

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=484E8D3D.9010809@gmail.com \
    --to=txtoth@gmail.com \
    --cc=dwalsh@redhat.com \
    --cc=ewalsh@tycho.nsa.gov \
    --cc=sds@tycho.nsa.gov \
    --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.