Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

Proto:void __aafs_profile_migrate_dents(struct aa_profile *old, struct aa_profile *new)

Type:void

Parameter:

TypeParameterName
struct aa_profile *old
struct aa_profile *new
1566  AA_BUG(!old)
1567  AA_BUG(!new)
1568  AA_BUG(!mutex_is_locked( & lock))
1570  When i < AAFS_PROF_SIZEOF cycle
1571  dents[i] = dents[i]
1572  If dents[i] Then i_mtime = current_time( Where the name belongs to - NULL is * negative )
1574  dents[i] = NULL
Caller
NameDescribe
__replace_profile__replace_profile - replace @old with @new on a list*@old: profile to be replaced (NOT NULL)*@new: profile to replace @old with (NOT NULL)*@share_proxy: transfer @old->proxy to @new* Will duplicate and refcount elements that @new inherits from @old