Function report |
Source Code:kernel\auditfilter.c |
Create Date:2022-07-28 11:24:27 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:audit_register_class
Proto:int __init audit_register_class(int class, unsigned *list)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| int | class | |
| unsigned * | list |
| 167 | p = kcalloc - allocate memory for an array. The memory is set to zero.*@n: number of elements.*@size: element size.*@flags: the type of memory to allocate (see kmalloc). |
| 172 | If n >= AUDIT_BITMASK_SIZE * 32 - AUDIT_SYSCALL_CLASSES Then |
| 176 | p[AUDIT_WORD(n)] |= AUDIT_BIT(n) |
| 178 | If class >= AUDIT_SYSCALL_CLASSES || classes[class] Then |
| 183 | Return 0 |
| Name | Describe |
|---|---|
| audit_classes_init | |
| audit_classes_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 |