Re: [RFC PATCH 6/6] security/fbfam: Mitigate a fork brute force attack

From
Kees Cook <hidden>
Date
2020-09-18 21:35:19
Also in
linux-doc, linux-fsdevel, lkml
Reply to
John Wood, 2020-09-18
On Fri, Sep 18, 2020 at 06:02:16PM +0200, John Wood wrote:
On Thu, Sep 10, 2020 at 04:56:19PM -0700, Kees Cook wrote:
quoted
On Thu, Sep 10, 2020 at 01:21:07PM -0700, Kees Cook wrote:
quoted
+		pr_warn("fbfam: Offending process with PID %d killed\n",
+			p->pid);
I'd make this ratelimited (along with Jann's suggestions).
Sorry, but I don't understand what you mean with "make this ratelimited".
A clarification would be greatly appreciated.
Ah! Yes, sorry for not being more clear. There are ratelimit helpers for
the pr_*() family of functions, e.g.:

	pr_warn_ratelimited("brute: Offending process with PID...

-- 
Kees Cook
Thread (47 messages) 47 messages, 7 authors, last reply 2020-10-03
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help