Skip to content

exit: Put an upper limit on how often we can oops

Kees Cook linux-doc linux-hardening linux-mm lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest6 patches 9 repliesIn review
  2. v26 patches 7 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6panic: Separate sysctl logic from CONFIG_SMPkernel/panic.c+3 -10 replies
2/6exit: Put an upper limit on how often we can oopsDocumentation/admin-guide/sysctl/kernel.rst kernel/exit.c+50 -06 replies
3/6exit: Expose "oops_count" to sysfsDocumentation/ABI/testing/sysfs-kernel-oops_count MAINTAINERS kernel/exit.c+27 -20 replies
4/6panic: Consolidate open-coded panic_on_warn checksinclude/linux/panic.h kernel/kcsan/report.c kernel/panic.c +4 more+14 -122 replies
5/6panic: Introduce warn_limitDocumentation/admin-guide/sysctl/kernel.rst kernel/panic.c+23 -01 reply
6/6panic: Expose "warn_count" to sysfsDocumentation/ABI/testing/sysfs-kernel-warn_count MAINTAINERS kernel/panic.c+27 -20 replies

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchLuis ChamberlainMarco ElverAndrey Konovalov
1/6R-b
2/6R-b
3/6R-b
4/6R-b R-b R-b
5/6R-b
6/6R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [PATCH v3 0/6] exit: Put an upper limit on how often we can oops

Hi,

This builds on Jann's v1 patch[1]. Changes in v3:
- fix #if/#ifdef confusion (Bill)
- rename from "reason" or "origin" and add it to the warn output (Marco)

v2: https://lore.kernel.org/lkml/[email protected]/

Thanks,

-Kees

[1] https://lore.kernel.org/lkml/[email protected]

Jann Horn (1):
exit: Put an upper limit on how often we can oops

Kees Cook (5):
panic: Separate sysctl logic from CONFIG_SMP
exit: Expose "oops_count" to sysfs
panic: Consolidate open-coded panic_on_warn checks
panic: Introduce warn_limit
panic: Expose "warn_count" to sysfs

 .../ABI/testing/sysfs-kernel-oops_count       |  6 ++
 .../ABI/testing/sysfs-kernel-warn_count       |  6 ++
 Documentation/admin-guide/sysctl/kernel.rst   | 17 ++++++
 MAINTAINERS                                   |  2 +
 include/linux/panic.h                         |  1 +
 kernel/exit.c                                 | 60 +++++++++++++++++++
 kernel/kcsan/report.c                         |  3 +-
 kernel/panic.c                                | 45 +++++++++++++-
 kernel/sched/core.c                           |  3 +-
 lib/ubsan.c                                   |  3 +-
 mm/kasan/report.c                             |  4 +-
 mm/kfence/report.c                            |  3 +-
 12 files changed, 140 insertions(+), 13 deletions(-)
 create mode 100644 Documentation/ABI/testing/sysfs-kernel-oops_count
 create mode 100644 Documentation/ABI/testing/sysfs-kernel-warn_count
Signature · 1 line
2.34.1