| Function report | 
| Source Code: security\apparmor\apparmorfs.c | Create Date:2022-07-28 19:49:55 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:__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
Proto: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)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct inode * | dir | |
| struct dentry * | dentry | |
| umode_t | mode | |
| void * | data | |
| char * | link | |
| const struct file_operations * | fops | |
| const struct inode_operations * | iops | 
| 216 | inode = obtain an inode | 
| 226 | i_atime = i_mtime = i_ctime = current_time(inode) | 
| 229 | i_op = If iops Then iops Else simple_dir_inode_operations | 
| 236 | Else | 
| 242 | Return 0 | 
| Name | Describe | 
|---|---|
| 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 | 
| 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 |