Remove an outdated comment complaining about exporting struct ucred
to userspace, I fixed it a while ago.
This commit is contained in:
parent
f5235f70a4
commit
32cb464571
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user