函数逻辑报告 |
Source Code:security\selinux\avc.c |
Create Date:2022-07-27 20:17:39 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:avc_denied
函数原型:static noinline int avc_denied(struct selinux_state *state, unsigned int ssid, unsigned int tsid, u16 tclass, unsigned int requested, u8 driver, u8 xperm, unsigned int flags, struct av_decision *avd)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct selinux_state * | state | |
unsigned int | ssid | |
unsigned int | tsid | |
u16 | tclass | |
unsigned int | requested | |
u8 | driver | |
u8 | xperm | |
unsigned int | flags | |
struct av_decision * | avd |
1013 | 如果flags按位与Ignore permissive mode. 则返回:负EACCES |
1016 | 如果enforcing_enabled(state)且非flags按位与definitions of av_decision.flags 的值则返回:负EACCES |
1022 | 返回:0 |
名称 | 描述 |
---|---|
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 |
avc_has_perm_noaudit | avc_has_perm_noaudit - Check permissions but perform no auditing |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |