security.config 521 B

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