函数逻辑报告 |
Source Code:security\apparmor\mount.c |
Create Date:2022-07-27 21:47:15 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:match_mnt_path_str - handle path matching for mount*@profile: the confining profile*@mntpath: for the mntpnt (NOT NULL)*@buffer: buffer to be used to lookup mntpath*@devnme: string for the devname/src_name (MAY BE NULL OR ERRPTR)*@type: string for the dev
函数原型:static int match_mnt_path_str(struct aa_profile *profile, const struct path *mntpath, char *buffer, const char *devname, const char *type, unsigned long flags, void *data, bool binary, const char *devinfo)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct aa_profile * | profile | |
const struct path * | mntpath | |
char * | buffer | |
const char * | devname | |
const char * | type | |
unsigned long | flags | |
void * | data | |
bool | binary | |
const char * | devinfo |
329 | 如果非PROFILE_MEDIATES(profile, AA_CLASS_MOUNT)则返回:0 |
336 | 如果是错误则 |
344 | pos等于Returns 0 on success else element that match failed in, this is the* index into the mnt_info_table above |
347 | 如果pos则 |
348 | info等于mnt_info_table[pos] |
349 | 转到:audit |
351 | error等于0 |
353 | audit : |
名称 | 描述 |
---|---|
match_mnt | match_mnt - handle path matching for mount*@profile: the confining profile*@mntpath: for the mntpnt (NOT NULL)*@buffer: buffer to be used to lookup mntpath*@devpath: path devname/src_name (MAYBE NULL)*@devbuffer: buffer to be used to lookup |
aa_new_mount |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |