Function report |
Source Code:security\selinux\selinuxfs.c |
Create Date:2022-07-28 19:06:12 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:declaration for sel_write_load
Proto:static int sel_make_bools(struct selinux_fs_info *fsi)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct selinux_fs_info * | fsi |
1332 | int * values = NULL |
1338 | kfree(bool_pending_names) |
1339 | kfree(bool_pending_values) |
1340 | bool_num = 0 |
1341 | bool_pending_names = NULL |
1342 | bool_pending_values = NULL |
1344 | sel_remove_entries(dir) |
1347 | page = get_zeroed_page(GFP_KERNEL) |
1357 | dentry = d_alloc_name(dir, names[i]) |
1362 | inode = sel_make_inode( The root of the dentry tree , S_IFREG | S_IRUGO | S_IWUSR) |
1363 | If Not inode Then |
1368 | ret = -ENAMETOOLONG |
1376 | isec = selinux_inode(inode) |
1377 | ret = security_genfs_sid(state, "selinuxfs", page, SECCLASS_FILE, & sid) |
1379 | If ret Then |
1380 | pr_warn_ratelimited("SELinux: no sid found, defaulting to security isid for %s\n", page) |
1382 | sid = SECINITSID_SECURITY |
1385 | SID of this object = sid |
1386 | initialization flag = initialized |
1392 | bool_pending_names = names |
1393 | bool_pending_values = values |
1396 | Return 0 |
1397 | out : |
1400 | If names Then |
1406 | sel_remove_entries(dir) |
1408 | Return ret |
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 |