Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\apparmor\task.c Create Date:2022-07-28 19:50:32
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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

Proto:int aa_set_current_onexec(struct aa_label *label, bool stack)

Type:int

Parameter:

TypeParameterName
struct aa_label *label
boolstack
95  ctx = task_ctx(current process)
97  aa_get_label(label)
98  aa_put_label(onexec)
99  onexec = label
100  token = stack
102  Return 0
Caller
NameDescribe
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