summaryrefslogtreecommitdiffstats
path: root/fragments/base/security
diff options
context:
space:
mode:
authorWynn Wolf Arbor2019-12-23 12:37:32 +0100
committerWynn Wolf Arbor2020-02-29 18:50:41 +0100
commit6390333332628437c142fb5e93b1b2f3aaa54b6c (patch)
tree9a97de265673065c91750a922fb3ec271014e375 /fragments/base/security
downloadkernfrag-6390333332628437c142fb5e93b1b2f3aaa54b6c.tar.gz
Initial import
Diffstat (limited to '')
-rw-r--r--fragments/base/security14
1 files changed, 14 insertions, 0 deletions
diff --git a/fragments/base/security b/fragments/base/security
new file mode 100644
index 0000000..5d8b95c
--- /dev/null
+++ b/fragments/base/security
@@ -0,0 +1,14 @@
+CONFIG_REFCOUNT_FULL=y
+CONFIG_GCC_PLUGINS=y
+CONFIG_GCC_PLUGIN_STRUCTLEAK=y
+CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF_ALL=y
+
+# CONFIG_COMPAT_BRK is not set
+# CONFIG_SLAB_MERGE_DEFAULT is not set
+CONFIG_SLAB_FREELIST_RANDOM=y
+CONFIG_SLAB_FREELIST_HARDENED=y
+
+CONFIG_HARDENED_USERCOPY=y
+CONFIG_FORTIFY_SOURCE=y
+
+CONFIG_IO_STRICT_DEVMEM=y