I apologise to be demanding help for my first post, however I really am in need of some advice with this one! I'm doing some revision for my finals, and I've come across a question I can't seem to figure out the answer for.
What is the effect of a segmentation fault in a kernel program?
I thought the answer was that no restrictions were imposed on memory access, and so the program could overwrite the code section of memory, affecting currently executing programs.
However a friend of mine suggests that the program will crash when trying to access invalid memory.
Can anyone tell me the correct answer? I can't find anything useful via Google, and the lecture notes do not provide the answer either. Whilst it's unlikely that this specific question will be on the exam, it's always best to know!
Thank you.
