Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\selinux\avc.c Create Date:2022-07-28 18:42:49
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:avc_hash

Proto:static inline int avc_hash(unsigned int ssid, unsigned int tsid, u16 tclass)

Type:int

Parameter:

TypeParameterName
unsigned intssid
unsigned inttsid
u16tclass
126  Return ( ssid ^ tsid << 2 ^ tclass << 4 ) & AVC_CACHE_SLOTS - 1
Caller
NameDescribe
avc_search_node
avc_insertavc_insert - Insert an AVC entry.*@ssid: source security identifier*@tsid: target security identifier*@tclass: target security class*@avd: resulting av decision*@xp_node: resulting extended permissions* Insert an AVC entry for the SID pair
avc_update_nodeavc_update_node Update an AVC entry*@event : Updating event*@perms : Permission mask bits*@ssid,@tsid,@tclass : identifier of an AVC entry*@seqno : sequence number when decision was made*@xpd: extended_perms_decision to be added to the node