Source-Changes archive

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

CVS commit: src/sys/kern

Module Name:    src
Committed By:   ad
Date:           Sun Dec 21 09:58:22 UTC 2008

Modified Files:
        src/sys/kern: kern_descrip.c

Log Message:
- 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.184 -r1.185 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