Re: Kernel + Segfaults
This is my experience with non-kernel applications also. I guess I could write one and see if my machine crashes, but I'd rather not!
I think perhaps if a program running in the kernel segfaults and crashes, then that will crash the entire system.
Am I right in thinking that the kernel has unrestricted memory access? As usually a segfault occurs by trying to access a restricted memory locations such as modifying a constant or similar, so if the kernel has the same memory restrictions on code and data areas of the program memory then a system crash would be the most likely result.
Just thinking aloud here, tbh.
|