NAME
libt6 - TSIX trusted IPC library
DESCRIPTION
libt6 constitutes the TSIX Application Program Interface (API).
It is a library of routines that an application uses to control attribute
transport during trusted interprocess communication. The routines in the
library are recommended over the underlying system call interfaces for
portability because they shield the application from operating system,
communication protocol, and IPC mechanism specifics.
The libt6 routines provide interfaces through which the trusted application:
x Specifies the security attributes used to label outgoing IPC messages ( on - message attributes ) and reads the on-message attributes associated with a received message.
x Controls the security options of the endpoint used to perform trusted IPC.
SECURITY ATTRIBUTES
The security attributes associated with the sending process are called
onmessage attributes because they are independent of the contents of the
message. The TCBs decide what to do with the message based on the on-message
attributes. The security attributes associated with a process, and therefore
those that are used to label IPC messages, vary with the configuration
of the system but must be a subset of the following attributes:
Sensitivity label
Nationality Caveats
Integrity Label
TSIX Session ID
Clearance
Access Control List
Information label
Effective Privileges
Audit ID
Process ID
Additional Audit Information
Process Attributes
User ID
Group ID
Supplementary Group IDs
NOTE: Some of these attributes imply component security policies that may not be available on some systems.
The TSIX application program interface allows trusted applications to change the on-message attributes associated with an outgoing message and retrieve the on-message attributes associated with an incoming message.
ON-MESSAGE ATTRIBUTE ROUTINES
The on-message attribute routines affect the security attributes associated
with outgoing messages or retrieve attributes associated with incoming
messages. The caller specifies attributes to these routines through a
t6attr_t control structure (defined in <tsix/t6attrs.h>
, an opaque structure used to access sets of security attributes. The caller
specifies the attributes applied to outbound messages or retrieved from
incoming messages through TSIX routines. Specified attributes are copied
from or written to the buffers accessible through the control structure.
Any attributes not designated by the sender are supplied for outgoing messages
by the underlying trusted kernel. The routines that send and retrieve on-message
attributes operate on sockets or streams, generically referred to as endpoints.
t6set_endpt_mask(3N) Sets the endpoint mask.
t6get_endpt_default(3N)
Gets the endpoint default security attributes.
t6set_endpt_default(3N)
Sets the endpoint default security attributes.
t6supported_attrs(3N) Get the mask of system supported attributes.
t6allocated_attrs(3N) Get the mask of attributes that have been allocated space in a t6 control structure.
t6present_attrs(3N) Get the mask of attributes that are present in a t6 control structure.
NETWORK ENDPOINT SECURITY OPTIONS
A trusted application can manipulate a number of security options associated
with the network endpoint via the following calls: