cvs commit: src/sys/sys filedesc.h src/sys/kern kern_descrip.c vfs_syscalls.c

Konstantin Belousov kib at FreeBSD.org
Tue May 29 10:09:44 UTC 2007


kib         2007-05-29 10:09:43 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/sys              filedesc.h 
    sys/kern             kern_descrip.c vfs_syscalls.c 
  Log:
  MFC rev. 1.309 of sys/kern/kern_descrip.c,
      rev. 1.438 of sys/kern/vfs_syscalls.c,
      rev. 1.77 of sys/sys/filedesc.h:
  Mark the filedescriptor table entries with VOP_OPEN being performed for them
  as UF_OPENING. Disable closing of that entries. This should fix the crashes
  caused by devfs_open() (and fifo_open()) dereferencing struct file * by
  index, while the filedescriptor is closed by parallel thread.
  
  RELENG_6 testing by:    Mark Kane <mark at mkproductions org>
  
  Revision    Changes    Path
  1.279.2.14  +7 -3      src/sys/kern/kern_descrip.c
  1.392.2.19  +12 -0     src/sys/kern/vfs_syscalls.c
  1.72.2.2    +1 -0      src/sys/sys/filedesc.h


More information about the cvs-src mailing list