Add the comment about kptr_restrict
authorAlexander Popov <alex.popov@linux.com>
Wed, 13 Mar 2019 17:40:23 +0000 (20:40 +0300)
committerAlexander Popov <alex.popov@linux.com>
Wed, 13 Mar 2019 17:40:23 +0000 (20:40 +0300)
kconfig-hardened-check.py

index 41ba08e4fc51164a9d3f46dc7c2845f7c3ba95a5..692d1922a3d8c6b635daa540ab7102134f2cbe94 100755 (executable)
@@ -26,6 +26,7 @@
 #
 # N.B. Hardening sysctl's:
 #    net.core.bpf_jit_harden
+#    kptr_restrict=2
 
 import sys
 from argparse import ArgumentParser