Function report |
Source Code:security\apparmor\net.c |
Create Date:2022-07-28 19:54:56 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Generic af perm
Proto:int aa_profile_af_perm(struct aa_profile *profile, struct common_audit_data *sa, unsigned int request, u16 family, int type)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct aa_profile * | profile | |
struct common_audit_data * | sa | |
unsigned int | request | |
u16 | family | |
int | type |
116 | If profile_unconfined(profile) Then Return 0 |
118 | state = PROFILE_MEDIATES(profile, AA_CLASS_NET) |
119 | If Not state Then Return 0 |
122 | buffer[0] = cpu_to_be16(family) |
123 | buffer[1] = cpu_to_be16((u16)type) |
126 | aa_compute_perms(Generic policy DFA specific rule types will be subsections of it , state, & perms) |
Name | Describe |
---|---|
aa_af_perm |
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 |