Function report | 
Source Code:security\selinux\hooks.c | 
Create Date:2022-07-28 18:58:39 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:set the file creation context in a security record to the same as the* objective context of the specified inode
Proto:static int selinux_kernel_create_files_as(struct cred *new, struct inode *inode)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct cred * | new | |
| struct inode * | inode | 
| 3960 | tsec = selinux_cred(new) | 
| 3970 | If ret == 0 Then fscreate SID = SID of this object | 
| 3972 | Return ret | 
| 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  |