diff options
author | Kees Cook <keescook@chromium.org> | 2022-11-18 00:43:23 +0100 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2022-12-01 17:50:38 +0100 |
commit | 9db89b41117024f80b38b15954017fb293133364 (patch) | |
tree | ef440809489f6dba2ba0622c870344b8e1f0b9a3 /Documentation/ABI | |
parent | exit: Put an upper limit on how often we can oops (diff) | |
download | linux-9db89b41117024f80b38b15954017fb293133364.tar.xz linux-9db89b41117024f80b38b15954017fb293133364.zip |
exit: Expose "oops_count" to sysfs
Since Oops count is now tracked and is a fairly interesting signal, add
the entry /sys/kernel/oops_count to expose it to userspace.
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Jann Horn <jannh@google.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Luis Chamberlain <mcgrof@kernel.org>
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20221117234328.594699-3-keescook@chromium.org
Diffstat (limited to 'Documentation/ABI')
-rw-r--r-- | Documentation/ABI/testing/sysfs-kernel-oops_count | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-kernel-oops_count b/Documentation/ABI/testing/sysfs-kernel-oops_count new file mode 100644 index 000000000000..156cca9dbc96 --- /dev/null +++ b/Documentation/ABI/testing/sysfs-kernel-oops_count @@ -0,0 +1,6 @@ +What: /sys/kernel/oops_count +Date: November 2022 +KernelVersion: 6.2.0 +Contact: Linux Kernel Hardening List <linux-hardening@vger.kernel.org> +Description: + Shows how many times the system has Oopsed since last boot. |