.th compart_set IIa 4/21/86
.sh NAME
compart_set \- set of security compartments
.sh SYNOPSIS
.nf
 bits32;
.fi
.sh DESCRIPTION
A maximum of 32 security compartments may be used in a KSOS system.
The type independent information (the tii_struct) of every object
contains a compart_set field that determines which security
compartments the object belongs to, with each bit indicating one
compartment.  A process may not read an object if the object belongs to
any compartments which the process does not belong to.  A process may
not write on an object if the process belongs to any compartments that
the object does not belong to.
.s3
The 32 compartments are given arbitrary names via an
enumerated type as is shown below:
.s3
.nf
compartments = (
    SYSTEM,        compart_1,     compart_2,     compart_3,
    compart_4,     compart_5,     compart_6,     compart_7,
    compart_8,     compart_9,     compart_10,    compart_11,
    compart_12,    compart_13,    compart_14,    compart_15,
    compart_16,    compart_17,    compart_18,    compart_19,
    compart_20,    compart_21,    compart_22,    compart_23,
    compart_24,    compart_25,    compart_26,    compart_27,
    compart_28,    compart_29,    compart_30,    compart_31
    );
.fi
.sh "SEE ALSO"
tii_struct(IIa)
