Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-5] src/sys/kern



Module Name:    src
Committed By:   snj
Date:           Mon Feb  2 19:27:32 UTC 2009

Modified Files:
        src/sys/kern [netbsd-5]: kern_descrip.c

Log Message:
Pull up following revision(s) (requested by ad in ticket #358):
        sys/kern/kern_descrip.c: revision 1.185
- Fix a bug where we trashed descriptor zero in the old open files array
  while ironically trying to preserve the same during copy. Would only have
  occurred if a multithreaded program expanded the descriptor table and,
  within a tiny window of exposure, another thread in the program tried to
  access descriptor zero.
- Convert to use kmem_alloc/kmem_free.


To generate a diff of this commit:
cvs rdiff -r1.182 -r1.182.6.1 src/sys/kern/kern_descrip.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index