TSG-15381 TFE适配MAAT4的maat_plugin_table_get_ex_data()接口变更
This commit is contained in:
@@ -266,7 +266,7 @@ int intercept_policy_enforce(struct intercept_policy_enforcer *enforcer, struct
|
||||
}
|
||||
|
||||
snprintf(buff, sizeof(buff), "%lu", rule_id);
|
||||
param = (struct intercept_param *)maat_plugin_table_get_ex_data(enforcer->maat, enforcer->table_id, buff);
|
||||
param = (struct intercept_param *)maat_plugin_table_get_ex_data(enforcer->maat, enforcer->table_id, buff, strlen(buff));
|
||||
if (param == NULL)
|
||||
{
|
||||
TFE_LOG_INFO(enforcer->logger, "Failed to get intercept parameter of policy %lu.", rule_id);
|
||||
|
||||
Reference in New Issue
Block a user