Assigns the specified type to the domain, if allowed by the inheritance matrix (transitions
).
The check is performed based on the image and type that is assigned to the specified parent.
The image is passed in the policy arguments.
Type: call
policy
Syntax
initialize_transition_check(in SID sid, in SID parent,
in te_image child_image,
in te_type child_type);
Parameters
|
SID of the child to which the type is assigned. |
|
SID of the parent from which the type is inherited. |
|
Child image. |
|
Type that must be assigned to the child. |
Returned value
KSS_GRANT
if the type was successfully assigned, otherwise KSS_DENY
.
The type will not be defined in the following cases:
types
.images
.