aboutsummaryrefslogtreecommitdiffstats
path: root/init-sh/level4.sh
diff options
context:
space:
mode:
authorFlorin Grad <florin@mandriva.com>2001-10-03 12:55:52 +0000
committerFlorin Grad <florin@mandriva.com>2001-10-03 12:55:52 +0000
commit6650966c94a9089988a2c8bf36c861fdf27f37e7 (patch)
treea90b7e5fc5f949cf93937dfd1d54e3e369744ca0 /init-sh/level4.sh
parente8ccdd1f9c925cfc9db366ab821473c92bef9031 (diff)
downloadmsec-6650966c94a9089988a2c8bf36c861fdf27f37e7.tar
msec-6650966c94a9089988a2c8bf36c861fdf27f37e7.tar.gz
msec-6650966c94a9089988a2c8bf36c861fdf27f37e7.tar.bz2
msec-6650966c94a9089988a2c8bf36c861fdf27f37e7.tar.xz
msec-6650966c94a9089988a2c8bf36c861fdf27f37e7.zip
libsafe.so.2
Diffstat (limited to 'init-sh/level4.sh')
-rwxr-xr-xinit-sh/level4.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/init-sh/level4.sh b/init-sh/level4.sh
index 7889b7e..79be32b 100755
--- a/init-sh/level4.sh
+++ b/init-sh/level4.sh
@@ -110,8 +110,9 @@ echo "Setting umask to 022 (u=rw,g=rx) for root, 077 (u=rw) for user :"
AddRules "if [[ \${UID} == 0 ]]; then umask 022; else umask 077; fi" /etc/profile.d/msec.sh
AddRules "if [[ \${UID} == 0 ]]; then umask 022; else umask 077; fi" /etc/profile.d/msec.csh
-if [[ -f /lib/libsafe.so.1.3 ]]; then
+if [[ -f /lib/libsafe.so.2 ]]; then
echo "Enabling stack overflow protection :"
+ touch /etc/ld.so.preload
AddRules "/lib/libsafe.so.2" /etc/ld.so.preload
fi