函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:aa_set_current_onexec - set the tasks change_profile to happen onexec*@label: system label to set at exec (MAYBE NULL to clear value)*@stack: whether stacking should be done* Returns: 0 or error on failure

函数原型:int aa_set_current_onexec(struct aa_label *label, bool stack)

返回类型:int

参数:

类型参数名称
struct aa_label *label
boolstack
95  ctx等于task_ctx(当前进程)
97  aa_get_label(label)
98  aa_put_label(onexec)
99  onexec等于label
100  token等于stack
102  返回:0
调用者
名称描述
aa_change_profileaa_change_profile - perform a one-way profile transition*@fqname: name of profile may include namespace (NOT NULL)*@onexec: whether this transition is to take place immediately or at exec*@flags: flags affecting change behavior