t6mls_socket man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



t6mls_socket(3N)					      t6mls_socket(3N)

NAME
     t6mls_socket - Mark a socket as trusted.

SYNOPSIS
     cc [ flags ... ] file

     #include <sys/t6attrs.h>

     int t6mls_socket(int fd, t6cmd_t state)

DESCRIPTION
     t6mls_socket marks a socket associated with file descriptor fd as
     trusted. By default, all sockets are untrusted.

     If the value of state is T6_ON, the socket is marked as trusted, meaning
     that security policy is not enforced on data being read by that socket.
     If the value of state is T6_OFF, the socket is marked as untrusted,
     meaning that security policy will again be enforced on data read by that
     socket.

REQUIREMENTS
     t6mls_socket requires the SGI Session Manager to be installed.

CAPABILITIES
     A process calling this function must have CAP_NETWORK_MGT capability in
     the effective vector of its capability set.

RETURN VALUES
     Upon successful completion, t6mls_socket will return NULL. Otherwise a
     specific error code is returned.

ERRORS
     [ENOSYS]	    Function not implemented.

     [EPERM]	    Do not have appropriate privileges.

     [EINVAL]	    Invalid entry.

     [ENOTSOCK]	    Attempted a Socket operation on a Non-Socket.

SEE ALSO
     t6recvfrom(3N), t6set_endpt_default(3N).

SOURCE
     Trusted Systems Interoperability Group

NOTES

									Page 1

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net