Function report |
Source Code:security\selinux\avc.c |
Create Date:2022-07-28 18:44:19 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:avc_has_perm_noaudit - Check permissions but perform no auditing
Proto: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)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
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 | If Value for the false possibility is greater at compile time(!node) Then node = Slow-path helper function for avc_has_perm_noaudit,* when the avc_node lookup fails |
1152 | If Value for the false possibility is greater at compile time(denied) Then rc = avc_denied(state, ssid, tsid, tclass, requested, 0, 0, flags, avd) |
1157 | Return rc |
Name | Describe |
---|---|
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 |
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 |