Originally posted by perpetually high
View Post
Announcement
Collapse
No announcement yet.
"pkill_on_warn" Proposed For Killing Linux Processes That Cause A Kernel Warning
Collapse
X
-
- Likes 5
-
Originally posted by drjohnnyfever View Post
A WARN means an assertion was tripped in the kernel. That is the definition of doing something wrong.
Leave a comment:
-
Originally posted by perpetually high View Post
The kernel can still panic from bad code or unintended consequences of a code change whatever. Separate from this issue. You would still want the mechanism in place to not panic the kernel when it did nothing wrong
- Likes 2
Leave a comment:
-
Originally posted by drjohnnyfever View Post
Well, if that is the case we don't actually need panic() at all. Just remove it.
- Likes 2
Leave a comment:
-
Originally posted by tildearrow View Post
It's a kernel option. You are able to configure this.
Personally having some time to save my work and reboot is better than losing my work due to a kernel bug causing a panic.
- Likes 4
Leave a comment:
-
Originally posted by perpetually high View Post
Maybe I’m missing something but I think the #1 job of a kernel is *not* to panic. Don’t care what caused it. Just don’t panic. Warn me and then let me tell the developers and never run it again
Leave a comment:
-
Err what about the parent of the process? If I have my exploit fork before trying the "dangerous" code, the parent can keep chugging along and try again in a new child.
- Likes 5
Leave a comment:
-
Originally posted by drjohnnyfever View PostI can understand panicking on warning, but isn't shooting down programs that triggered a kernel bug sort of missing the point? The kernel should do the honorable thing and kill itself.
Personally having some time to save my work and reboot is better than losing my work due to a kernel bug causing a panic.
- Likes 14
Leave a comment:
-
Originally posted by drjohnnyfever View PostI can understand panicking on warning, but isn't shooting down programs that triggered a kernel bug sort of missing the point? The kernel should do the honorable thing and kill itself.
- Likes 9
Leave a comment:
-
I can understand panicking on warning, but isn't shooting down programs that triggered a kernel bug sort of missing the point? The kernel should do the honorable thing and kill itself.
- Likes 4
Leave a comment:
Leave a comment: