Function report |
Source Code:security\selinux\selinuxfs.c |
Create Date:2022-07-28 19:06:28 |
| 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_avc_files
Proto:static int sel_make_avc_files(struct dentry *dir)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct dentry * | dir |
| 1568 | sb = The root of the dentry tree |
| 1569 | fsi = Filesystem private info |
| 1571 | static const struct tree_descr files[] = {{"cache_threshold", & sel_avc_cache_threshold_ops, S_IRUGO | S_IWUSR}, {"hash_stats", & sel_avc_hash_stats_ops, S_IRUGO}, } |
| 1584 | dentry = d_alloc_name(dir, name) |
| 1588 | inode = sel_make_inode( The root of the dentry tree , S_IFREG | mode) |
| 1589 | If Not inode Then |
| 1594 | rmer ->i_op->default_file_ops = ops |
| 1599 | Return 0 |
| Name | Describe |
|---|---|
| sel_fill_super |
| 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 |