Google
  Web www.spinics.net

How to detect the page read/write fault ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On the x86 machine, i can use the below program to detect read or write fault.
write_fault=uap->uc_mcontext.gregs[REG_ERR]&4;

but it don't work on AMD64 machine.

I have been search on internet, but there is no answer for AMD64.
Anybody can tell me how to do?

-- 
amd64-list mailing list
amd64-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/amd64-list

[Search]     [Home]     [Kernel List]     [Linux ia64]     [Linux X86_64]     [Red Hat Install]     [Red Hat Migration]     [Red Hat Development]     [Red Hat 9 Bible]     [Red Hat 9 Mailing List]     [Fedora Legacy]     [Yosemite News]