derive policy

Performs capability transfer with the specified list of access rights.

In this case, the capability holder (master) retains the ability to revoke the transferred capability from the recipient. The capability holder must have the Derive permission.

The list of access rights is passed in the policy arguments.

Type: call policy

Syntax

derive <configuration> (in SID master,

in SID recipient,

in SID resource,

in Rights rights)

Parameters

master

Holder transferring the capability.

recipient

Recipient of the capability.

resource

Resource SID associated with the capability.

rights

Mask of access rights.

Policy configuration

<configuration> ::= "{" <type> "}"

<type> ::= "type" ":" <resource-type>

Configuration elements

<resource-type>

Resource type assigned during initialization of the capability. It must match one of the types in the family instance configuration.

Returned value

KSS_GRANT in the following cases:

KSS_DENY in the following cases:

All specified restrictions apply only within the ocap family instance.

Page top