The following data types are defined in X11/extensions/Xtsol.h and are used for the Trusted Extensions X Window System APIs:
Object type for X11 – The ResourceType definition indicates the type of resource to be handled. The value can be IsWindow, IsPixmap, or IsColormap.
ResourceType is a type definition to represent a clearance. Interfaces accept a structure of type m_label_t as parameters and return clearances in a structure of the same type.
Object attributes for X11 –The XTsolResAttributes structure contains these resource attributes:
typedef struct _XTsolResAttributes {
CARD32 ouid; /* owner uid */
CARD32 uid; /* uid of the window */
m_label_t *sl; /* sensitivity label */
} XTsolResAttributes;
Property attributes for X11 – The XTsolPropAttributes structure contains these property attributes:
typedef struct _XTsolPropAttributes {
CARD32 uid; /* uid of the property */
m_label_t *sl; /* sensitivity label */
} XTsolPropAttributes;
Client attributes for X11 – The XTsolClientAttributes structure contains these client attributes:
typedef struct _XTsolClientAttributes {
int trustflag; /* true if client masked as trusted */
uid_t uid; /* owner uid who started the client */
gid_t gid; /* group id */
pid_t pid; /* process id */
u_long sessionid; /* session id */
au_id_t auditid; /* audit id */
u_long iaddr; /* internet addr of host where client is running */
} XTsolClientAttributes;