PERFORCE change 46554 for review

Chris Vance cvance at FreeBSD.org
Thu Feb 5 20:28:33 GMT 2004


http://perforce.freebsd.org/chv.cgi?CH=46554

Change 46554 by cvance at cvance_osx_laptop on 2004/02/05 12:28:31

	Add a call to mac_create_vnode_extattr MAC entry point from
	hfs_makenode() 

Affected files ...

.. //depot/projects/trustedbsd/sedarwin/apsl/xnu/bsd/hfs/hfs_vnops.c#5 edit

Differences ...

==== //depot/projects/trustedbsd/sedarwin/apsl/xnu/bsd/hfs/hfs_vnops.c#5 (text+ko) ====

@@ -3425,6 +3425,14 @@
 			goto exit;
 		}
 	}
+#ifdef MAC
+	if (dvp->v_mount->mnt_flag & MNT_MULTILABEL) {
+		error = mac_create_vnode_extattr(cnp->cn_cred, dvp->v_mount,
+		    dvp, tvp, cnp);
+		if (error)
+			goto exit;
+	}
+#endif
 
 	*vpp = tvp;
 exit:
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