From 4cea310fc7de0a05ca645061c9c1f2375d8123eb Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 7 Mar 2019 15:18:06 +0100 Subject: [PATCH] execute: remove one aa profile output from context dump The same data is output a few lines further up already, drop one. --- src/core/execute.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/core/execute.c b/src/core/execute.c index 39d9f07518b..3f784dd1797 100644 --- a/src/core/execute.c +++ b/src/core/execute.c @@ -4567,11 +4567,6 @@ void exec_context_dump(const ExecContext *c, FILE* f, const char *prefix) { else fprintf(f, "%d\n", c->syscall_errno); } - - if (c->apparmor_profile) - fprintf(f, - "%sAppArmorProfile: %s%s\n", - prefix, c->apparmor_profile_ignore ? "-" : "", c->apparmor_profile); } bool exec_context_maintains_privileges(const ExecContext *c) { -- 2.47.3