Function report |
Source Code:security\selinux\include\avc.h |
Create Date:2022-07-28 18:42:31 |
Last Modify:2020-03-18 08:09:09 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:avc_audit - Audit the granting or denial of permissions
Proto: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)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
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 | If Value is more likely to compile time(!audited) Then Return 0 |
138 | If flags & called from RCU mode, don't block Then Return -ECHILD |
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. |
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 |