Function report | 
Source Code:security\selinux\selinuxfs.c | 
Create Date:2022-07-28 19:07:01 | 
| 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_policycap
Proto:static int sel_make_policycap(struct selinux_fs_info *fsi)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct selinux_fs_info * | fsi | 
| 1838 | When iter <= POLICYDB_CAPABILITY_MAX cycle | 
| 1839 | If iter < ARRAY_SIZE - get the number of elements in array @arr*@arr: array to be sized(selinux_policycap_names) Then dentry = d_alloc_name(policycap_dir, selinux_policycap_names[iter]) | 
| 1842 | Else dentry = d_alloc_name(policycap_dir, "unknown") | 
| 1848 | inode = sel_make_inode(sb, S_IFREG | 0444) | 
| 1849 | If (inode == NULL) Then | 
| 1859 | Return 0 | 
| Name | Describe | 
|---|---|
| sel_make_policy_nodes | 
| 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  |