Skip to contentSkip to conversation

security/fbfam: Add a Kconfig to enable the fbfam feature

RFC PATCH New John Wood 1 participant 1 message Sep 6, 2020

Subsystems (3)
lore
Share & tools
lore

John Wood

author
#0 lore raw

RFC PATCH 1/9 security/fbfam: Add a Kconfig to enable the fbfam feature

Add a menu entry under "Security options" to enable the "Fork brute force attack mitigation" feature.

---
 security/Kconfig       |  1 +
 security/fbfam/Kconfig | 10 ++++++++++
 2 files changed, 11 insertions(+)
 create mode 100644 security/fbfam/Kconfig
security/Kconfig +1 -0
index 7561f6f99f1d..00a90e25b8d5 100644
@@ -290,6 +290,7 @@ config LSM
 	  If unsure, leave this as the default.
 
 source "security/Kconfig.hardening"
+source "security/fbfam/Kconfig"
 
 endmenu
 
security/fbfam/Kconfig new file +10 -0
new file mode 100644
index 000000000000..bbe7f6aad369
@@ -0,0 +1,10 @@
+# SPDX-License-Identifier: GPL-2.0
+config FBFAM
+	bool "Fork brute force attack mitigation"
+	default n
+	help
+	  This is a user defense that detects any fork brute force attack
+	  based on the application's crashing rate. When this measure is
+	  triggered the fork system call is blocked.
+
+	  If you are unsure how to answer this question, answer N.

--
2.25.1