Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jan 2005 18:24:07 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/sparc64/include md_var.hsrc/sys/sparc64/sparc64 machdep.c sys_machdep.c vm_machdep.c
Message-ID:  <200501191824.j0JIO753073240@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501191824.j0JIO753073240>