函数逻辑报告 | 
Source Code:security\apparmor\procattr.c | 
Create Date:2022-07-27 21:36:20 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称: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
函数原型:int aa_setprocattr_changehat(char *args, size_t size, int flags)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| char * | args | |
| size_t | size | |
| int | flags | 
| 107 | count等于0 | 
| 118 | 如果hat则 | 
| 133 | 否则AA_DEBUG("%s: (pid %d) Magic 0x%llx count %d Hat '%s'\n", __func__, pid, token, count, "<NULL>") | 
| 名称 | 描述 | 
|---|---|
| apparmor_setprocattr | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |