函数名称:ma_match_policy - decision based on LSM and other conditions*@inode: pointer to an inode for which the policy decision is being made*@cred: pointer to a credentials structure for which the policy decision is* being made*@secid: LSM secid of the task to be
函数原型:int ima_match_policy(struct inode *inode, const struct cred *cred, unsigned int secid, enum ima_hooks func, int mask, int flags, int *pcr, struct ima_template_desc **template_desc)
返回类型:int
参数:
|
类型 | 参数 | 名称 |
|---|
| struct inode * | inode | |
| const struct cred * | cred | |
| unsigned int | secid | |
| enum ima_hooks | func | |
| int | mask | |
| int | flags | |
| int * | pcr | |
| struct ima_template_desc ** | template_desc | |