Chinaunix

标题: 防止堆栈溢出 [打印本页]

作者: keelee@    时间: 2004-12-13 09:32
标题: 防止堆栈溢出
防止堆栈溢出  \r\n1 变成root  \r\n2 对/etc/system文件做个拷贝cp /etc/system /etc/system.BACKUP  \r\n3 用你最钟爱的编辑器编辑/etc/system文件 \r\n4 到文件的最后,插入以下几行:\r\nset noexec_user_stack=1  \r\nset noexec_user_stack_log=1  \r\n5 保存文件,退出编辑器 \r\n6 reboot




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2