TSIX_ON(3N)TSIX_ON(3N)NAMEtsix_on - enable trusted networking
SYNOPSIS
#include <t6net.h>
int tsix_on(int fd);
DESCRIPTIONtsix_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 ALSOsysconf(3c), tsix_off(3c)
Page 1