Function report |
Source Code:include\linux\audit.h |
Create Date:2022-07-28 07:11:09 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:audit_inode_child
Proto:static inline void audit_inode_child(struct inode *parent, const struct dentry *dentry, const unsigned char type)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct inode * | parent | |
| const struct dentry * | dentry | |
| const unsigned char | type |
NULL
| Name | Describe |
|---|---|
| may_delete | Check whether we can remove a link victim from directory dir, check* whether the type of victim is right.* 1. We can't do it if dir is read-only (done in permission())* 2. We should have write and exec permissions on dir* 3 |
| may_create | Check whether we can create an object with dentry child in directory* dir.* 1. We can't do it if child already exists (open has special treatment for* this case, but since we are inlined it's OK)* 2 |
| lookup_open | Look up and maybe create and open the last component |
| 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 |