Function report |
Source Code:security\integrity\ima\ima_appraise.c |
Create Date:2022-07-28 19:59:24 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ma_protect_xattr - protect 'security.ima'* Ensure that not just anyone can modify or remove 'security.ima'.
Proto:static int ima_protect_xattr(struct dentry *dentry, const char *xattr_name, const void *xattr_value, size_t xattr_value_len)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct dentry * | dentry | |
const char * | xattr_name | |
const void * | xattr_value | |
size_t | xattr_value_len |
518 | If strcmp(xattr_name, XATTR_NAME_IMA) == 0 Then |
519 | If Not Check operation authority Then Return -EPERM |
521 | Return 1 |
523 | Return 0 |
Name | Describe |
---|---|
ima_inode_setxattr | |
ima_inode_removexattr |
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 |