Skip to contentSkip to conversation

adding to selinux.py

DISCUSSION Ted X Toth 4 participants 6 messages Apr 23, 2007 – Apr 25, 2007 SELinux security module

lore
Share & tools
lore

Ted X Toth

author
#0 lore raw

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 [email protected] with the words "unsubscribe selinux" without quotes as the message.

#1 lore raw
Quoted 1 line · Ted X Toth

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.

Signature · 8 lines
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 [email protected] with
the words "unsubscribe selinux" without quotes as the message.
author
#2 lore raw
Quoted 11 lines · Stephen Smalley
Quoted 2 lines · Ted X Toth

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 [email protected] with the words "unsubscribe selinux" without quotes as the message.

#3 lore raw
Quoted 12 lines · Ted X Toth
Quoted 11 lines · Stephen Smalley
Quoted 2 lines · Ted X Toth

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.

Quoted 3 lines

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 [email protected] with the words "unsubscribe selinux" without quotes as the message.

#4 lore raw
Quoted 14 lines · Daniel J Walsh
Quoted 13 lines · Ted X Toth
Quoted 12 lines · Stephen Smalley
Quoted 3 lines · Ted X Toth

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.

Quoted 6 lines
Quoted 4 lines

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 [email protected] with the words "unsubscribe selinux" without quotes as the message.

author
#5 lore raw
Quoted 26 lines · James Athey
Quoted 17 lines · Daniel J Walsh
Quoted 15 lines · Ted X Toth
Quoted 13 lines · Stephen Smalley
Quoted 3 lines · Ted X Toth

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.

Quoted 7 lines
Quoted 4 lines

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.

Quoted 10 lines

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 [email protected] 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 [email protected] with the words "unsubscribe selinux" without quotes as the message.