Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Aug 2006 21:27:10 GMT
From:      Todd Miller <millert@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 105368 for review
Message-ID:  <200608302127.k7ULRA7L037940@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=105368

Change 105368 by millert@millert_g4tower on 2006/08/30 21:27:07

	Add missing xsocket conversion.

Affected files ...

.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/security/mac_net.c#4 edit

Differences ...

==== //depot/projects/trustedbsd/sedarwin8/darwin/xnu/security/mac_net.c#4 (text+ko) ====

@@ -187,12 +187,14 @@
 mac_socket_create_mbuf(struct socket *socket, struct mbuf *mbuf)
 {
 	struct label *label;
+	struct xsocket xso;
 
 	/* socket must be locked */
 
 	label = mac_mbuf_to_label(mbuf);
         
 	/* Policy must deal with NULL label (unlabeled mbufs) */
-	MAC_PERFORM(socket_create_mbuf, socket, socket->so_label,
+	sotoxsocket(socket, &xso);
+	MAC_PERFORM(socket_create_mbuf, &xso, socket->so_label,
 		    mbuf, label);
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608302127.k7ULRA7L037940>