函数逻辑报告 |
Source Code:security\smack\smack_lsm.c |
Create Date:2022-07-27 20:53:47 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:smack_audit_rule_init - Initialize a smack audit rule*@field: audit rule fields given from user-space (audit.h)*@op: required testing operator (=, !=, >, <, ...)*@rulestr: smack label to be audited*@vrule: pointer to save our own audit rule representation
函数原型:static int smack_audit_rule_init(unsigned int field, unsigned int op, char *rulestr, void **vrule)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
unsigned int | field | |
unsigned int | op | |
char * | rulestr | |
void ** | vrule |
4350 | * rule = NULL |
4352 | 如果field不等于security label user 且field不等于AUDIT_OBJ_USER则返回:负EINVAL |
4355 | 如果op不等于Audit_equal且op不等于Audit_not_equal则返回:负EINVAL |
4358 | skp等于smk_import_entry(rulestr, 0) |
4364 | 返回:0 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |