函数逻辑报告 |
Source Code:security\apparmor\apparmorfs.c |
Create Date:2022-07-27 21:23:31 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:__aa_fs_create_rawdata
函数原型:int __aa_fs_create_rawdata(struct aa_ns *ns, struct aa_loaddata *rawdata)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct aa_ns * | ns | |
struct aa_loaddata * | rawdata |
1465 | AA_BUG(!ns_subdata_dir(ns)) |
1472 | name等于kasprintf(GFP_KERNEL, "%ld", revision) |
1476 | dir等于aafs_create_dir - create a directory in the apparmorfs filesystem*@name: name of dentry to create*@parent: parent directory for this dentry* see aafs_create |
1480 | dents[AAFS_LOADDATA_DIR]等于dir |
1486 | dents[AAFS_LOADDATA_ABI]等于dent |
1492 | dents[AAFS_LOADDATA_REVISION]等于dent |
1494 | 如果aa_g_hash_policy则 |
1499 | dents[AAFS_LOADDATA_HASH]等于dent |
1513 | dents[AAFS_LOADDATA_DATA]等于dent |
1517 | 添加链表项 |
1520 | 返回:0 |
1522 | fail : |
1523 | remove_rawdata_dents(rawdata) |
1525 | 返回:错误 |
名称 | 描述 |
---|---|
aa_replace_profiles | aa_replace_profiles - replace profile(s) on the profile list*@policy_ns: namespace load is occurring on*@label: label that is attempting to load/replace policy*@mask: permission mask*@udata: serialized data stream (NOT NULL)* unpack and replace a profile |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |