函数逻辑报告 |
Source Code:security\loadpin\loadpin.c |
Create Date:2022-07-27 21:49:53 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:This must be called after early kernel init, since then the rootdev* is available.
函数原型:static void check_pinning_enforcement(struct super_block *mnt_sb)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct super_block * | mnt_sb |
72 | bool ro = false |
78 | 如果s_bdev则 |
81 | ro等于bdev_read_only(s_bdev) |
87 | 否则打印信息("mnt_sb lacks block device, treating as: writable\n") |
90 | 如果非ro则 |
91 | 如果非register_sysctl_paths(loadpin_sysctl_path, loadpin_sysctl_table)则打印注释信息("sysctl registration failed!\n") |
94 | 否则打印信息("enforcement can be disabled.\n") |
96 | 否则打印信息("load pinning engaged.\n") |
名称 | 描述 |
---|---|
loadpin_read_file |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |