Function report |
Source Code:security\selinux\hooks.c |
Create Date:2022-07-28 18:57:06 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:selinux_inode_follow_link
Proto:static int selinux_inode_follow_link(struct dentry *dentry, struct inode *inode, bool rcu)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| 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 | Return 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) |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |