函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:apparmor_task_kill

函数原型:static int apparmor_task_kill(struct task_struct *target, struct kernel_siginfo *info, int sig, const struct cred *cred)

返回类型:int

参数:

类型参数名称
struct task_struct *target
struct kernel_siginfo *info
intsig
const struct cred *cred
748  如果cred
752  cl等于aa_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
753  tl等于aa_get_task_label - Get another task's label*@task: task to query (NOT NULL)* Returns: counted reference to @task's label
754  error等于aa_may_signal(cl, tl, sig)
755  aa_put_label(cl)
756  aa_put_label(tl)
757  返回:error
760  cl等于__begin_current_label_crit_section - current's confining label* Returns: up to date confining label or the ns unconfined label (NOT NULL)* safe to call inside locks* The returned reference must be put with __end_current_label_crit_section()* This must NOT
761  tl等于aa_get_task_label - Get another task's label*@task: task to query (NOT NULL)* Returns: counted reference to @task's label
762  error等于aa_may_signal(cl, tl, sig)
763  aa_put_label(tl)
764  __end_current_label_crit_section(cl)
766  返回:error