Function report | 
Source Code:fs\xattr.c | 
Create Date:2022-07-28 20:09:58 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:__vfs_setxattr_noperm - perform setxattr operation without performing* permission checks
Proto:int __vfs_setxattr_noperm(struct dentry *dentry, const char *name, const void *value, size_t size, int flags)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct dentry * | dentry | |
| const char * | name | |
| const void * | value | |
| size_t | size | |
| int | flags | 
| 175 | issec = Not strncmp(name, XATTR_SECURITY_PREFIX, XATTR_SECURITY_PREFIX_LEN) | 
| 178 | If issec Then i_flags &= ~ suid or xattr security attributes | 
| 182 | If Not error Then | 
| 187 | Else | 
| 188 | If Value for the false possibility is greater at compile time(is an inode errored) Then Return -EIO | 
| 192 | error = -EOPNOTSUPP | 
| 194 | If issec Then | 
| 195 | suffix = name + XATTR_SECURITY_PREFIX_LEN | 
| 199 | If Not error Then snotify_xattr - extended attributes were changed | 
| 204 | Return error | 
| Name | Describe | 
|---|---|
| smack_inode_setsecctx | |
| ima_fix_xattr | |
| evm_update_evmxattr | Calculate the hmac and update security.evm xattr* Expects to be called with i_mutex locked. | 
| vfs_setxattr | 
| 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  |