initialize_transition_auto policy

Automatically assigns the type to the domain according to the inheritance matrix (transitions).

The type assigned to the child is determined based on the image and type that is assigned to the specified parent. If several types are allowed for the child, the first type will be assigned.

The image is passed in the policy arguments.

Type: call policy

Syntax

initialize_transition_auto(in SID sid, in SID parent,

in te_image child_image);

Parameters

sid

SID of the child to which the type is assigned.

parent

SID of the parent from which the type is inherited.

child_image

Child image.

Returned value

KSS_GRANT if the type was successfully assigned, otherwise KSS_DENY.

The type will not be defined in the following cases:

Page top