View Single Post
  #3 (permalink)  
Old 05-13-2008, 04:27 PM
Syx Syx is offline
Newbie
 
Join Date: May 2008
Location: Midlands, UK
Posts: 2
Rep Power: 0
Syx is on a distinguished road
Default 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.
Reply With Quote