函数逻辑报告 | 
Source Code:security\selinux\avc.c | 
Create Date:2022-07-27 20:16:32 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:avc_xperms_has_perm
函数原型:static inline unsigned int avc_xperms_has_perm(struct extended_perms_decision *xpd, u8 perm, u8 which)
返回类型:unsigned int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct extended_perms_decision * | xpd | |
| u8 | perm | |
| u8 | which | 
| 200 | rc等于0 | 
| 202 | 如果which恒等于XPERMS_ALLOWED且used按位与XPERMS_ALLOWED则rc等于security_xperm_test(p, perm) | 
| 205 | 否则如果which恒等于XPERMS_AUDITALLOW且used按位与XPERMS_AUDITALLOW则rc等于security_xperm_test(p, perm) | 
| 208 | 否则如果which恒等于XPERMS_DONTAUDIT且used按位与XPERMS_DONTAUDIT则rc等于security_xperm_test(p, perm) | 
| 211 | 返回:rc | 
| 名称 | 描述 | 
|---|---|
| avc_xperms_audit_required | |
| avc_has_extended_perms | The avc extended permissions logic adds an additional 256 bits of* permissions to an avc node when extended permissions for that node are* specified in the avtab | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |