security.config 468 B

123456789101112131415
  1. # This is the equivalent of booting with lockdown=integrity
  2. CONFIG_SECURITY=y
  3. CONFIG_SECURITYFS=y
  4. CONFIG_SECURITY_LOCKDOWN_LSM=y
  5. CONFIG_SECURITY_LOCKDOWN_LSM_EARLY=y
  6. CONFIG_LOCK_DOWN_KERNEL_FORCE_INTEGRITY=y
  7. # These are some general, reasonably inexpensive hardening options
  8. CONFIG_HARDENED_USERCOPY=y
  9. CONFIG_FORTIFY_SOURCE=y
  10. CONFIG_INIT_ON_ALLOC_DEFAULT_ON=y
  11. # UBSAN bounds checking is very cheap and good for hardening
  12. CONFIG_UBSAN=y
  13. # CONFIG_UBSAN_MISC is not set