| Function report | 
| Source Code: security\smack\smack_lsm.c | Create Date:2022-07-28 19:24:43 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:smack_dentry_create_files_as
Proto:static int smack_dentry_create_files_as(struct dentry *dentry, int mode, struct qstr *name, const struct cred *old, struct cred *new)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct dentry * | dentry | |
| int | mode | |
| struct qstr * | name | |
| const struct cred * | old | |
| struct cred * | new | 
| 4549 | otsp = smack_cred(old) | 
| 4550 | ntsp = smack_cred(new) | 
| 4565 | If smack inode flags & directory is transmuting Then | 
| 4577 | If may > 0 && may & Controls directory labeling Then label for access control = label of the fso | 
| 4580 | Return 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 |