cvs commit: src/sys/ia64/ia64 trap.c

Marcel Moolenaar marcel at FreeBSD.org
Tue Aug 12 20:20:19 PDT 2003


marcel      2003/08/12 20:20:10 PDT

  FreeBSD src repository

  Modified files:
    sys/ia64/ia64        trap.c 
  Log:
  Don't use VM_MIN_KERNEL_ADDRESS to check if the faulting address is
  in user space or kernel space. VM_MIN_KERNEL_ADDRESS starts after the
  gateway page, which means that improper memory accesses to the gateway
  page while in user mode would panic the kernel. Use VM_MAX_ADDRESS
  instead. It ends before the gateway page. The difference between
  VM_MIN_KERNEL_ADDRESS and VM_MAX_ADDRESS is exactly the gateway page.
  
  Revision  Changes    Path
  1.88      +2 -2      src/sys/ia64/ia64/trap.c


More information about the cvs-src mailing list