> So, in short, seg faults *come*from* the kernel, so of course the kernel > knows when a program segfaults.
Actually, segmentation faults come from the processor (more specifically, the memory management unit). The kernel processes the hardware exception and converts it into a signal to be sent to the offending process. It is possible for the kernel itself to segfault; this causes a kernel panic. Kelly