Skip to contentSkip to conversation

SIGSEGV access type during pagefault

Linux-ia64 Pereira, D LailaX E 1 participant 1 message Oct 29, 2001

lore
Share & tools
lore
#0 lore raw

Hi
I am trying to write a SEGV handler for a system running on linux with itanium processor.
I want to find out , what type access (READ or WRITE) causes the page fault? I want to if there is any indication during SIGSEGV , that I can use to find out whether a READ caused the pagefault or a WRITE caused the pagefault? Please let me know about this.
thanks