aboutsummaryrefslogtreecommitdiffstats
path: root/init-sh/level4.sh
diff options
context:
space:
mode:
Diffstat (limited to 'init-sh/level4.sh')
-rwxr-xr-xinit-sh/level4.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/init-sh/level4.sh b/init-sh/level4.sh
index 01508d7..06d4edf 100755
--- a/init-sh/level4.sh
+++ b/init-sh/level4.sh
@@ -111,8 +111,7 @@ AddRules "export PATH SECURE_LEVEL" /etc/zprofile
if [[ -f /usr/lib/libsafe.so.1.2 ]]; then
echo "Enabling stack overflow protection :"
- AddRules "export LD_PRELOAD=/usr/lib/libsafe.so.1.3" /etc/profile
- AddRules "export LD_PRELOAD=/usr/lib/libsafe.so.1.3" /etc/zprofile
+ AddRules "/lib/libsafe.so.1.3" /etc/ld.so.preload
fi
# Do not boot on a shell