函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:aa_load_ent_free

函数原型:void aa_load_ent_free(struct aa_load_ent *ent)

返回类型:void

参数:

类型参数名称
struct aa_load_ent *ent
1031  如果ent
1032  aa_put_profile - decrement refcount on profile @p*@p: profile (MAYBE NULL)
1033  aa_put_profile - decrement refcount on profile @p*@p: profile (MAYBE NULL)
1034  aa_put_profile - decrement refcount on profile @p*@p: profile (MAYBE NULL)
1035  释放内存
1036  kzfree - like kfree but zero memory*@p: object to free memory of* The memory of the object @p points to is zeroed before freed.* If @p is %NULL, kzfree() does nothing.* Note: this function zeroes the whole allocated buffer which can be a good
调用者
名称描述
aa_replace_profilesaa_replace_profiles - replace profile(s) on the profile list*@policy_ns: namespace load is occurring on*@label: label that is attempting to load/replace policy*@mask: permission mask*@udata: serialized data stream (NOT NULL)* unpack and replace a profile
aa_unpackaa_unpack - unpack packed binary profile(s) data loaded from user space*@udata: user data copied to kmem (NOT NULL)*@lh: list to place unpacked profiles in a aa_repl_ws*@ns: Returns namespace profile is in if specified else NULL (NOT NULL)* Unpack user