All of lore.kernel.org
 help / color / mirror / Atom feed
* adding to selinux.py
@ 2007-04-23 13:07 Ted X Toth
  2007-04-23 14:09 ` Stephen Smalley
  0 siblings, 1 reply; 6+ messages in thread
From: Ted X Toth @ 2007-04-23 13:07 UTC (permalink / raw)
  To: selinux, Daniel J Walsh

Would it be possible to get get_ordered_context_list and get_default_context* added to selinux.py?

Ted


--
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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: adding to selinux.py
  2007-04-23 13:07 adding to selinux.py Ted X Toth
@ 2007-04-23 14:09 ` Stephen Smalley
  2007-04-24 20:38   ` Ted X Toth
  0 siblings, 1 reply; 6+ messages in thread
From: Stephen Smalley @ 2007-04-23 14:09 UTC (permalink / raw)
  To: Ted X Toth; +Cc: selinux, Daniel J Walsh

On Mon, 2007-04-23 at 08:07 -0500, Ted X Toth wrote:
> Would it be possible to get get_ordered_context_list and get_default_context* added to selinux.py?

selinux.py is generated via swig, so you'd actually want to modify
selinuxswig.i and regenerate it.   And I think selinuxswig.i should be
reworked and split along the lines of semanageswig.i and
semanageswig_python.i over in libsemanage.

-- 
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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: adding to selinux.py
  2007-04-23 14:09 ` Stephen Smalley
@ 2007-04-24 20:38   ` Ted X Toth
  2007-04-25 13:40     ` Daniel J Walsh
  0 siblings, 1 reply; 6+ messages in thread
From: Ted X Toth @ 2007-04-24 20:38 UTC (permalink / raw)
  To: Stephen Smalley; +Cc: selinux, Daniel J Walsh

Stephen Smalley wrote:
> On Mon, 2007-04-23 at 08:07 -0500, Ted X Toth wrote:
>   
>> Would it be possible to get get_ordered_context_list and get_default_context* added to selinux.py?
>>     
>
> selinux.py is generated via swig, so you'd actually want to modify
> selinuxswig.i and regenerate it.   And I think selinuxswig.i should be
> reworked and split along the lines of semanageswig.i and
> semanageswig_python.i over in libsemanage.
>
>   
Is this something that I should look at doing or will Dan be doing it? 
Should I open a bug report?

Ted

--
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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: adding to selinux.py
  2007-04-24 20:38   ` Ted X Toth
@ 2007-04-25 13:40     ` Daniel J Walsh
  2007-04-25 14:30       ` James Athey
  0 siblings, 1 reply; 6+ messages in thread
From: Daniel J Walsh @ 2007-04-25 13:40 UTC (permalink / raw)
  To: Ted X Toth; +Cc: Stephen Smalley, selinux

Ted X Toth wrote:
> Stephen Smalley wrote:
>> On Mon, 2007-04-23 at 08:07 -0500, Ted X Toth wrote:
>>  
>>> Would it be possible to get get_ordered_context_list and 
>>> get_default_context* added to selinux.py?
>>>     
>>
>> selinux.py is generated via swig, so you'd actually want to modify
>> selinuxswig.i and regenerate it.   And I think selinuxswig.i should be
>> reworked and split along the lines of semanageswig.i and
>> semanageswig_python.i over in libsemanage.
>>
>>   
> Is this something that I should look at doing or will Dan be doing it? 
> Should I open a bug report?
>
> Ted
You can open a bug report, and as always patches welcome.

--
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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: adding to selinux.py
  2007-04-25 13:40     ` Daniel J Walsh
@ 2007-04-25 14:30       ` James Athey
  2007-04-25 15:50         ` Ted X Toth
  0 siblings, 1 reply; 6+ messages in thread
From: James Athey @ 2007-04-25 14:30 UTC (permalink / raw)
  To: Daniel J Walsh; +Cc: selinux

On Wed, 2007-04-25 at 09:40 -0400, Daniel J Walsh wrote:
> Ted X Toth wrote:
> > Stephen Smalley wrote:
> >> On Mon, 2007-04-23 at 08:07 -0500, Ted X Toth wrote:
> >>  
> >>> Would it be possible to get get_ordered_context_list and 
> >>> get_default_context* added to selinux.py?
> >>>     
> >>
> >> selinux.py is generated via swig, so you'd actually want to modify
> >> selinuxswig.i and regenerate it.   And I think selinuxswig.i should be
> >> reworked and split along the lines of semanageswig.i and
> >> semanageswig_python.i over in libsemanage.
> >>
> >>   
> > Is this something that I should look at doing or will Dan be doing it? 
> > Should I open a bug report?
> >
> > Ted
> You can open a bug report, and as always patches welcome.
> 
I took a stab at cleaning up the .i files for libselinux a few months
back.  I'll rebase and clean up the patch and submit it soon.


--
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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: adding to selinux.py
  2007-04-25 14:30       ` James Athey
@ 2007-04-25 15:50         ` Ted X Toth
  0 siblings, 0 replies; 6+ messages in thread
From: Ted X Toth @ 2007-04-25 15:50 UTC (permalink / raw)
  To: James Athey; +Cc: Daniel J Walsh, selinux

James Athey wrote:
> On Wed, 2007-04-25 at 09:40 -0400, Daniel J Walsh wrote:
>   
>> Ted X Toth wrote:
>>     
>>> Stephen Smalley wrote:
>>>       
>>>> On Mon, 2007-04-23 at 08:07 -0500, Ted X Toth wrote:
>>>>  
>>>>         
>>>>> Would it be possible to get get_ordered_context_list and 
>>>>> get_default_context* added to selinux.py?
>>>>>     
>>>>>           
>>>> selinux.py is generated via swig, so you'd actually want to modify
>>>> selinuxswig.i and regenerate it.   And I think selinuxswig.i should be
>>>> reworked and split along the lines of semanageswig.i and
>>>> semanageswig_python.i over in libsemanage.
>>>>
>>>>   
>>>>         
>>> Is this something that I should look at doing or will Dan be doing it? 
>>> Should I open a bug report?
>>>
>>> Ted
>>>       
>> You can open a bug report, and as always patches welcome.
>>
>>     
> I took a stab at cleaning up the .i files for libselinux a few months
> back.  I'll rebase and clean up the patch and submit it soon.
>
>
> --
> 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.
>
>   
Excellent, I look forward to getting it.

--
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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-04-25 15:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-23 13:07 adding to selinux.py Ted X Toth
2007-04-23 14:09 ` Stephen Smalley
2007-04-24 20:38   ` Ted X Toth
2007-04-25 13:40     ` Daniel J Walsh
2007-04-25 14:30       ` James Athey
2007-04-25 15:50         ` Ted X Toth

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.