linux: where's the "real" segmentation fault handler? -


If I read / write / I know the umped address.

  .text. Global _start _start: movl $ 1,% edx jmp *% edx  

This causes a partition fault

I wonder, the actual (system) kernel The part that reads / writes unlock addresses (how?) And throws "user mode" signals?

Everything goes from the architecture trap table. It is usually called entry (split between x86 between x 32 and entry 64) and in relation to the kernel, many things (on the basis of config) before going to the top of the sidel. > Then an invalid memory access must be entered via either Page_fault or general_protection and possibly before the line in the user's space in send_signal (kernel / signal.c), force_sig_info will end.


Comments