add {sid : <Sid>, entry : <Entry>}
It adds the entry
value to the table associated with the sid
resource.
It returns the "allowed" result in the following cases:
entry
value to the table associated with the sid
resource.sid
resource already contains the entry
value.It returns the "denied" result in the following cases:
sid
resource is completely full.sid
resource is not associated with a table from the tables pool of the HashSet security model object being used.sid
value is outside of the permissible range.Example:
/* A process of the Server class will receive the "allowed" decision from
* the Kaspersky Security Module by calling the
* Add security interface method if, when this method is called, the value
* 5 will be added to the table associated with this
* process, or is already in the table. Otherwise
* a process of the Server class will receive the "denied" decision from the
* security module by calling the
* Add security interface method. */
security src=Server, method=Add {
S.add {sid : src_sid, entry : 5}
}
Page top