Update of /cvsroot/devil-linux/build/scripts
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv23429
Modified Files:
Python
Log Message:
porting pax setting from new paxctld
Index: Python
===================================================================
RCS file: /cvsroot/devil-linux/build/scripts/Python,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -d -r1.37 -r1.38
--- Python 24 Feb 2015 00:36:38 -0000 1.37
+++ Python 19 Dec 2015 14:51:15 -0000 1.38
@@ -36,6 +36,12 @@
# we need to install it, because Python-LDAP needs it
make install || exit 1
+
+ if [ "$CONFIG_GRSECURITY" = "y" ] ; then
+ # let's make sure python works properly
+ paxctl -mE $CDDIR/usr/bin/python
+ fi
+
fi
#exit 1
;;
@@ -61,7 +67,7 @@
if [ "$CONFIG_GRSECURITY" = "y" ] ; then
# otherwise sagator won't work with the new clamav
- paxctl -m $CDDIR/usr/bin/python
+ paxctl -mE $CDDIR/usr/bin/python
fi
fi
;;
|