Date: Tue, 2 May 2000 22:50:48 -0700 (PDT) From: Robert Watson <rwatson@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/ufs/ufs ufs_extattr.c Message-ID: <200005030550.WAA83267@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2000/05/02 22:50:48 PDT
Modified files:
sys/ufs/ufs ufs_extattr.c
Log:
Don't allow VOP_GETEXTATTR to set uio->uio_offset != 0, as we don't
provide locking over extended attribute operations, requiring that
individual operations be atomic. Allowing non-zero starting offsets
permits applications/etc to put themselves at risk for inconsistent
behavior. As VOP_SETEXTATTR already prohibited non-zero write offsets,
this makes sense.
Suggested by: Andreas Gruenbacher <a.gruenbacher@bestbits.at>
Revision Changes Path
1.5 +11 -13 src/sys/ufs/ufs/ufs_extattr.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?200005030550.WAA83267>
