diff --git a/tools/check_seapp.c b/tools/check_seapp.c index e5108e3f7a3ff2e36a9c1c27b619f78b4c066f53..39fe77e18c94ddcfc1958a9f467163c40ee1940b 100644 --- a/tools/check_seapp.c +++ b/tools/check_seapp.c @@ -487,13 +487,13 @@ static bool rule_map_validate(const rule_map *rm) { name = tmp->data; found_name = true; } - if(!strcmp(tmp->name, "seinfo") && tmp->data) { + if(!strcmp(tmp->name, "seinfo") && tmp->data && strcmp(tmp->data, "default")) { found_seinfo = true; } } if(found_name && !found_seinfo) { - log_error("No seinfo specified with name=\"%s\", on line: %d\n", + log_error("No specific seinfo value specified with name=\"%s\", on line: %d: insecure configuration!\n", name, rm->lineno); return false; }