函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:aa_cred_raw_label - obtain cred's label*@cred: cred to obtain label from (NOT NULL)* Returns: confining label* does NOT increment reference count

函数原型:static inline struct aa_label *aa_cred_raw_label(const struct cred *cred)

返回类型:struct aa_label

参数:

类型参数名称
const struct cred *cred
49  label等于cred_label(cred)
51  AA_BUG(!label)
52  返回:label
调用者
名称描述
aa_get_newest_cred_labelaa_get_newest_cred_label - obtain the newest label on a cred*@cred: cred to obtain label from (NOT NULL)* Returns: newest version of confining label
__aa_task_raw_label__aa_task_raw_label - retrieve another task's label*@task: task to query (NOT NULL)* Returns: @task's label without incrementing its ref count* If @task != current needs to be called in RCU safe critical section
aa_current_raw_labelaa_current_raw_label - find the current tasks confining label* Returns: up to date confining label or the ns unconfined label (NOT NULL)* This fn will not update the tasks cred to the most up to date version