函数逻辑报告 |
Source Code:security\apparmor\apparmorfs.c |
Create Date:2022-07-27 21:22:37 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:aa_write_access - generic permissions and data query*@file: pointer to open apparmorfs/access file*@ubuf: user buffer containing the complete query string (NOT NULL)*@count: size of ubuf*@ppos: position in the file (MUST BE ZERO)* Allows for one
函数原型:static ssize_t aa_write_access(struct file *file, const char __user *ubuf, size_t count, loff_t *ppos)
返回类型:ssize_t
参数:
类型 | 参数 | 名称 |
---|---|---|
struct file * | file | |
const char __user * | ubuf | |
size_t | count | |
loff_t * | ppos |
971 | t等于multi_transaction_new(file, ubuf, count) |
975 | 如果count大于QUERY_CMD_PROFILE_LEN且非内存比较则 |
980 | 否则如果count大于QUERY_CMD_LABEL_LEN且非内存比较则 |
985 | 否则如果count大于QUERY_CMD_LABELALL_LEN且非内存比较则 |
991 | 否则如果count大于QUERY_CMD_DATA_LEN且非内存比较则 |
999 | 如果len小于0则 |
1000 | put_multi_transaction(t) |
1001 | 返回:len |
1006 | 返回:count |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |