| 函数逻辑报告 | 
| Source Code: security\apparmor\lsm.c | Create Date:2022-07-27 21:37:40 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:apparmor_file_open
函数原型:static int apparmor_file_open(struct file *file)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct file * | file | 
| 406 | error等于0 | 
| 408 | 如果非path_mediated_fs(dentry)则返回:0 | 
| 416 | 如果in_execve则 | 
| 417 | allow等于MAY_EXEC按位或MAY_READ按位或AA_EXEC_MMAP | 
| 418 | 返回:0 | 
| 421 | label等于aa_get_newest_cred_label - obtain the newest label on a cred*@cred: cred to obtain label from (NOT NULL)* Returns: newest version of confining label | 
| 422 | 如果非unconfined(label)则 | 
| 423 | inode等于file_inode(file) | 
| 431 | aa_put_label(label) | 
| 433 | 返回:error | 
| 源代码转换工具 开放的插件接口 | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |