函数逻辑报告 |
Source Code:security\selinux\hooks.c |
Create Date:2022-07-27 20:26:56 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:selinux_sb_show_options
函数原型:static int selinux_sb_show_options(struct seq_file *m, struct super_block *sb)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct seq_file * | m | |
struct super_block * | sb |
1100 | sbsec等于s_security |
1103 | 如果非 which mount options were specified 按位与Non-mount related flags 的值则返回:0 |
1106 | 如果非initialized则返回:0 |
1109 | 如果 which mount options were specified 按位与FSCONTEXT_MNT则 |
1111 | seq_puts(m, FSCONTEXT_STR) |
1112 | rc等于show_sid(m, SID of file system superblock ) |
1118 | seq_puts(m, CONTEXT_STR) |
1123 | 如果 which mount options were specified 按位与DEFCONTEXT_MNT则 |
1125 | seq_puts(m, DEFCONTEXT_STR) |
1126 | rc等于show_sid(m, default SID for labeling ) |
1130 | 如果 which mount options were specified 按位与ROOTCONTEXT_MNT则 |
1134 | seq_puts(m, ROOTCONTEXT_STR) |
1135 | rc等于show_sid(m, SID of this object ) |
1139 | 如果 which mount options were specified 按位与SBLABEL_MNT则 |
1141 | seq_puts(m, SECLABEL_STR) |
1143 | 返回:0 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |