PERFORCE change 92505 for review
Robert Watson
rwatson at FreeBSD.org
Mon Feb 27 17:32:47 PST 2006
http://perforce.freebsd.org/chv.cgi?CH=92505
Change 92505 by rwatson at rwatson_peppercorn on 2006/02/28 01:31:49
Remove socket token creation, which depends on BSD kernel data
structures (and isn't implemented in libbsm anyway).
Affected files ...
.. //depot/projects/trustedbsd/openbsm/libbsm/bsm_token.c#39 edit
Differences ...
==== //depot/projects/trustedbsd/openbsm/libbsm/bsm_token.c#39 (text+ko) ====
@@ -30,7 +30,7 @@
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
- * $P4: //depot/projects/trustedbsd/openbsm/libbsm/bsm_token.c#38 $
+ * $P4: //depot/projects/trustedbsd/openbsm/libbsm/bsm_token.c#39 $
*/
#include <sys/types.h>
@@ -800,50 +800,6 @@
/*
* token ID 1 byte
- * socket type 2 bytes
- * local port 2 bytes
- * local Internet address 4 bytes
- * remote port 2 bytes
- * remote Internet address 4 bytes
- */
-token_t *
-au_to_socket(struct socket *so)
-{
-
- errno = ENOTSUP;
- return (NULL);
-}
-
-/*
- * token ID 1 byte
- * socket type 2 bytes
- * local port 2 bytes
- * address type/length 4 bytes
- * local Internet address 4 bytes/16 bytes (IPv4/IPv6 address)
- * remote port 4 bytes
- * address type/length 4 bytes
- * remote Internet address 4 bytes/16 bytes (IPv4/IPv6 address)
- */
-token_t *
-au_to_socket_ex_32(u_int16_t lp, u_int16_t rp, struct sockaddr *la,
- struct sockaddr *ra)
-{
-
- errno = ENOTSUP;
- return (NULL);
-}
-
-token_t *
-au_to_socket_ex_128(u_int16_t lp, u_int16_t rp, struct sockaddr *la,
- struct sockaddr *ra)
-{
-
- errno = ENOTSUP;
- return (NULL);
-}
-
-/*
- * token ID 1 byte
* socket family 2 bytes
* path 104 bytes
*/
More information about the trustedbsd-cvs
mailing list