| Function report | 
| Source Code: security\security.c | Create Date:2022-07-28 18:39:14 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:security_inode_init_security
Proto:int security_inode_init_security(struct inode *inode, struct inode *dir, const struct qstr *qstr, const initxattrs initxattrs, void *fs_data)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct inode * | inode | |
| struct inode * | dir | |
| const struct qstr * | qstr | |
| const initxattrs | initxattrs | |
| void * | fs_data | 
| 977 | If Value for the false possibility is greater at compile time(IS_PRIVATE(inode)) Then Return 0 | 
| 980 | If Not initxattrs Then Return call_int_hook(inode_init_security, - EOPNOTSUPP, inode, dir, qstr, NULL, NULL, NULL) | 
| 983 | memset(new_xattrs, 0, size of new_xattrs ) | 
| 984 | lsm_xattr = new_xattrs | 
| 985 | ret = call_int_hook(inode_init_security, - EOPNOTSUPP, inode, dir, qstr, & name, & value, & value_len) | 
| 993 | ret = evm_inode_init_security(inode, lsm_xattr, evm_xattr) | 
| 996 | ret = initxattrs(inode, new_xattrs, fs_data) | 
| 997 | out : | 
| 1000 | Return If ret == -EOPNOTSUPP Then 0 Else 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 |