Function report | 
Source Code:security\selinux\hooks.c | 
Create Date:2022-07-28 18:52:56 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name: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
Proto:static int __inode_security_revalidate(struct inode *inode, struct dentry *dentry, bool may_sleep)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct inode * | inode | |
| struct dentry * | dentry | |
| bool | may_sleep | 
| 271 | isec = selinux_inode(inode) | 
| 273 | might_sleep_if(may_sleep) | 
| 275 | If initialized && initialization flag != initialized Then | 
| 287 | Return 0 | 
| Name | Describe | 
|---|---|
| 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. | 
| 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  |