[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] Clarification regarding MEM_ACCESS_* flags usage
On Thu, Oct 6, 2016 at 11:10 AM, Julien Grall <julien.grall@xxxxxxx> wrote:
If the hardware traps it as an instruction fetch violation then no, it is not wrong, it is what the hardware reports it as. Hiding this information is not OK.
That's not what I said - I said walk the pagetables and change the settings on the pages pointed to by the table. But as you say if the VA reported is not the address of the instruction, but rather the address of the page in the pagetable where the walk failed, then indeed checking for R permission restriction when the ptw bit is set should be relatively easy and we could report the event as instruction fetch violation _and_ read access violation. Reporting it as only read violation is not OK though. Tamas _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |