Function report | 
Source Code:security\selinux\hooks.c | 
Create Date:2022-07-28 18:56:43 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:selinux_mount
Proto:static int selinux_mount(const char *dev_name, const struct path *path, const char *type, unsigned long flags, void *data)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| const char * | dev_name | |
| const struct path * | path | |
| const char * | type | |
| unsigned long | flags | |
| void * | data | 
| 2756 | 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.() | 
| 2758 | If flags & Alter flags of a mounted FS Then Return Check whether a task can perform a filesystem operation. | 
| 2761 | Else Return 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  |