From 125ef7a8cbcfafc43c9f49196a36c20ec4bcd7d4 Mon Sep 17 00:00:00 2001 From: John Johansen Date: Wed, 19 Feb 2025 10:53:47 -0800 Subject: [PATCH] utils: genprof/logprof - fix missing newline nit in MR1543 This is a trivial fix for MR: https://gitlab.com/apparmor/apparmor/-/merge_requests/1543 instead of waiting longer for the auther to fix, the MR was merged and this manual fixup done. Fixes: dfe9d713f ("aa-logprof/aa-genprof: allow ignoring executions") Signed-off-by: John Johansen --- utils/apparmor/aa.py | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/apparmor/aa.py b/utils/apparmor/aa.py index 2bce0c9e0..df3e2e9d2 100644 --- a/utils/apparmor/aa.py +++ b/utils/apparmor/aa.py @@ -893,6 +893,7 @@ def ask_exec(hashlog, default_ans=''): if ans == 'CMD_IGNORE_ENTRY': continue + if exec_mode and 'i' in exec_mode: # For inherit we need mr file_perm = 'mr'