HashSet class add policy

Adds the specified value to the array associated with the resource.

Type: rule policy.

Syntax

add {sid: Handle, entry: Entry}

In this case:

Returned value

KSS_GRANT if the value was added or if the array already contains this value.

KSS_DENY in the following cases:

Example

...

/* For a Server entity query via the security interface, the value 5 is added to the array associated with the entity */

security src=Server, method=Add {

S.add {sid: src_sid, entry: 5}

}

Page top