函数逻辑报告 |
Source Code:security\selinux\include\avc.h |
Create Date:2022-07-27 20:16:06 |
| Last Modify:2020-03-18 08:09:09 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:avc_audit - Audit the granting or denial of permissions
函数原型:static inline int avc_audit(struct selinux_state *state, unsigned int ssid, unsigned int tsid, u16 tclass, unsigned int requested, struct av_decision *avd, int result, struct common_audit_data *a, int flags)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct selinux_state * | state | |
| unsigned int | ssid | |
| unsigned int | tsid | |
| u16 | tclass | |
| unsigned int | requested | |
| struct av_decision * | avd | |
| int | result | |
| struct common_audit_data * | a | |
| int | flags |
| 135 | 如果此条件成立可能性大(为编译器优化)(!audited)则返回:0 |
| 138 | 如果flags按位与called from RCU mode, don't block 则返回:负ECHILD |
| 名称 | 描述 |
|---|---|
| avc_has_perm | avc_has_perm - Check permissions and perform any appropriate auditing |
| avc_has_perm_flags | |
| cred_has_capability | Check whether a task is allowed to use a capability. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |