函数逻辑报告 |
Source Code:security\smack\smack_lsm.c |
Create Date:2022-07-27 20:53:51 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:smack_audit_rule_match - Audit given object ?*@secid: security id for identifying the object to test*@field: audit rule flags given from user-space*@op: required testing operator*@vrule: smack internal rule presentation* The core Audit hook
函数原型:static int smack_audit_rule_match(unsigned int secid, unsigned int field, unsigned int op, void *vrule)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
unsigned int | secid | |
unsigned int | field | |
unsigned int | op | |
void * | vrule |
4405 | 如果此条件成立可能性小(为编译器优化)(!rule)则 |
4410 | 如果field不等于security label user 且field不等于AUDIT_OBJ_USER则返回:0 |
4413 | skp等于smack_from_secid(secid) |
4420 | 如果op恒等于Audit_equal则返回:rule恒等于smk_known |
4422 | 如果op恒等于Audit_not_equal则返回:rule不等于smk_known |
4425 | 返回:0 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |