函数逻辑报告 |
Source Code:security\selinux\hooks.c |
Create Date:2022-07-27 20:25:48 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Try reloading inode security labels that have been marked as invalid. The*@may_sleep parameter indicates when sleeping and thus reloading labels is* allowed; when set to false, returns -ECHILD when the label is* invalid
函数原型:static int __inode_security_revalidate(struct inode *inode, struct dentry *dentry, bool may_sleep)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct inode * | inode | |
| struct dentry * | dentry | |
| bool | may_sleep |
| 271 | isec等于selinux_inode(inode) |
| 273 | might_sleep_if(may_sleep) |
| 275 | 如果initialized且 initialization flag 不等于 initialized 则 |
| 287 | 返回:0 |
| 名称 | 描述 |
|---|---|
| inode_security_rcu | |
| inode_security | Get the security label of an inode. |
| backing_inode_security | Get the security label of a dentry's backing inode. |
| dentry_has_perm | Same as inode_has_perm, but pass explicit audit data containingthe dentry to help the auditing code to more easily generate thepathname if needed. |
| path_has_perm | Same as inode_has_perm, but pass explicit audit data containingthe path to help the auditing code to more easily generate thepathname if needed. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |