PERFORCE change 15701 for review
Robert Watson
rwatson at freebsd.org
Thu Aug 8 22:06:37 GMT 2002
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=15701
Change 15701 by rwatson at rwatson_tislabs on 2002/08/08 15:06:02
Actually pass cred to VOP_READ() and VOP_WRITE().
Affected files ...
.. //depot/projects/trustedbsd/mac/sys/kern/vfs_vnops.c#44 edit
Differences ...
==== //depot/projects/trustedbsd/mac/sys/kern/vfs_vnops.c#44 (text+ko) ====
@@ -421,9 +421,9 @@
cred = active_cred;
if (rw == UIO_READ)
- error = VOP_READ(vp, &auio, ioflg, saved_cred);
+ error = VOP_READ(vp, &auio, ioflg, cred);
else
- error = VOP_WRITE(vp, &auio, ioflg, saved_cred);
+ error = VOP_WRITE(vp, &auio, ioflg, cred);
}
if (aresid)
*aresid = auio.uio_resid;
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message
More information about the trustedbsd-cvs
mailing list