cvs commit: src/sys/sparc64/include md_var.h src/sys/sparc64/sparc64 machdep.c sys_machdep.c vm_machdep.c

John Baldwin jhb at FreeBSD.org
Sun Jul 3 01:05:49 GMT 2005


jhb         2005-01-19 18:24:07 UTC

  FreeBSD src repository

  Modified files:
    sys/sparc64/include  md_var.h 
    sys/sparc64/sparc64  machdep.c sys_machdep.c vm_machdep.c 
  Log:
  Add a small API to manage the MD user trap structures.  Specifically, we
  now use a pool mutex to manage the reference counts.  This fixes races
  resulting in use-after-free.
  
  Tested by:      kris, David Cornejo dave at dogwood dot com
  Reported by:    bmilekic's MemGuard
  MFC after:      1 week
  
  Revision  Changes    Path
  1.16      +4 -0      src/sys/sparc64/include/md_var.h
  1.118     +39 -5     src/sys/sparc64/sparc64/machdep.c
  1.14      +2 -3      src/sys/sparc64/sparc64/sys_machdep.c
  1.71      +3 -9      src/sys/sparc64/sparc64/vm_machdep.c



More information about the cvs-src mailing list