diff options
author | Yoann Vandoorselaere <yoann@mandriva.com> | 2000-05-17 10:45:36 +0000 |
---|---|---|
committer | Yoann Vandoorselaere <yoann@mandriva.com> | 2000-05-17 10:45:36 +0000 |
commit | 6a32521d8c37a93fa39e4038e656e2f64aca63d0 (patch) | |
tree | d19faa514c9127fb8fc0b06b376e99d5c7835356 /init-sh | |
parent | 999584fb515a3266701c905cd0c7823daa64e658 (diff) | |
download | msec-6a32521d8c37a93fa39e4038e656e2f64aca63d0.tar msec-6a32521d8c37a93fa39e4038e656e2f64aca63d0.tar.gz msec-6a32521d8c37a93fa39e4038e656e2f64aca63d0.tar.bz2 msec-6a32521d8c37a93fa39e4038e656e2f64aca63d0.tar.xz msec-6a32521d8c37a93fa39e4038e656e2f64aca63d0.zip |
*** empty log message ***
Diffstat (limited to 'init-sh')
-rwxr-xr-x | init-sh/custom.sh | 2 | ||||
-rwxr-xr-x | init-sh/level4.sh | 2 | ||||
-rwxr-xr-x | init-sh/level5.sh | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/init-sh/custom.sh b/init-sh/custom.sh index 7cbf578..e1545e3 100755 --- a/init-sh/custom.sh +++ b/init-sh/custom.sh @@ -75,7 +75,7 @@ if [[ ${answer} == yes ]]; then fi ### -if [[ -f /usr/lib/libsafe.so.1.2 ]]; then +if [[ -f /usr/lib/libsafe.so.1.3 ]]; then echo "Do you want to enable the libsafe stack overflow protection ?" echo "This stack overflow protection work by catching dangerous function call" echo "like strcpy, strcat, getwd, gets, [vf]scanf, realpath, [v]sprintf" diff --git a/init-sh/level4.sh b/init-sh/level4.sh index 06d4edf..3e46295 100755 --- a/init-sh/level4.sh +++ b/init-sh/level4.sh @@ -109,7 +109,7 @@ AddRules "export PATH SECURE_LEVEL" /etc/profile AddRules "PATH=\$PATH:/usr/X11R6/bin:/usr/games" /etc/zprofile quiet AddRules "export PATH SECURE_LEVEL" /etc/zprofile -if [[ -f /usr/lib/libsafe.so.1.2 ]]; then +if [[ -f /usr/lib/libsafe.so.1.3 ]]; then echo "Enabling stack overflow protection :" AddRules "/lib/libsafe.so.1.3" /etc/ld.so.preload fi diff --git a/init-sh/level5.sh b/init-sh/level5.sh index 1eb8d18..5f7d99d 100755 --- a/init-sh/level5.sh +++ b/init-sh/level5.sh @@ -126,7 +126,7 @@ AddRules "PATH=\$PATH:/usr/X11R6/bin" /etc/zprofile quiet AddRules "export PATH SECURE_LEVEL" /etc/zprofile -if [[ -f /usr/lib/libsafe.so.1.2 ]]; then +if [[ -f /usr/lib/libsafe.so.1.3 ]]; then echo "Enabling stack overflow protection :" AddRules "/lib/libsafe.so.1.3" /etc/ld.so.preload fi |