Function report |
Source Code:security\apparmor\file.c |
Create Date:2022-07-28 19:54:00 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:profile_path_link
Proto:static int profile_path_link(struct aa_profile *profile, const struct path *link, char *buffer, const struct path *target, char *buffer2, struct path_cond *cond)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct aa_profile * | profile | |
| const struct path * | link | |
| char * | buffer | |
| const struct path * | target | |
| char * | buffer2 | |
| struct path_cond * | cond |
| 374 | const char * info = NULL |
| 416 | If Not (allow & verlaid ) Then Go to done_tests |
| 429 | request |= AA_AUDIT_FILE_MASK & allow & ~allow |
| 431 | Go to audit |
| 440 | done_tests : |
| 441 | error = 0 |
| 443 | audit : |
| Name | Describe |
|---|---|
| aa_path_link | aa_path_link - Handle hard link permission check*@label: the label being enforced (NOT NULL)*@old_dentry: the target dentry (NOT NULL)*@new_dir: directory the new link will be created in (NOT NULL)*@new_dentry: the link being created (NOT NULL) |
| 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 |