Function report |
Source Code:kernel\auditsc.c |
Create Date:2022-07-28 11:27:04 |
| Last Modify:2020-03-17 16:31:21 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Given an audit_name check the inode hash table to see if they match.* Called holding the rcu read lock to protect the use of audit_inode_hash
Proto:static int audit_filter_inode_name(struct task_struct *tsk, struct audit_names *n, struct audit_context *ctx)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct task_struct * | tsk | |
| struct audit_names * | n | |
| struct audit_context * | ctx |
| 811 | h = audit_hash_ino((u32)ino) |
| 812 | list = Hash for inode-based rules [h] |
| 819 | current_state = state |
| 820 | Return 1 |
| 823 | Return 0 |
| Name | Describe |
|---|---|
| audit_filter_inodes | At syscall exit time, this filter is called if any audit_names have been* collected during syscall processing. We only check rules in sublists at hash* buckets applicable to the inode numbers in audit_names. |
| 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 |