函数逻辑报告 |
Source Code:security\integrity\ima\ima_template_lib.c |
Create Date:2022-07-27 22:05:57 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:ima_eventname_init_common
函数原型:static int ima_eventname_init_common(struct ima_event_data *event_data, struct ima_field_data *field_data, bool size_limit)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct ima_event_data * | event_data | |
| struct ima_field_data * | field_data | |
| bool | size_limit |
| 371 | const char * cur_filename = NULL |
| 372 | cur_filename_len等于0 |
| 376 | 如果filename则 |
| 377 | cur_filename等于filename |
| 380 | 如果非size_limit或cur_filename_len小于等于IMA_EVENT_NAME_LEN_MAX则转到:out |
| 384 | 如果file则 |
| 385 | cur_filename等于name |
| 393 | out : |
| 名称 | 描述 |
|---|---|
| ima_eventname_init | This function writes the name of an event (with size limit). |
| ima_eventname_ng_init | This function writes the name of an event (without size limit). |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |