Function report |
Source Code:kernel\auditsc.c |
Create Date:2022-07-28 11:27:55 |
| Last Modify:2020-03-17 16:31:21 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:handle_path
Proto:static void handle_path(const struct dentry *dentry)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const struct dentry * | dentry |
| 1773 | context = audit_context() |
| 1775 | count = tree_count |
| 1776 | retry : |
| 1777 | drop = NULL |
| 1781 | cycle |
| 1793 | parent = parent directory |
| 1798 | If Value for the false possibility is greater at compile time(read_seqretry( & rename_lock, seq) || drop) Then |
| 1800 | If Not drop Then |
| 1802 | unroll_tree_refs(context, p, count) |
| 1803 | Go to retry |
| 1805 | audit_put_chunk(drop) |
| 1806 | If grow_tree_refs(context) Then |
| 1808 | unroll_tree_refs(context, p, count) |
| 1809 | Go to retry |
| 1812 | pr_warn("out of memory, audit has lost a tree reference\n") |
| 1813 | unroll_tree_refs(context, p, count) |
| 1815 | Return |
| Name | Describe |
|---|---|
| __audit_inode | __audit_inode - store the inode and device from a lookup*@name: name being audited*@dentry: dentry being audited*@flags: attributes for this particular entry |
| 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 |