函数逻辑报告 |
Source Code:security\apparmor\lsm.c |
Create Date:2022-07-27 21:37:22 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:mmon_perm - basic common permission check wrapper fn for paths*@op: operation being checked*@path: path to check permission of (NOT NULL)*@mask: requested permissions mask*@cond: conditional info for the permission request (NOT NULL)* Returns: %0 else
函数原型:static int common_perm(const char *op, const struct path *path, unsigned int mask, struct path_cond *cond)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
const char * | op | |
const struct path * | path | |
unsigned int | mask | |
struct path_cond * | cond |
207 | error等于0 |
210 | 如果非unconfined(label)则error等于aa_path_perm(op, label, path, 0, mask, cond) |
214 | 返回:error |
名称 | 描述 |
---|---|
common_perm_cond | mmon_perm_cond - common permission wrapper around inode cond*@op: operation being checked*@path: location to check (NOT NULL)*@mask: requested permissions mask* Returns: %0 else error code if error or permission denied |
common_perm_dir_dentry | mmon_perm_dir_dentry - common permission wrapper when path is dir, dentry*@op: operation being checked*@dir: directory of the dentry (NOT NULL)*@dentry: dentry to check (NOT NULL)*@mask: requested permissions mask*@cond: conditional info for the |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |