# Re: \[RFC PATCH 1/6\] security/fbfam: Add a Kconfig to enable the fbfam feature

- From: Jann Horn \<jannh@google.com\>
- Date: 2020-09-10 21:23:00 
- List: linux-security-module
- Page: https://ratatoskr.run/linux-security-module/2020/09/188396
- Thread: https://ratatoskr.run/linux-doc/2020/09/188369/t.md

```text
On Thu, Sep 10, 2020 at 10:21 PM Kees Cook [ref] wrote:
> From: John Wood <redacted>
>
> Add a menu entry under "Security options" to enable the "Fork brute
> force attack mitigation" feature.
[...]
> +config FBFAM

Please give this a more descriptive name than FBFAM. Some name where,
if a random kernel developer sees an "#ifdef" with that name in some
random piece of kernel code, they immediately have a rough idea for
what kind of feature this is.

Perhaps something like THROTTLE_FORK_CRASHES. Or something else that
is equally descriptive.

> +       bool "Fork brute force attack mitigation"
> +       default n

"default n" is superfluous and should AFAIK be omitted.

> +       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.

This help text claims that the mitigation will block fork(), but patch
6/6 actually kills the process hierarchy.
```
