diff options
author | Yoann Vandoorselaere <yoann@mandriva.com> | 2000-03-08 14:01:47 +0000 |
---|---|---|
committer | Yoann Vandoorselaere <yoann@mandriva.com> | 2000-03-08 14:01:47 +0000 |
commit | f6b197970ba833ea3e629a29805681fde8d4b811 (patch) | |
tree | 55b4fa4ab2962a86b77f5338342d92ab21ebe70d /init-sh/custom.sh | |
parent | bac62ec2c6fc141a00acd131278befa0ba5f1c5a (diff) | |
download | msec-f6b197970ba833ea3e629a29805681fde8d4b811.tar msec-f6b197970ba833ea3e629a29805681fde8d4b811.tar.gz msec-f6b197970ba833ea3e629a29805681fde8d4b811.tar.bz2 msec-f6b197970ba833ea3e629a29805681fde8d4b811.tar.xz msec-f6b197970ba833ea3e629a29805681fde8d4b811.zip |
*** empty log message ***
Diffstat (limited to 'init-sh/custom.sh')
-rwxr-xr-x | init-sh/custom.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/init-sh/custom.sh b/init-sh/custom.sh index b8b8402..9d46bd1 100755 --- a/init-sh/custom.sh +++ b/init-sh/custom.sh @@ -62,6 +62,18 @@ if [[ ${answer} == yes ]]; then AddRules "tty6" /etc/securetty fi ### +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" +echo "and verify the address & the size of the destination buffer in the stack" +echo "this is done by searching in the stack frame the one which contain the" +echo "destination address, and by substracting the frame address to the destination buffer one" +WaitAnswer; clear +if [[ ${answer} == yes ]]; then + AddRules "export LD_PRELOAD=/usr/lib/libsafe.so.1.2" /etc/profile +fi + +### echo "Do you want your system to daily check important security problem ?" WaitAnswer; clear if [[ ${answer} == yes ]]; then |