函数逻辑报告 |
Source Code:security\selinux\hooks.c |
Create Date:2022-07-27 20:27:50 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Determine the label for an inode that might be unioned.
函数原型:static int selinux_determine_inode_label(const struct task_security_struct *tsec, struct inode *dir, const struct qstr *name, u16 tclass, unsigned int *_new_isid)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
const struct task_security_struct * | tsec | |
struct inode * | dir | |
const struct qstr * | name | |
u16 | tclass | |
unsigned int * | _new_isid |
1791 | sbsec等于s_security |
1796 | 否则如果 which mount options were specified 按位与SBLABEL_MNT且 fscreate SID 则 |
1798 | _new_isid等于 fscreate SID |
1799 | 否则 |
1801 | 返回:security_transition_sid( & selinux_state, current SID , SID of this object , tclass, name, _new_isid) |
1806 | 返回:0 |
名称 | 描述 |
---|---|
may_create | Check whether a task can create a file. |
selinux_dentry_init_security | |
selinux_dentry_create_files_as | |
selinux_inode_init_security |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |