cvs commit: src/sys/vm vm_map.c

Alan Cox alc at FreeBSD.org
Sun Oct 21 22:21:06 PDT 2007


alc         2007-10-22 05:21:05 UTC

  FreeBSD src repository

  Modified files:
    sys/vm               vm_map.c 
  Log:
  Correct an error in vm_map_sync(), nee vm_map_clean(), that has existed
  since revision 1.1.  Specifically, neither traversal of the vm map checks
  whether the end of the vm map has been reached.  Consequently, the first
  traversal can wrap around and bogusly return an error.
  
  This error has gone unnoticed for so long because no one had ever before
  tried msync(2)ing a region above the stack.
  
  Reported by:    peter
  MFC after:      1 week
  
  Revision  Changes    Path
  1.389     +4 -2      src/sys/vm/vm_map.c


More information about the cvs-all mailing list