tsix_set_solabel(3N)
tsix_set_solabel - set the MAC label of a socket
As shipped in IRIX 6.5.22. Last changed in IRIX 6.5.15.
NAME tsix_set_solabel - set the MAC label of a socket SYNOPSIS #include <sys/mac.h> #include <t6net.h> int tsix_set_solabel(int fd, mac_t lbl); DESCRIPTION tsix_set_solabel sets the MAC label of an Internet-domain socket represented by fd to the MAC label pointed to by lbl. 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_set_solabel always returns success. tsix_set_solabel returns 0 if successful, otherwise -1 is returned and the global error value errno is set to the appropriate error code. ERRORS [EINVAL] Invalid argument. [ENOSYS] Function not implemented. SEE ALSO sysconf(3c), tsix_get_solabel(3c)