[PATCH 019/155] policycoreutils: Don't add user site directory to

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


This patch looks good to me. acked.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk45tQ8ACgkQrlYvE4MpobNL5ACg0o/nkhMcn3qKlKSt6myqleXH
xP4An38dfsZ2YQPBZ1i3fW/nh1dXS1sw
=zf5u
-----END PGP SIGNATURE-----
>From ccd6a03adb3258a845d3bb595ee2b2ab27153dac Mon Sep 17 00:00:00 2001
From: Eric Paris <eparis@xxxxxxxxxx>
Date: Wed, 6 Jul 2011 10:48:38 -0400
Subject: [PATCH 019/155] policycoreutils: Don't add user site directory to
 sys.path

SELinux pythons applications should not allow the user to change the
sys.path

Signed-off-by: Eric Paris <eparis@xxxxxxxxxx>
---
 policycoreutils/audit2allow/sepolgen-ifgen |    2 +-
 policycoreutils/sandbox/sandbox            |    2 +-
 policycoreutils/scripts/chcat              |    2 +-
 policycoreutils/semanage/semanage          |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/policycoreutils/audit2allow/sepolgen-ifgen b/policycoreutils/audit2allow/sepolgen-ifgen
index 03f95a1..0acbf7e 100644
--- a/policycoreutils/audit2allow/sepolgen-ifgen
+++ b/policycoreutils/audit2allow/sepolgen-ifgen
@@ -1,4 +1,4 @@
-#! /usr/bin/python -E
+#! /usr/bin/python -Es
 #
 # Authors: Karl MacMillan <kmacmillan@xxxxxxxxxxxxxxxxx>
 #
diff --git a/policycoreutils/sandbox/sandbox b/policycoreutils/sandbox/sandbox
index 48a26c2..0b89e9a 100644
--- a/policycoreutils/sandbox/sandbox
+++ b/policycoreutils/sandbox/sandbox
@@ -1,4 +1,4 @@
-#! /usr/bin/python -E
+#! /usr/bin/python -Es
 # Authors: Dan Walsh <dwalsh@xxxxxxxxxx>
 # Authors: Josh Cogliati
 #
diff --git a/policycoreutils/scripts/chcat b/policycoreutils/scripts/chcat
index 4038a99..9efcb22 100755
--- a/policycoreutils/scripts/chcat
+++ b/policycoreutils/scripts/chcat
@@ -1,4 +1,4 @@
-#! /usr/bin/python -E
+#! /usr/bin/python -Es
 # Copyright (C) 2005 Red Hat 
 # see file 'COPYING' for use and warranty information
 #
diff --git a/policycoreutils/semanage/semanage b/policycoreutils/semanage/semanage
index ffaca5b..1486f42 100644
--- a/policycoreutils/semanage/semanage
+++ b/policycoreutils/semanage/semanage
@@ -1,4 +1,4 @@
-#! /usr/bin/python -E
+#! /usr/bin/python -Es
 # Copyright (C) 2005, 2006, 2007 Red Hat 
 # see file 'COPYING' for use and warranty information
 #
-- 
1.7.6

Attachment: 0019-policycoreutils-Don-t-add-user-site-directory-to-sys.patch.sig
Description: PGP signature


[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux