Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__aa_get_loaddata - get a reference count to uncounted data reference*@data: reference to get a count on* Returns: pointer to reference OR NULL if race is lost and reference is* being repeated

Proto:static inline struct aa_loaddata *__aa_get_loaddata(struct aa_loaddata *data)

Type:struct aa_loaddata

Parameter:

TypeParameterName
struct aa_loaddata *data
93  If data && kref_get_unless_zero - Increment refcount for object unless it is zero Then Return data
96  Return NULL
Caller
NameDescribe
seq_rawdata_open
rawdata_open
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