revoke policy

Revokes the capability from the holder and all its descendants in the capability derivation tree (CDT).

The holder can revoke the capability from itself and all its descendants in the CDT.

Type: call policy

Syntax

revoke <configuration> (in SID master,

in SID holder,

in SID resource)

Parameters

master

Parent of the capability holder that revokes this capability.

holder

Holder from which the capability is revoked.

resource

Resource SID associated with the capability.

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 if the capability was revoked, or KSS_DENY in the following cases:

All specified restrictions apply only within the ocap family instance.

Page top