函数逻辑报告 |
Source Code:security\selinux\avc.c |
Create Date:2022-07-27 20:17:50 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:avc_has_perm_noaudit - Check permissions but perform no auditing
函数原型:inline int avc_has_perm_noaudit(struct selinux_state *state, unsigned int ssid, unsigned int tsid, u16 tclass, unsigned int requested, unsigned int flags, struct av_decision *avd)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct selinux_state * | state | |
unsigned int | ssid | |
unsigned int | tsid | |
u16 | tclass | |
unsigned int | requested | |
unsigned int | flags | |
struct av_decision * | avd |
1137 | rc等于0 |
1146 | 如果此条件成立可能性小(为编译器优化)(!node)则node等于Slow-path helper function for avc_has_perm_noaudit,* when the avc_node lookup fails |
1152 | 如果此条件成立可能性小(为编译器优化)(denied)则rc等于avc_denied(state, ssid, tsid, tclass, requested, 0, 0, flags, avd) |
1157 | 返回:rc |
名称 | 描述 |
---|---|
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. |
selinux_inode_permission |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |