Trusted Solaris Developer's Guide

Attribute Enumerations

The t6attr_id_t structure contains enumerated constants that represent the full set of security attribute values. Variables of type t6attr_t are initialized with these constants. Most of the constants have a fixed size in bytes as shown below; however, T6_GROUPS, has a variable size that reflects the actual size of its value.

Enumerated Constant 

Description 

Data Type 

Size in Bytes 

T6_SL

Sensitivity label 

bslabel_t 

36 

T6_SESSION_ID

Network session ID 

sid_t 

T6_CLEARANCE

Clearance 

bclear_t 

36 

T6_PRIVILEGES

Effective privileges 

priv_set_t 

16 

T6_AUDIT_ID

Audit ID 

au_id_t 

T6_PID

Process ID 

pid_t 

T6_AUDIT_INFO

Additional audit info 

auditinfo_t 

24 

T6_UID

Effective User ID 

uid_t 

T6_GID

Effective Group ID 

gid_t 

T6_GROUPS

Supplementary Group IDs 

gid_t 

Variable 

T6_PROC_ATTR

Process Attribute Flags 

pattr_t