函数逻辑报告 |
Source Code:security\selinux\avc.c |
Create Date:2022-07-27 20:16:23 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:avc_hash
函数原型:static inline int avc_hash(unsigned int ssid, unsigned int tsid, u16 tclass)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
unsigned int | ssid | |
unsigned int | tsid | |
u16 | tclass |
126 | 返回:ssid按位异或tsid左移2位按位异或tclass左移4位的值按位与AVC_CACHE_SLOTS减1 |
名称 | 描述 |
---|---|
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 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |