On 12 February 2015 at 15:05, Andrew Jones <drjo...@redhat.com> wrote: > + *prot = get_rw_prot(env, mmu_idx, ap, domain_prot); > + *prot |= *prot && !xn ? PAGE_EXEC : 0;
I'm not a great fan of complicated ?: expressions, incidentally; I think this is clearer to read as if (*prot && !xn) { *prot |= PAGE_EXEC; } -- PMM