Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\apparmor\apparmorfs.c Create Date:2022-07-28 19:50:06
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:entry_remove_dir

Proto:static void __init entry_remove_dir(struct aa_sfs_entry *fs_dir)

Type:void

Parameter:

TypeParameterName
struct aa_sfs_entry *fs_dir
2502  When fs_file && name cycle
2503  If v_type == AA_SFS_TYPE_DIR Then entry_remove_dir(fs_file)
2505  Else ry_remove_file - drop a single file entry in the apparmor securityfs*@fs_file: aa_sfs_entry to detach from the securityfs (NOT NULL)
2509  ry_remove_file - drop a single file entry in the apparmor securityfs*@fs_file: aa_sfs_entry to detach from the securityfs (NOT NULL)
Caller
NameDescribe
entry_create_dirry_create_dir - recursively create a directory entry in the securityfs*@fs_dir: aa_sfs_entry (and all child entries) to build (NOT NULL)*@parent: the parent dentry in the securityfs* Use entry_remove_dir to remove entries created with this fn.
entry_remove_dir
aa_destroy_aafsaa_destroy_aafs - cleanup and free aafs* releases dentries allocated by aa_create_aafs