diff options
author | Florin Grad <florin@mandriva.com> | 2001-10-03 12:55:52 +0000 |
---|---|---|
committer | Florin Grad <florin@mandriva.com> | 2001-10-03 12:55:52 +0000 |
commit | 6650966c94a9089988a2c8bf36c861fdf27f37e7 (patch) | |
tree | a90b7e5fc5f949cf93937dfd1d54e3e369744ca0 /init-sh | |
parent | e8ccdd1f9c925cfc9db366ab821473c92bef9031 (diff) | |
download | msec-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')
-rwxr-xr-x | init-sh/level4.sh | 3 | ||||
-rwxr-xr-x | init-sh/level5.sh | 3 |
2 files changed, 4 insertions, 2 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 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 |