Function report |
Source Code:kernel\auditsc.c |
Create Date:2022-07-28 11:27:57 |
| Last Modify:2020-03-17 16:31:21 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:audit_alloc_name
Proto:static struct audit_names *audit_alloc_name(struct audit_context *context, unsigned char type)
Type:struct audit_names
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct audit_context * | context | |
| unsigned char | type |
| 1828 | Else |
| 1829 | aname = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc). |
| 1830 | If Not aname Then Return NULL |
| 1835 | ino = AUDIT_INO_UNSET |
| 1839 | al records in names_list ++ |
| 1840 | Return aname |
| Name | Describe |
|---|---|
| __audit_getname | __audit_getname - add a name to the list*@name: name to add* Add a name to the list of audit names for this context.* Called from fs/namei.c:getname(). |
| __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 |
| __audit_inode_child | __audit_inode_child - collect inode info for created/removed objects*@parent: inode of dentry parent*@dentry: dentry being audited*@type: AUDIT_TYPE_* value that we're looking for* For syscalls that create or remove filesystem objects, audit_inode |
| 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 |