Function report |
Source Code:kernel\audit.c |
Create Date:2022-07-28 11:23:24 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Initialize audit support at boot time.
Proto:static int __init audit_init(void)
Type:int
Parameter:Nothing
| 1579 | If audit_initialized == Do not create per-task audit_context.* No syscall-specific audit records can* be generated. Then Return 0 |
| 1582 | audit_buffer_cache = kmem_cache_create("audit_buffer", sizeof(structaudit_buffer), 0, Panic if kmem_cache_create() fails , NULL) |
| 1590 | When i < AUDIT_INODE_BUCKETS cycle Initialization list head |
| 1593 | mutex_init - initialize the mutex*@mutex: the mutex to be initialized* Initialize the mutex to unlocked state.* It is not allowed to initialize an already locked mutex.( & lock) |
| 1594 | owner = NULL |
| 1596 | pr_info("initializing netlink subsys (%s)\n", Default state when kernel boots without any parameters. ? "enabled" : "disabled") |
| 1598 | Use these carefully |
| 1603 | If IS_ERR(queue servicing thread ) Then |
| 1604 | err = PTR_ERR(queue servicing thread ) |
| 1612 | Return 0 |
| 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 |