int avc_insert (u32 ssid, u32 tsid, u16 tclass, struct avc_entry * ae, struct avc_entry_ref * aeref);
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.