Function report |
Source Code:kernel\audit.c |
Create Date:2022-07-28 11:22:21 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:audit_log_lost - conditionally log lost audit message event*@message: the message stating reason for lost audit message* Emit at least 1 message per second, even if audit_rate_check is* throttling.* Always increment the lost messages counter.
Proto:void audit_log_lost(const char *message)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const char * | message |
| 350 | last_msg = 0 |
| 351 | DEFINE_SPINLOCK(lock) |
| 360 | If Not print Then |
| 361 | spin_lock_irqsave( & lock, flags) |
| 367 | spin_unlock_irqrestore( & lock, flags) |
| 370 | If print Then |
| 376 | audit_panic(message) |
| Name | Describe |
|---|---|
| kauditd_hold_skb | kauditd_hold_skb - Queue an audit record, waiting for auditd*@skb: audit record* Description:* Queue the audit record, waiting for an instance of auditd. When this* function is called we haven't given up yet on sending the record, but things |
| audit_log_start | audit_log_start - obtain an audit buffer*@ctx: audit_context (may be NULL)*@gfp_mask: type of allocation*@type: audit message type* Returns audit_buffer pointer on success or NULL on error |
| audit_expand | audit_expand - expand skb in the audit buffer*@ab: audit_buffer*@extra: space to add at tail of the skb* Returns 0 (no space) on failed expansion, or available space if* successful. |
| audit_log_end | audit_log_end - end one audit record*@ab: the audit_buffer* We can not do a netlink send inside an irq context because it blocks (last* arg, flags, is not set to MSG_DONTWAIT), so the audit buffer is placed on a* queue and a tasklet is scheduled to remove |
| audit_alloc | audit_alloc - allocate an audit context block for a task*@tsk: task* Filter on the task information and allocate a per-task audit context* if necessary. Doing so turns on system call auditing for the* specified task |
| __audit_log_kern_module |
| 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 |