Function report |
Source Code:security\selinux\avc.c |
Create Date:2022-07-28 18:44:07 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:avc_denied
Proto: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)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
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 | If flags & Ignore permissive mode. Then Return -EACCES |
1016 | If enforcing_enabled(state) && Not (flags & definitions of av_decision.flags ) Then Return -EACCES |
1022 | Return 0 |
Name | Describe |
---|---|
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 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |