| Function report | 
| Source Code: security\selinux\selinuxfs.c | Create Date:2022-07-28 19:06:53 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:sel_make_class_dir_entries
Proto:static int sel_make_class_dir_entries(char *classname, int index, struct dentry *dir)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| char * | classname | |
| int | index | |
| struct dentry * | dir | 
| 1761 | sb = The root of the dentry tree | 
| 1762 | fsi = Filesystem private info | 
| 1767 | dentry = d_alloc_name(dir, "index") | 
| 1771 | inode = sel_make_inode( The root of the dentry tree , S_IFREG | S_IRUGO) | 
| 1772 | If Not inode Then | 
| 1785 | rc = sel_make_perm_files(classname, index, dentry) | 
| 1787 | Return rc | 
| Name | Describe | 
|---|---|
| sel_make_classes | 
| 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 |