Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 166121 Details for
Bug 230975
sys-apps/portage-2.2 selinux code problems
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Rename selinux.py to _selinux.py
portage-2.2-selinux.diff (text/plain), 1.09 KB, created by
Michael Edenfield
on 2008-09-22 19:34:45 UTC
(
hide
)
Description:
Rename selinux.py to _selinux.py
Filename:
MIME Type:
Creator:
Michael Edenfield
Created:
2008-09-22 19:34:45 UTC
Size:
1.09 KB
patch
obsolete
>--- __init__.py.orig 2008-09-22 15:18:03.000000000 -0400 >+++ __init__.py 2008-09-22 15:32:49.000000000 -0400 >@@ -139,12 +139,13 @@ > > > try: >- import portage.selinux as selinux >+ import portage._selinux as selinux > except OSError, e: > writemsg("!!! SELinux not loaded: %s\n" % str(e), noiselevel=-1) > del e >-except ImportError: >- pass >+except ImportError, e: >+ writemsg("!!! SELinux could not be imported: %s\n" % str(e), noiselevel=-1) >+ del e > > # =========================================================================== > # END OF IMPORTS -- END OF IMPORTS -- END OF IMPORTS -- END OF IMPORTS -- END > >--- selinux.py 1969-12-31 19:00:00.000000000 -0500 >+++ _selinux.py 2008-08-20 12:11:17.000000000 -0400 >@@ -0,0 +1,8 @@ >+# Copyright 1999-2006 Gentoo Foundation >+# Distributed under the terms of the GNU General Public License v2 >+# $Header: $ >+ >+import selinux >+from selinux import is_selinux_enabled >+from selinux_aux import setexec, secure_symlink, secure_rename, \ >+ secure_copy, secure_mkdir, getcontext, get_sid, get_lsid
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 230975
:
161359
|
166121
|
166125