函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Requires: @old->ns->lock held

函数原型:void __aafs_profile_migrate_dents(struct aa_profile *old, struct aa_profile *new)

返回类型:void

参数:

类型参数名称
struct aa_profile *old
struct aa_profile *new
1566  AA_BUG(!old)
1567  AA_BUG(!new)
1568  AA_BUG(!是互斥锁)
1570 i小于AAFS_PROF_SIZEOF循环
1571  dents[i]等于dents[i]
1572  如果dents[i]则i_mtime等于current_time( Where the name belongs to - NULL is * negative )
1574  dents[i] = NULL
调用者
名称描述
__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