diff options
| author | Nathan Lynch <nathanl@linux.ibm.com> | 2022-09-08 17:02:22 -0500 | 
|---|---|---|
| committer | Paul Moore <paul@paul-moore.com> | 2022-09-14 07:37:50 -0400 | 
| commit | 1e7d8bcbe37d3c63babe628443f13f77970dd06b (patch) | |
| tree | b8dfa6b6f58903a95d47781a42815da1930078a1 /net/unix/sysctl_net_unix.c | |
| parent | abec3d015fdfb7c63105c7e1c956188bf381aa55 (diff) | |
lockdown: ratelimit denial messages
User space can flood the log with lockdown denial messages:
[  662.555584] Lockdown: bash: debugfs access is restricted; see man kernel_lockdown.7
[  662.563237] Lockdown: bash: debugfs access is restricted; see man kernel_lockdown.7
[  662.571134] Lockdown: bash: debugfs access is restricted; see man kernel_lockdown.7
[  662.578668] Lockdown: bash: debugfs access is restricted; see man kernel_lockdown.7
[  662.586021] Lockdown: bash: debugfs access is restricted; see man kernel_lockdown.7
[  662.593398] Lockdown: bash: debugfs access is restricted; see man kernel_lockdown.7
Ratelimiting these shouldn't meaningfully degrade the quality of the
information logged.
Signed-off-by: Nathan Lynch <nathanl@linux.ibm.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions
