Date: Mon, 22 Jan 2007 15:53:27 GMT From: Todd Miller <millert@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 113337 for review Message-ID: <200701221553.l0MFrRfK023774@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=113337 Change 113337 by millert@millert_macbook on 2007/01/22 15:53:19 Fix sorting error. Affected files ... .. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/security/mac_policy.h#42 edit Differences ... ==== //depot/projects/trustedbsd/sedarwin8/darwin/xnu/security/mac_policy.h#42 (text+ko) ==== @@ -1006,6 +1006,22 @@ struct label *label ); /** + @brief Update a network interface label + @param cred Subject credential + @param ifp The network interface to be relabeled + @param ifnetlabel The current label of the network interface + @param newlabel A new label to apply to the network interface + @see mpo_ifnet_check_label_update_t + + Update the label on a network interface, using the supplied new label. +*/ +typedef void mpo_ifnet_label_update_t( + struct ucred *cred, + struct ifnet *ifp, + struct label *ifnetlabel, + struct label *newlabel +); +/** @brief Access control check for delivering a packet to a socket @param inp inpcb the socket is associated with @param inplabel Label of the inpcb @@ -1084,22 +1100,6 @@ struct label *inplabel ); /** - @brief Update a network interface label - @param cred Subject credential - @param ifp The network interface to be relabeled - @param ifnetlabel The current label of the network interface - @param newlabel A new label to apply to the network interface - @see mpo_ifnet_check_label_update_t - - Update the label on a network interface, using the supplied new label. -*/ -typedef void mpo_ifnet_label_update_t( - struct ucred *cred, - struct ifnet *ifp, - struct label *ifnetlabel, - struct label *newlabel -); -/** @brief Device hardware access control @param devtype Type of device connected @param properties XML-formatted property list
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701221553.l0MFrRfK023774>