diff options
author | alfred <alfred@FreeBSD.org> | 2002-11-20 10:00:04 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2002-11-20 10:00:04 +0000 |
commit | f4e72b4767a4024a79cdf2be4b5926594ee9324b (patch) | |
tree | 0498acd3afacc0f6a446fde0fb08fb1bc9d855c1 /sys | |
parent | a51ebc9dc0c4e3fff0481c2fcda024ceddbbea46 (diff) | |
download | FreeBSD-src-f4e72b4767a4024a79cdf2be4b5926594ee9324b.zip FreeBSD-src-f4e72b4767a4024a79cdf2be4b5926594ee9324b.tar.gz |
Remove an outdated comment complaining about exporting struct ucred
to userspace, I fixed it a while ago.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/nfsclient/nfs_lock.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/nfsclient/nfs_lock.c b/sys/nfsclient/nfs_lock.c index ee028dc..264284f 100644 --- a/sys/nfsclient/nfs_lock.c +++ b/sys/nfsclient/nfs_lock.c @@ -129,11 +129,6 @@ nfs_dolock(struct vop_advlock_args *ap) msg.lm_fl = *fl; msg.lm_wait = ap->a_flags & F_WAIT; msg.lm_getlk = ap->a_op == F_GETLK; - /* - * XXX: the lm_cred assignment below directly exports a ucred - * structure to userland. This is probably wrong, and should at - * least be xucred. - */ bcopy(VFSTONFS(vp->v_mount)->nm_nam, &msg.lm_addr, min(sizeof msg.lm_addr, VFSTONFS(vp->v_mount)->nm_nam->sa_len)); msg.lm_fh_len = NFS_ISV3(vp) ? VTONFS(vp)->n_fhsize : NFSX_V2FH; |