*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> tsix_set_solabel (3n)              
Title
Content
Arch
Section
 

Contents


TSIX_SET_SOLABEL(3N)					  TSIX_SET_SOLABEL(3N)


NAME    [Toc]    [Back]

     tsix_set_solabel -	set the	MAC label of a socket

SYNOPSIS    [Toc]    [Back]

     #include <sys/mac.h>
     #include <t6net.h>

     int tsix_set_solabel(int fd, mac_t	lbl);

DESCRIPTION    [Toc]    [Back]

     tsix_set_solabel sets the MAC label of an Internet-domain socket
     represented by fd to the MAC label	pointed	to by lbl.

CAPABILITIES    [Toc]    [Back]

     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    [Toc]    [Back]

     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    [Toc]    [Back]

     [EINVAL]	    Invalid argument.

     [ENOSYS]	    Function not implemented.

SEE ALSO    [Toc]    [Back]

      
      
     sysconf(3c), tsix_get_solabel(3c)


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
mac_get_fd FreeBSD get the label of a file, socket, socket peer or process
mac_get_proc FreeBSD get the label of a file, socket, socket peer or process
mac_get_pid FreeBSD get the label of a file, socket, socket peer or process
mac_get_file FreeBSD get the label of a file, socket, socket peer or process
mac_get FreeBSD get the label of a file, socket, socket peer or process
tsix_get_solabel IRIX get the MAC label of a socket
tsix_recvfrom_mac IRIX receive a message and a MAC label from a socket
getsockname IRIX get socket name
BIO_s_socket NetBSD socket BIO
getsockname IRIX get socket name
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service