函数逻辑报告 |
Source Code:security\apparmor\apparmorfs.c |
Create Date:2022-07-27 21:21:33 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:__aafs_setup_d_inode - basic inode setup for apparmorfs*@dir: parent directory for the dentry*@dentry: dentry we are seting the inode up for*@mode: permissions the file should have*@data: data to store on inode
函数原型:static int __aafs_setup_d_inode(struct inode *dir, struct dentry *dentry, umode_t mode, void *data, char *link, const struct file_operations *fops, const struct inode_operations *iops)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct inode * | dir | |
struct dentry * | dentry | |
umode_t | mode | |
void * | data | |
char * | link | |
const struct file_operations * | fops | |
const struct inode_operations * | iops |
226 | i_atime等于i_mtime等于i_ctime等于current_time(inode) |
229 | i_op等于如果iops则iops否则simple_dir_inode_operations |
236 | 否则 |
239 | 为目录项建立索引 |
240 | 获得目录项引用 |
242 | 返回:0 |
名称 | 描述 |
---|---|
aafs_create | aafs_create - create a dentry in the apparmorfs filesystem*@name: name of dentry to create*@mode: permissions the file should have*@parent: parent directory for this dentry*@data: data to store on inode |
ns_mkdir_op |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |