Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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 activityDownload SCCTChinese

Name:Requires: @profile->ns->lock held

Proto:void __aafs_profile_rmdir(struct aa_profile *profile)

Type:void

Parameter:

TypeParameterName
struct aa_profile *profile
1539  If Not profile Then Return
1542  list_for_each_entry - iterate over list of given type*@pos: the type * to use as a loop cursor.*@head: the head for your list.*@member: the name of the list_head within the struct.(child, & profiles, list)
1543  Requires: @profile->ns->lock held
1545  When i >= 0 cycle
1547  If Not dents[i] Then Continue
1550  proxy = i_private
1551  aafs_remove - removes a file or directory from the apparmorfs filesystem*@dentry: dentry of the file/directory/symlink to removed.
1552  aa_put_proxy(proxy)
1553  dents[i] = NULL
Caller
NameDescribe
__aafs_profile_rmdirRequires: @profile->ns->lock held
__aafs_profile_mkdirRequires: @profile->ns->lock held
__aafs_ns_rmdirRequires: @ns->lock held
__remove_profile__remove_profile - remove old profile, and children*@profile: profile to be replaced (NOT NULL)* Requires: namespace list lock be held, or list not be shared