函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\apparmor\apparmorfs.c Create Date:2022-07-27 21:25:00
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:entry_remove_dir

函数原型:static void __init entry_remove_dir(struct aa_sfs_entry *fs_dir)

返回类型:void

参数:

类型参数名称
struct aa_sfs_entry *fs_dir
2502 fs_filename循环
2503  如果v_type恒等于AA_SFS_TYPE_DIRentry_remove_dir(fs_file)
2505  否则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)
调用者
名称描述
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