| Function report | 
| Source Code: security\apparmor\apparmorfs.c | Create Date:2022-07-28 19:50:02 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:__aa_fs_create_rawdata
Proto:int __aa_fs_create_rawdata(struct aa_ns *ns, struct aa_loaddata *rawdata)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct aa_ns * | ns | |
| struct aa_loaddata * | rawdata | 
| 1464 | AA_BUG(!mutex_is_locked( & lock)) | 
| 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 | If aa_g_hash_policy Then | 
| 1499 | dents[AAFS_LOADDATA_HASH] = dent | 
| 1507 | dents[AAFS_LOADDATA_COMPRESSED_SIZE] = dent | 
| 1513 | dents[AAFS_LOADDATA_DATA] = dent | 
| 1520 | Return 0 | 
| 1522 | fail : | 
| 1523 | remove_rawdata_dents(rawdata) | 
| Name | Describe | 
|---|---|
| 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 | 
| Source code conversion tool public plug-in interface | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |