| Function report | 
| Source Code: security\apparmor\apparmorfs.c | Create Date:2022-07-28 19:49:56 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:policy_update
Proto:static ssize_t policy_update(unsigned int mask, const char __user *buf, size_t size, loff_t *pos, struct aa_ns *ns)
Type:ssize_t
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| unsigned int | mask | |
| const char __user * | buf | |
| size_t | size | |
| loff_t * | pos | |
| struct aa_ns * | ns | 
| 455 | error = aa_may_manage_policy(label, ns, mask) | 
| 463 | aa_put_loaddata(data) | 
| 467 | Return error | 
| Name | Describe | 
|---|---|
| profile_load | .load file hook fn to load policy | 
| profile_replace | .replace file hook fn to load and/or replace policy | 
| 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 |