TSIX_ON(3N) TSIX_ON(3N)
tsix_on - enable trusted networking
#include <t6net.h>
int tsix_on(int fd);
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.
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.
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.
[ENOSYS] Function not implemented.
[EPERM] Operation not permitted.
[EINVAL] Invalid argument.
[ENOTSOCK] Attempted a socket operation on a non-socket.
sysconf(3c), tsix_off(3c)
PPPPaaaaggggeeee 1111 [ Back ]
|