Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Mar 2002 20:30:06 -0800 (PST)
From:      Alfred Perlstein <alfred@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern kern_descrip.c vfs_syscalls.c
Message-ID:  <200203190430.g2J4U6u91559@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
alfred      2002/03/18 20:30:06 PST

  Modified files:
    sys/kern             kern_descrip.c vfs_syscalls.c 
  Log:
  Close a race when vfs_syscalls.c:checkdirs() runs.
  
  To do this protect the filedesc pointer in the proc with PROC_LOCK
  in both checkdirs() and kern_descrip.c:fdfree().
  
  Revision  Changes    Path
  1.129     +7 -1      src/sys/kern/kern_descrip.c
  1.232     +12 -7     src/sys/kern/vfs_syscalls.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203190430.g2J4U6u91559>