diff options
| author | Robert Watson <rwatson@FreeBSD.org> | 2001-10-24 02:48:38 +0000 |
|---|---|---|
| committer | Robert Watson <rwatson@FreeBSD.org> | 2001-10-24 02:48:38 +0000 |
| commit | c1787d3b7515c790b98df7a0895c33020696cd39 (patch) | |
| tree | f7c792863d6e6904a6a0de9022d0ff2a1a05a68d | |
| parent | 79deba82cd9dd6ce50d7384bde40f2edb217ca82 (diff) | |
Notes
| -rw-r--r-- | sys/nfsclient/nfs_lock.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/nfsclient/nfs_lock.c b/sys/nfsclient/nfs_lock.c index dfca164a4358..f8ebb095c2ca 100644 --- a/sys/nfsclient/nfs_lock.c +++ b/sys/nfsclient/nfs_lock.c @@ -132,6 +132,10 @@ nfs_dolock(struct vop_advlock_args *ap) msg.lm_getlk = ap->a_op == F_GETLK; /* * XXX -- I think this is wrong for anything other AF_INET. + * + * XXX: the lm_cred assignment below directly exports a ucred + * structure to userland. This is probably wrong, and should at + * least be xucred. */ msg.lm_addr = *(VFSTONFS(vp->v_mount)->nm_nam); msg.lm_fh_len = NFS_ISV3(vp) ? VTONFS(vp)->n_fhsize : NFSX_V2FH; |
