| Function report | 
| Source Code: security\apparmor\lsm.c | Create Date:2022-07-28 19:53:05 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:apparmor_getprocattr
Proto:static int apparmor_getprocattr(struct task_struct *task, char *name, char **value)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct task_struct * | task | |
| char * | name | |
| char ** | value | 
| 593 | cred = get_task_cred - Get another task's objective credentials*@task: The task to query* Get the objective credentials of a task, pinning them so that they can't go* away | 
| 594 | ctx = task_ctx(current process) | 
| 609 | aa_put_label(label) | 
| 612 | Return error | 
| 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 |