函数逻辑报告 |
Source Code:security\selinux\hooks.c |
Create Date:2022-07-27 20:29:35 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:selinux_inode_follow_link
函数原型:static int selinux_inode_follow_link(struct dentry *dentry, struct inode *inode, bool rcu)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct dentry * | dentry | |
struct inode * | inode | |
bool | rcu |
3001 | cred等于current_cred - Access the current task's subjective credentials* Access the subjective credentials of the current task. RCU-safe,* since nobody else can modify it.() |
3006 | validate_creds(cred) |
3008 | type等于LSM_AUDIT_DATA_DENTRY |
3011 | isec等于inode_security_rcu(inode, rcu) |
3015 | 返回:avc_has_perm_flags( & selinux_state, sid, SID of this object , security class of this object , FILE__READ, & ad, rcu ? called from RCU mode, don't block : 0) |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |