函数逻辑报告 |
Source Code:security\apparmor\apparmorfs.c |
Create Date:2022-07-27 21:21:45 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:aa_simple_write_to_buffer - common routine for getting policy from user*@userbuf: user buffer to copy data from (NOT NULL)*@alloc_size: size of user buffer (REQUIRES: @alloc_size >= @copy_size)*@copy_size: size of data to copy from user buffer*@pos:
函数原型:static struct aa_loaddata *aa_simple_write_to_buffer(const char __user *userbuf, size_t alloc_size, size_t copy_size, loff_t *pos)
返回类型:struct aa_loaddata
参数:
类型 | 参数 | 名称 |
---|---|---|
const char __user * | userbuf | |
size_t | alloc_size | |
size_t | copy_size | |
loff_t * | pos |
423 | AA_BUG(copy_size > alloc_size) |
430 | data等于aa_loaddata_alloc(alloc_size) |
437 | 返回:错误号 |
440 | 返回:data |
名称 | 描述 |
---|---|
policy_update | |
profile_remove | .remove file hook fn to remove loaded policy |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |