Function report |
Source Code:security\apparmor\apparmorfs.c |
Create Date:2022-07-28 19:49:56 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:aafs_remove - removes a file or directory from the apparmorfs filesystem*@dentry: dentry of the file/directory/symlink to removed.
Proto:static void aafs_remove(struct dentry *dentry)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct dentry * | dentry |
| 388 | inode_lock(dir) |
| 389 | If simple_positive(dentry) Then |
| 390 | If d_is_dir(dentry) Then simple_rmdir(dir, dentry) |
| 392 | Else simple_unlink(dir, dentry) |
| 394 | delete a dentry |
| 397 | inode_unlock(dir) |
| 398 | simple_release_fs( & aafs_mnt, & aafs_count) |
| Name | Describe |
|---|---|
| remove_rawdata_dents | |
| __aafs_profile_rmdir | Requires: @profile->ns->lock held |
| __aafs_ns_rmdir | Requires: @ns->lock held |
| 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 |