cvs commit: src/sys/ufs/ffs ffs_vnops.c
Robert Watson
rwatson at FreeBSD.org
Sat May 31 20:21:14 PDT 2003
rwatson 2003/05/31 20:21:13 PDT
FreeBSD src repository
Modified files: (Branch: RELENG_5_1)
sys/ufs/ffs ffs_vnops.c
Log:
Merge from HEAD to RELENG_5_1:
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
Approved by: re (scottl)
Revision Changes Path
1.109.2.1 +14 -0 src/sys/ufs/ffs/ffs_vnops.c
More information about the cvs-all
mailing list