| Function report | 
| Source Code: security\apparmor\lsm.c | Create Date:2022-07-28 19:53:18 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:alloc_buffers
Proto:static int __init alloc_buffers(void)
Type:int
Parameter:Nothing
| 1679 | If num_online_cpus() > 1 Then num = 4 + RESERVE_COUNT | 
| 1681 | Else num = 2 + RESERVE_COUNT | 
| 1686 | aa_buf = Allocation memory | 
| 1688 | If Not aa_buf Then | 
| 1689 | destroy_buffers() | 
| 1690 | Return -ENOMEM | 
| 1692 | aa_put_buffer( & buffer[0]) | 
| 1694 | Return 0 | 
| Name | Describe | 
|---|---|
| apparmor_init | 
| 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 |