函数逻辑报告 |
Source Code:security\apparmor\net.c |
Create Date:2022-07-27 21:48:23 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Generic af perm
函数原型:int aa_profile_af_perm(struct aa_profile *profile, struct common_audit_data *sa, unsigned int request, u16 family, int type)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct aa_profile * | profile | |
| struct common_audit_data * | sa | |
| unsigned int | request | |
| u16 | family | |
| int | type |
| 116 | 如果profile_unconfined(profile)则返回:0 |
| 118 | state等于PROFILE_MEDIATES(profile, AA_CLASS_NET) |
| 119 | 如果非state则返回: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) |
| 名称 | 描述 |
|---|---|
| aa_af_perm |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |