| Function report | 
| Source Code: security\apparmor\procattr.c | Create Date:2022-07-28 19:52:24 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:aa_setprocattr_chagnehat - handle procattr interface to change_hat*@args: args received from writing to /proc/<pid>/attr/current (NOT NULL)*@size: size of the args*@flags: set of flags governing behavior* Returns: %0 or error code if change_hat fails
Proto:int aa_setprocattr_changehat(char *args, size_t size, int flags)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| char * | args | |
| size_t | size | |
| int | flags | 
| 107 | count = 0 | 
| 118 | If hat Then | 
| 133 | Else AA_DEBUG("%s: (pid %d) Magic 0x%llx count %d Hat '%s'\n", __func__, pid, token, count, "<NULL>") | 
| Name | Describe | 
|---|---|
| apparmor_setprocattr | 
| 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 |