.th K_set_object_level II 4/21/86
.sh NAME
K_set_object_level - set access level of object
.sh "MODULA SYNOPSIS"
.nh
.na
CONST objSeid: seid;
.br
CONST level: tii_struct;
.br
CONST choice: selector;
.br
VAR stat: K_err_num;
.br
. . .
.br
stat := NK_set_object_level(objSeid, level, choice);
.br
.hy
.ad
.sp
.sh "C SYNOPSIS"
.nh
.na
seid objSeid;
.br
tii_struct level;
.br
selector choice;
.br
int stat;
.br
. . .
.br
stat = K_set_object_level (objSeid, &level, choice);
.br
.hy
.ad
.sh DESCRIPTION
The K_set_object_level primitive sets the security relevant type
independent information for an object.
.sp
Processes with the privilege to set object level shall be capable
of changing
.sp
    \(bu  the user which owns the object
.sp
    \(bu  the group which owns the object
.sp
.sp
    \(bu  the security level (security category and compartments)
.sp
    \(bu  the integrity level (integrity category and (presently null) compartments.)

The selector bit positions within the choice parameter are:

.nf

	 setol_acclev    01
	 setol_owner     02
	 setol_group     04
	 setol_da       010
	 setol_priv     020

.fi
.sp
.sh EXCEPTIONS
.lp 22 15
XnoObj	Object does not exist, or process cannot determine existence
due to access checks.
.lp 22 15
XnoSLev	Process does not have PrivSetLev.
.i0
.sh "SEE ALSO"
K_get_object_level(II),
priv_struct(IIa),
tii_struct(IIa)
