Function report |
Source Code:security\loadpin\loadpin.c |
Create Date:2022-07-28 19:55:19 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:This must be called after early kernel init, since then the rootdev* is available.
Proto:static void check_pinning_enforcement(struct super_block *mnt_sb)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct super_block * | mnt_sb |
72 | bool ro = false |
78 | If s_bdev Then |
81 | ro = bdev_read_only(s_bdev) |
87 | Else pr_info("mnt_sb lacks block device, treating as: writable\n") |
90 | If Not ro Then |
91 | If Not register_sysctl_paths(loadpin_sysctl_path, loadpin_sysctl_table) Then pr_notice("sysctl registration failed!\n") |
94 | Else pr_info("enforcement can be disabled.\n") |
96 | Else pr_info("load pinning engaged.\n") |
Name | Describe |
---|---|
loadpin_read_file |
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 |