Messages in this thread | | | Subject | Re: [git head] X86_PAT & mprotect | From | Keith Packard <> | Date | Fri, 09 May 2008 23:29:50 -0700 |
| |
On Sat, 2008-05-10 at 16:19 +1000, Dave Airlie wrote:
> Keithp, I hope we didn't error check the mremap return values :)
/* KLUDGE ALERT -- rewrite the PTEs to turn off the CD and WT bits */ mprotect (map->memory, map->size, PROT_NONE); mprotect (map->memory, map->size, PROT_READ|PROT_WRITE);
No return value checks for us ;-)
-- keith.packard@intel.com [unhandled content-type:application/pgp-signature] | |