PERFORCE change 43432 for review
Chris Vance
cvance at FreeBSD.org
Thu Dec 4 20:43:43 GMT 2003
http://perforce.freebsd.org/chv.cgi?CH=43432
Change 43432 by cvance at cvance_sony on 2003/12/04 12:43:19
Patch up mis-integ. This code really doesn't want to be here anymore.
Affected files ...
.. //depot/projects/trustedbsd/sebsd/sys/security/sebsd/sebsd.c#27 edit
Differences ...
==== //depot/projects/trustedbsd/sebsd/sys/security/sebsd/sebsd.c#27 (text+ko) ====
@@ -888,25 +888,7 @@
sebsd_create_root_mount(struct ucred *cred, struct mount *mp,
struct label *mntlabel, struct label *fslabel)
{
- struct vnode *vp, *nvp;
- /*
- * Go through all open vnodes and reload their labels.
- */
- mtx_lock(&mntvnode_mtx);
- vp = TAILQ_FIRST(&mp->mnt_nvnodelist);
- do {
- nvp = TAILQ_NEXT(vp, v_nmntvnodes);
- VI_LOCK(vp);
- mtx_unlock(&mntvnode_mtx);
- vn_lock(vp, LK_INTERLOCK | LK_EXCLUSIVE | LK_RETRY, curthread);
- (void)sebsd_associate_vnode_extattr(mp, fslabel, vp,
- vp->v_label);
- VOP_UNLOCK(vp, 0, curthread);
- mtx_lock(&mntvnode_mtx);
- vp = nvp;
- } while (vp != NULL);
- mtx_unlock(&mntvnode_mtx);
}
static int
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