| Function report | 
| Source Code: security\smack\smack_lsm.c | Create Date:2022-07-28 19:20:55 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:smack_inode_post_setxattr - Apply the Smack update approved above*@dentry: object*@name: attribute name*@value: attribute value*@size: attribute size*@flags: unused* Set the pointer in the inode blob to the entry found* in the master label list.
Proto:static void smack_inode_post_setxattr(struct dentry *dentry, const char *name, const void *value, size_t size, int flags)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct dentry * | dentry | |
| const char * | name | |
| const void * | value | |
| size_t | size | |
| int | flags | 
| 1325 | If strcmp(name, XATTR_NAME_SMACKTRANSMUTE) == 0 Then | 
| 1327 | Return | 
| 1330 | If strcmp(name, XATTR_NAME_SMACK) == 0 Then | 
| 1331 | skp = smk_import_entry(value, size) | 
| 1332 | If Not IS_ERR(skp) Then label of the fso = skp | 
| 1334 | Else if strcmp(name, XATTR_NAME_SMACKEXEC) == 0 Then | 
| 1335 | skp = smk_import_entry(value, size) | 
| 1336 | If Not IS_ERR(skp) Then label of the task = skp | 
| 1338 | Else if strcmp(name, XATTR_NAME_SMACKMMAP) == 0 Then | 
| 1339 | skp = smk_import_entry(value, size) | 
| 1340 | If Not IS_ERR(skp) Then label of the mmap domain = skp | 
| 1344 | Return | 
| 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 |