diff options
author | Kees Cook <keescook@chromium.org> | 2023-01-24 22:29:58 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-02-01 10:23:20 +0300 |
commit | 7cffbcd68f1c1579173e6d4d6fdfd5c99a4f5ba5 (patch) | |
tree | 568e0e5b3f51477286951ba01498077bfb6b471a /ipc | |
parent | de586785b981d24ccc432becd1cdb55c81bb09fa (diff) | |
download | linux-7cffbcd68f1c1579173e6d4d6fdfd5c99a4f5ba5.tar.xz |
exit: Expose "oops_count" to sysfs
commit 9db89b41117024f80b38b15954017fb293133364 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: Eric Biggers <ebiggers@google.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions