Function report |
Source Code:security\apparmor\apparmorfs.c |
Create Date:2022-07-28 19:49:56 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:.replace file hook fn to load and/or replace policy
Proto:static ssize_t profile_replace(struct file *f, const char __user *buf, size_t size, loff_t *pos)
Type:ssize_t
Parameter:
Type | Parameter | Name |
---|---|---|
struct file * | f | |
const char __user * | buf | |
size_t | size | |
loff_t * | pos |
492 | error = policy_update(AA_MAY_LOAD_POLICY | AA_MAY_REPLACE_POLICY, buf, size, pos, ns) |
496 | 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 |