| Function report | 
| 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 activity | Download SCCT | Chinese | 
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:
| Type | Parameter | Name | 
|---|---|---|
| struct aa_label * | label | |
| bool | stack | 
| 95 | ctx = task_ctx(current process) | 
| 97 | aa_get_label(label) | 
| 98 | aa_put_label(onexec) | 
| 102 | Return 0 | 
| Name | Describe | 
|---|---|
| aa_change_profile | aa_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 | 
| Source code conversion tool public plug-in interface | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |