| Function report | 
| Source Code: security\apparmor\file.c | Create Date:2022-07-28 19:54:01 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:__file_sock_perm
Proto:static int __file_sock_perm(const char *op, struct aa_label *label, struct aa_label *flabel, struct file *file, unsigned int request, unsigned int denied)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| const char * | op | |
| struct aa_label * | label | |
| struct aa_label * | flabel | |
| struct file * | file | |
| unsigned int | request | |
| unsigned int | denied | 
| 581 | If Not denied && aa_label_is_subset(flabel, label) Then Return 0 | 
| 586 | If denied Then | 
| 589 | last_error(error, aa_sock_file_perm(flabel, op, request, sock)) | 
| 594 | Return error | 
| Name | Describe | 
|---|---|
| aa_file_perm | aa_file_perm - do permission revalidation check & audit for @file*@op: operation being checked*@label: label being enforced (NOT NULL)*@file: file to revalidate access permissions on (NOT NULL)*@request: requested permissions*@in_atomic: whether | 
| 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 |