Function report |
Source Code:security\apparmor\domain.c |
Create Date:2022-07-28 19:51:37 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:sure none ns domain transitions are correctly applied with onexec
Proto:static struct aa_label *handle_onexec(struct aa_label *label, struct aa_label *onexec, bool stack, const struct linux_binprm *bprm, char *buffer, struct path_cond *cond, bool *unsafe)
Type:struct aa_label
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct aa_label * | label | |
| struct aa_label * | onexec | |
| bool | stack | |
| const struct linux_binprm * | bprm | |
| char * | buffer | |
| struct path_cond * | cond | |
| bool * | unsafe |
| 819 | If Not stack Then |
| 820 | error = fn_for_each_in_ns(label, profile, profile_onexec(profile, onexec, stack, bprm, buffer, cond, unsafe)) |
| 830 | Else |
| 832 | error = fn_for_each_in_ns(label, profile, profile_onexec(profile, onexec, stack, bprm, buffer, cond, unsafe)) |
| Name | Describe |
|---|---|
| apparmor_bprm_set_creds | apparmor_bprm_set_creds - set the new creds on the bprm struct*@bprm: binprm for the exec (NOT NULL)* Returns: %0 or error on failure* TODO: once the other paths are done see if we can't refactor into a fn |
| 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 |