mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
exit: Allow oops_limit to be disabled
commit de92f65719cd672f4b48397540b9f9eff67eca40 upstream. In preparation for keeping oops_limit logic in sync with warn_limit, have oops_limit == 0 disable checking the Oops counter. Cc: Jann Horn <[email protected]> Cc: Jonathan Corbet <[email protected]> Cc: Andrew Morton <[email protected]> Cc: Baolin Wang <[email protected]> Cc: "Jason A. Donenfeld" <[email protected]> Cc: Eric Biggers <[email protected]> Cc: Huang Ying <[email protected]> Cc: "Eric W. Biederman" <[email protected]> Cc: Arnd Bergmann <[email protected]> Cc: [email protected] Signed-off-by: Kees Cook <[email protected]> Signed-off-by: Eric Biggers <[email protected]> Signed-off-by: Sasha Levin <[email protected]>
This commit is contained in:
parent
5a3482f2c1
commit
7020a9234e
2 changed files with 4 additions and 3 deletions
|
|
@ -561,8 +561,9 @@ oops_limit
|
|||
==========
|
||||
|
||||
Number of kernel oopses after which the kernel should panic when
|
||||
``panic_on_oops`` is not set. Setting this to 0 or 1 has the same effect
|
||||
as setting ``panic_on_oops=1``.
|
||||
``panic_on_oops`` is not set. Setting this to 0 disables checking
|
||||
the count. Setting this to 1 has the same effect as setting
|
||||
``panic_on_oops=1``. The default value is 10000.
|
||||
|
||||
|
||||
osrelease, ostype & version:
|
||||
|
|
|
|||
Loading…
Reference in a new issue