函数逻辑报告 |
Source Code:security\apparmor\path.c |
Create Date:2022-07-27 21:29:44 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:aa_path_name - get the pathname to a buffer ensure dir / is appended*@path: path the file (NOT NULL)*@flags: flags controlling path name generation*@buffer: buffer to put name in (NOT NULL)*@name: Returns - the generated path name if !error (NOT
函数原型:int aa_path_name(const struct path *path, int flags, char *buffer, const char **name, const char **info, const char *disconnected)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
const struct path * | path | |
int | flags | |
char * | buffer | |
const char ** | name | |
const char ** | info | |
const char * | disconnected |
200 | char * str = NULL |
208 | 否则如果error恒等于负ENAMETOOLONG则info等于"Failed name lookup - name too long" |
210 | 否则info等于"Failed name lookup" |
216 | 返回:error |
名称 | 描述 |
---|---|
profile_transition | |
profile_onexec | |
path_name | |
match_mnt_path_str | 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 |
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 |
profile_umount | |
build_pivotroot | helper fn for transition on pivotroot* Returns: label for transition or ERR_PTR. Does not return NULL |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |