函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__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

函数原型:static inline struct aa_loaddata *__aa_get_loaddata(struct aa_loaddata *data)

返回类型:struct aa_loaddata

参数:

类型参数名称
struct aa_loaddata *data
93  如果datakref_get_unless_zero - Increment refcount for object unless it is zero则返回:data
96  返回:NULL
调用者
名称描述
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
aa_get_loaddataaa_get_loaddata - get a reference count from a counted data reference*@data: reference to get a count on* Returns: point to reference* Requires: @data to have a valid reference count on it. It is a bug