Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:aa_load_ent_free

Proto:void aa_load_ent_free(struct aa_load_ent *ent)

Type:void

Parameter:

TypeParameterName
struct aa_load_ent *ent
1031  If ent Then
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  kfree(ns_name)
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
Caller
NameDescribe
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