Function report |
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 activity | Download SCCT | Chinese |
Name:avc_hash
Proto:static inline int avc_hash(unsigned int ssid, unsigned int tsid, u16 tclass)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned int | ssid | |
unsigned int | tsid | |
u16 | tclass |
126 | Return ( ssid ^ tsid << 2 ^ tclass << 4 ) & AVC_CACHE_SLOTS - 1 |
Name | Describe |
---|---|
avc_search_node | |
avc_insert | avc_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_node | avc_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 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |