Date: Sun, 10 Feb 2002 12:45:43 -0800 (PST) From: Robert Watson <rwatson@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern vfs_syscalls.c Message-ID: <200202102045.g1AKjh598929@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2002/02/10 12:45:43 PST Modified files: sys/kern vfs_syscalls.c Log: Make sure to grab vnode lock on a vnode before calling VOP_GETATTR() to perform an ownership test in revoke(). This is also required for MAC hooks so that the vnode lock is held during a call to the MAC framework. Release the lock before calling VOP_REVOKE(). Discussed with: phk, mckusick Revision Changes Path 1.225 +9 -5 src/sys/kern/vfs_syscalls.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?200202102045.g1AKjh598929>