函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:aa_clear_task_ctx_trans - clear transition tracking info from the ctx*@ctx: task context to clear (NOT NULL)

函数原型:static inline void aa_clear_task_ctx_trans(struct aa_task_ctx *ctx)

返回类型:void

参数:

类型参数名称
struct aa_task_ctx *ctx
71  AA_BUG(!ctx)
73  aa_put_label(previous)
74  aa_put_label(onexec)
75  previous = NULL
76  onexec = NULL
77  token等于0
调用者
名称描述
aa_replace_current_labelaa_replace_current_label - replace the current tasks label*@label: new label (NOT NULL)* Returns: 0 or error on failure
aa_restore_previous_labelaa_restore_previous_label - exit from hat context restoring previous label*@token: the token that must be matched to exit hat context* Attempt to return out of a hat to the previous label
apparmor_bprm_committed_credsapparmor_bprm_committed_cred - do cleanup after new creds committed*@bprm: binprm for the exec (NOT NULL)