函数逻辑报告 |
Source Code:security\apparmor\lsm.c |
Create Date:2022-07-27 21:37:35 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:apparmor_path_rename
函数原型:static int apparmor_path_rename(const struct path *old_dir, struct dentry *old_dentry, const struct path *new_dir, struct dentry *new_dentry)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| const struct path * | old_dir | |
| struct dentry * | old_dentry | |
| const struct path * | new_dir | |
| struct dentry * | new_dentry |
| 357 | error等于0 |
| 359 | 如果非path_mediated_fs(old_dentry)则返回:0 |
| 363 | 如果非unconfined(label)则 |
| 372 | error等于aa_path_perm(OP_RENAME_SRC, label, & old_path, 0, MAY_READ | meta read | MAY_WRITE | meta write | AA_MAY_DELETE, & cond) |
| 376 | 如果非error则error等于aa_path_perm(OP_RENAME_DEST, label, & new_path, 0, MAY_WRITE | meta write | AA_MAY_CREATE, & cond) |
| 384 | 返回:error |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |