函数逻辑报告 |
Source Code:include\linux\audit.h |
Create Date:2022-07-27 08:09:13 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:audit_inode_child
函数原型:static inline void audit_inode_child(struct inode *parent, const struct dentry *dentry, const unsigned char type)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct inode * | parent | |
const struct dentry * | dentry | |
const unsigned char | type |
NULL
名称 | 描述 |
---|---|
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 |
fsnotify_move | snotify_move - file old_name at old_dir was moved to new_name at new_dir |
fsnotify_create | snotify_create - 'name' was linked in |
fsnotify_link | snotify_link - new hardlink in 'inode' directory* Note: We have to pass also the linked inode ptr as some filesystems leave |
fsnotify_mkdir | snotify_mkdir - directory 'name' was created |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |