提交 17f13645 编写于 作者: L lihongjin

feat: security configs

set /proc/sys/kernel/kptr_restrict to 1
set /proc/sys/kernel/dmesg_restrict to 1
Signed-off-by: Nlihongjin <lihongjin1@huawei.com>
Change-Id: I94241b481c2e2c629700485cf1322e56cb4cc53e
上级 6efe78b5
...@@ -8,6 +8,8 @@ ...@@ -8,6 +8,8 @@
"name" : "pre-init", "name" : "pre-init",
"cmds" : [ "cmds" : [
"write /proc/sys/kernel/sysrq 0", "write /proc/sys/kernel/sysrq 0",
"write /proc/sys/kernel/dmesg_restrict 1",
"write /proc/sys/kernel/kptr_restrict 1",
"start ueventd", "start ueventd",
"start watchdog_service", "start watchdog_service",
"mkdir /data", "mkdir /data",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册