Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 230975 | Differences between
and this patch

Collapse All | Expand All

(-)portage.orig/__init__.py (-1 / +1 lines)
Lines 139-145 Link Here
139
139
140
140
141
try:
141
try:
142
	import portage.selinux as selinux
142
	import portage._selinux as selinux
143
except OSError, e:
143
except OSError, e:
144
	writemsg("!!! SELinux not loaded: %s\n" % str(e), noiselevel=-1)
144
	writemsg("!!! SELinux not loaded: %s\n" % str(e), noiselevel=-1)
145
	del e
145
	del e
(-)portage.orig/_selinux.py (+8 lines)
Line 0 Link Here
1
# Copyright 1999-2006 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: $
4
5
import selinux
6
from selinux import is_selinux_enabled
7
from selinux_aux import setexec, secure_symlink, secure_rename, \
8
	secure_copy, secure_mkdir, getcontext, get_sid, get_lsid
(-)portage.orig/selinux.py (-8 lines)
Lines 1-8 Link Here
1
# Copyright 1999-2006 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: $
4
5
import selinux
6
from selinux import is_selinux_enabled
7
from selinux_aux import setexec, secure_symlink, secure_rename, \
8
	secure_copy, secure_mkdir, getcontext, get_sid, get_lsid

Return to bug 230975