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: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:
Proto:static struct aa_loaddata *aa_simple_write_to_buffer(const char __user *userbuf, size_t alloc_size, size_t copy_size, loff_t *pos)
Type:struct aa_loaddata
Parameter:
| Type | Parameter | Name |
|---|---|---|
| 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) |
| 440 | Return data |
| Name | Describe |
|---|---|
| policy_update | |
| profile_remove | .remove file hook fn to remove loaded policy |
| 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 |