mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-03 15:47:36 +00:00
46cacd7913
commit 9db89b4111
upstream.
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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
6 lines
218 B
Text
6 lines
218 B
Text
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.
|