调整打包脚本

* 安装之前停止sapp
  * 增加noreplace配置
  * 增加debuginfo包
  * 移除sapp.toml, conflist.inf, project_list.conf
This commit is contained in:
崔一鸣
2019-09-23 17:07:14 +08:00
parent 7a6616ed5d
commit b0bbde41b0
4 changed files with 12 additions and 11 deletions

View File

@@ -184,8 +184,8 @@ error_out:
static int index_of_enforce_policy(struct Maat_rule_t* result, size_t size)
{
size_t i = 0;
int biggest_intercept_policy_id = -1, ret_intercept_idx;
int biggest_bypass_policy_id = -1, ret_bypass_idx;
int biggest_intercept_policy_id = -1, ret_intercept_idx = -1;
int biggest_bypass_policy_id = -1, ret_bypass_idx = -1;
for(i = 0; i < size; i++)
{
if((unsigned char)result[i].action == KNI_ACTION_BYPASS)