cvs commit: src/sys/fs/fifofs fifo_vnops.c

Robert Watson rwatson at FreeBSD.org
Mon Mar 20 14:24:27 UTC 2006


rwatson     2006-03-20 14:24:21 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/fs/fifofs        fifo_vnops.c 
  Log:
  Merge fifo_vnops.c:1.133 from HEAD to RELENG_6:
  
    If fifo_open() is called with a negative file descriptor, return EINVAL
    rather than panicking later.  This can occur if the kernel calls
    vn_open() on a fifo, as there will be no associated file descriptor,
    and therefore the file descriptor operations cannot be modified to
    point to the fifo operation set.
  
    Reported by:    Martin <nakal at nurfuerspam dot de>
    PR:             94278
  
  Approved by:    re (scottl)
  
  Revision    Changes    Path
  1.113.2.18  +2 -0      src/sys/fs/fifofs/fifo_vnops.c


More information about the cvs-src mailing list