Date: Tue, 29 May 2007 10:09:43 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys filedesc.h src/sys/kern kern_descrip.c vfs_syscalls.c Message-ID: <200705291009.l4TA9hOr008664@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705291009.l4TA9hOr008664>