Re: Page Faults Defined
On Sat, 28 Sep 2002 09:15, Richard Braakman wrote:
> The "segmentation" part of "segmentation fault" could be reinterpreted
> to refer to "program segments" as defined by the ELF format. You can
> see them in /proc/1/maps, for example. By extension, user-level mmap
> is a way to dynamically create new segments. Then accessing memory
> that's not part of a segment is a "segmentation fault", and it's exactly
> what libsigsegv handles.
>
> (I have no idea if this is the actual derivation of the signal name,
> or whether it's a holdover from segmented memory architectures.)
I believe that it's the actual derivation of the name. SEGV dates back to the
days of fence registers...
--
http://www.coker.com.au/selinux/ My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/ Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/ My home page
Reply to: