Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 May 2003 19:42:19 -0700 (PDT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/ufs/ffs ffs_vnops.c
Message-ID:  <200306010242.h512gJb4078382@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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