From 0b8af757b67ee795deef9523f1fd72ca28721e22 Mon Sep 17 00:00:00 2001 From: Eric Paris Date: Wed, 6 Jul 2011 10:48:38 -0400 Subject: [PATCH] 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 Acked-by: Dan Walsh --- 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 03f95a1c..0acbf7eb 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 # diff --git a/policycoreutils/sandbox/sandbox b/policycoreutils/sandbox/sandbox index 48a26c2c..0b89e9a6 100644 --- a/policycoreutils/sandbox/sandbox +++ b/policycoreutils/sandbox/sandbox @@ -1,4 +1,4 @@ -#! /usr/bin/python -E +#! /usr/bin/python -Es # Authors: Dan Walsh # Authors: Josh Cogliati # diff --git a/policycoreutils/scripts/chcat b/policycoreutils/scripts/chcat index 4038a99f..9efcb22b 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 ffaca5b2..1486f423 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 #