函数逻辑报告 | 
Source Code:security\selinux\hooks.c | 
Create Date:2022-07-27 20:26:15 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:bad_option
函数原型:static int bad_option(struct superblock_security_struct *sbsec, char flag, unsigned int old_sid, unsigned int new_sid)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct superblock_security_struct * | sbsec | |
| char | flag | |
| unsigned int | old_sid | |
| unsigned int | new_sid | 
| 617 | 如果 which mount options were specified 按位与Non-mount related flags 则如果非 which mount options were specified 按位与flag的值或old_sid不等于new_sid则 | 
| 620 | 返回:1 | 
| 625 | 如果非 which mount options were specified 按位与Non-mount related flags 的值则如果mnt_flags按位与flag则 | 
| 627 | 返回:1 | 
| 628 | 返回:0 | 
| 名称 | 描述 | 
|---|---|
| selinux_set_mnt_opts | Allow filesystems with binary mount data to explicitly set mount point* labeling information. | 
| selinux_sb_remount | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |