cvs commit: src/sys/ufs/ffs ffs_vnops.c

Robert Watson rwatson at FreeBSD.org
Sat May 31 19:42:20 PDT 2003


rwatson     2003/05/31 19:42:19 PDT

  FreeBSD src repository

  Modified files:
    sys/ufs/ffs          ffs_vnops.c 
  Log:
  Return EOPNOTSUPP for attempted EA operations on VCHR vnodes in UFS2;
  if we permit them to occur, the kernel panics due to our performing
  EA operations using VOP_STRATEGY on the vnode.  This went unnoticed
  previously because there are very for users of device nodes on UFS2
  due to the introduction of devfs.  However, this can come up with
  the Linux compat directories and its hard-coded dev nodes (which will
  need to go away as we move away from hard-coded device numbers).
  This can come up if you use EA-intensive features such as ACLs and
  MAC.
  
  The proper fix is pretty complicated, but this band-aid would be
  an excellent MFC candidate for the release.
  
  Revision  Changes    Path
  1.112     +14 -0     src/sys/ufs/ffs/ffs_vnops.c


More information about the cvs-src mailing list