t6mls_socket(3N)

t6mls_socket - Mark a socket as trusted.

As shipped in IRIX 6.5. First release of IRIX 6.5.

NAME
     t6mls_socket - Mark a socket as trusted.

SYNOPSIS
     cc [ flags ... ] file -lt6

     #include <sys/t6attrs.h>

     int t6mls_socket(int fd, t6cmd_t state)

DESCRIPTION
     t6mls_socket() marks a socket associated with file descriptor fd as
     trusted. By default, all sockets are untrusted.

     If the value of state is T6_ON, the socket is marked as trusted, meaning
     that security policy is not enforced on data being read by that socket.
     If the value of state is T6_OFF, the socket is marked as untrusted,
     meaning that security policy will again be enforced on data read by that
     socket.

SEE ALSO
     t6recvfrom(3N), t6set_endpt_default(3N).

SOURCE
     Trusted Systems Interoperability Group

NOTES