AVC_INSERT

Section: ()
Updated: 06 October 2005
Index Return to Main Contents

 

NAME

avc_insert - Insert an AVC entry.  

SYNOPSIS

"SYNOPSIS"

int avc_insert (u32 ssid, u32 tsid, u16 tclass, struct avc_entry * ae, struct avc_entry_ref * aeref);  

ARGUMENTS

ssid
source security identifier
tsid
target security identifier
tclass
target security class
ae
AVC entry
aeref
AVC entry reference
 

DESCRIPTION

Insert an AVC entry for the SID pair (ssid, tsid) and class tclass. The access vectors and the sequence number are normally provided by the security server in response to a security_compute_av call. If the sequence number ae->avd.seqno is not less than the latest revocation notification, then the function copies the access vectors into a cache entry, updates aeref to refer to the entry, and returns 0. Otherwise, this function returns -EAGAIN.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 05:30:24 GMT, October 06, 2005