| 函数逻辑报告 | 
| Source Code: security\selinux\hooks.c | Create Date:2022-07-27 20:26:13 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:sb_finish_set_opts
函数原型:static int sb_finish_set_opts(struct super_block *sb)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct super_block * | sb | 
| 539 | sbsec等于s_security | 
| 542 | rc等于0 | 
| 544 | 如果 labeling behavior 恒等于use xattr 则 | 
| 551 | 打印警告信息("SELinux: (dev %s, type %s) has no xattr support\n", Informational name , name) | 
| 553 | rc等于负EOPNOTSUPP | 
| 554 | 转到:out | 
| 557 | rc等于__vfs_getxattr(root, root_inode, XATTR_NAME_SELINUX, NULL, 0) | 
| 559 | 如果rc恒等于负EOPNOTSUPP则打印警告信息("SELinux: (dev %s, type %s) has no security xattr handler\n", Informational name , name) | 
| 563 | 否则打印警告信息("SELinux: (dev %s, type %s) getxattr errno %d\n", Informational name , name, - rc) | 
| 567 | 转到:out | 
| 580 | 否则 which mount options were specified 与等于SBLABEL_MNT的反 | 
| 584 | rc等于inode_doinit_with_dentry(root_inode, root) | 
| 590 | 加自旋锁 | 
| 596 | 删除链表项并重新初始化 | 
| 597 | 自旋锁解锁 | 
| 599 | 如果inode则 | 
| 600 | 如果非IS_PRIVATE(inode)则inode_doinit(inode) | 
| 602 | 放置一个索引节点 | 
| 604 | 加自旋锁 | 
| 606 | 自旋锁解锁 | 
| 607 | out : | 
| 608 | 返回:rc | 
| 名称 | 描述 | 
|---|---|
| selinux_set_mnt_opts | Allow filesystems with binary mount data to explicitly set mount point* labeling information. | 
| selinux_sb_clone_mnt_opts | 
| 源代码转换工具 开放的插件接口 | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |