mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
Merge aa-logprof: propose 'include' instead of '#include' rules
MR: https://gitlab.com/apparmor/apparmor/-/merge_requests/630 Acked-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
commit
0dcac24510
1 changed files with 1 additions and 1 deletions
|
@ -1153,7 +1153,7 @@ def ask_rule_questions(prof_events, profile_name, the_profile, r_types):
|
|||
newincludes = match_includes(the_profile, ruletype, rule_obj)
|
||||
q = aaui.PromptQuestion()
|
||||
if newincludes:
|
||||
options += list(map(lambda inc: '#include <%s>' % inc, sorted(set(newincludes))))
|
||||
options += list(map(lambda inc: 'include <%s>' % inc, sorted(set(newincludes))))
|
||||
|
||||
if ruletype == 'file' and rule_obj.path:
|
||||
options += propose_file_rules(the_profile, rule_obj)
|
||||
|
|
Loading…
Add table
Reference in a new issue