cvs commit: src/sys/sparc64/sparc64 vm_machdep.c

Ken Smith kensmith at
Mon Sep 27 05:34:48 PDT 2004

kensmith    2004-09-27 12:34:48 UTC

  FreeBSD src repository

  Modified files:
    sys/sparc64/sparc64  vm_machdep.c 
  Initialize the count of saved register windows to 0 in the pcb created
  for the new thread.  The rest of the fields in the pcb wind up being
  written to before they're read as a normal part of the pcb usage but
  this field may be read upon return to userland, having it be uninitialized
  garbage is bad.
  Submitted by:   Andrew Belashov (bel at orel dot ru)
  Reviewed by:    jake
  MFC after:      3 days
  Revision  Changes    Path
  1.67      +1 -0      src/sys/sparc64/sparc64/vm_machdep.c

More information about the cvs-src mailing list