tsix_on(3N)

tsix_on - enable trusted networking

Showing IRIX 6.5.30 (default release). Last changed in IRIX 6.5.15.

NAME
     tsix_on - enable trusted networking

SYNOPSIS
     #include <t6net.h>

     int tsix_on(int fd);

DESCRIPTION
     tsix_on enables trusted operation on file descriptor fd, which must be
     associated with a socket.  This causes the socket to ignore normal system
     security policy regarding incoming data.

CAPABILITIES
     If _SC_CAP is in effect, a process calling this function must have
     CAP_NETWORK_MGT capability in the permitted vector of its capability set.

RETURN VALUES
     If _SC_IP_SECOPTS is not in effect, tsix_on always returns success.

     tsix_on returns 0 if successful, otherwise -1 is returned and the global
     error value errno is set the appropriate error code.

ERRORS
     [ENOSYS]       Function not implemented.

     [EPERM]        Operation not permitted.

     [EINVAL]       Invalid argument.

     [ENOTSOCK]     Attempted a socket operation on a non-socket.

SEE ALSO
     sysconf(3c), tsix_off(3c)