PERFORCE change 105368 for review
Todd Miller
millert at FreeBSD.org
Wed Aug 30 21:27:15 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=105368
Change 105368 by millert at 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);
}
More information about the trustedbsd-cvs
mailing list