projects
/
kconfig-hardened-check.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7d8105
)
Mention net.core.bpf_jit_harden
author
Alexander Popov
<alex.popov@linux.com>
Wed, 12 Dec 2018 21:53:22 +0000
(
00:53
+0300)
committer
Alexander Popov
<alex.popov@linux.com>
Wed, 12 Dec 2018 21:53:22 +0000
(
00:53
+0300)
kconfig-hardened-check.py
patch
|
blob
|
history
diff --git
a/kconfig-hardened-check.py
b/kconfig-hardened-check.py
index 0a55c177b97a5d8dbfe425c1d0fe19c0c5f19591..3f75c884bc6b7567da821b313767d7ca6e9a6abc 100755
(executable)
--- a/
kconfig-hardened-check.py
+++ b/
kconfig-hardened-check.py
@@
-8,7
+8,7
@@
#
# Please don't cry if my Python code looks like C.
#
-
+#
# N.B Hardening command line parameters:
# page_poison=1
# slub_debug=FZP
@@
-16,6
+16,10
@@
# pti=on
# kernel.kptr_restrict=1
# lockdown=1
+#
+# N.B. Hardening sysctl's:
+# net.core.bpf_jit_harden
+#
import sys
from argparse import ArgumentParser