Function report |
Source Code:security\apparmor\mount.c |
Create Date:2022-07-28 19:54:44 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:helper fn for transition on pivotroot* Returns: label for transition or ERR_PTR. Does not return NULL
Proto:static struct aa_label *build_pivotroot(struct aa_profile *profile, const struct path *new_path, char *new_buffer, const struct path *old_path, char *old_buffer)
Type:struct aa_label
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct aa_profile * | profile | |
| const struct path * | new_path | |
| char * | new_buffer | |
| const struct path * | old_path | |
| char * | old_buffer |
| 645 | const char * trans_name = NULL |
| 675 | perms = mpute_mnt_perms - compute mount permission associated with @state*@dfa: dfa to match against (NOT NULL)*@state: state match finished in* Returns: mount permissions |
| 677 | If mount perms & allow Then error = 0 |
| 680 | audit : |
| Name | Describe |
|---|---|
| aa_pivotroot |
| 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 |