From 6650966c94a9089988a2c8bf36c861fdf27f37e7 Mon Sep 17 00:00:00 2001 From: Florin Grad Date: Wed, 3 Oct 2001 12:55:52 +0000 Subject: libsafe.so.2 --- init-sh/level4.sh | 3 ++- init-sh/level5.sh | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'init-sh') 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 diff --git a/init-sh/level5.sh b/init-sh/level5.sh index 08517f6..a883b5e 100755 --- a/init-sh/level5.sh +++ b/init-sh/level5.sh @@ -120,8 +120,9 @@ echo "Setting umask to 077 (u=rw) :" AddRules "umask 077" /etc/profile.d/msec.sh AddRules "umask 077" /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 -- cgit v1.2.1