]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
execute: remove one aa profile output from context dump
authorLennart Poettering <lennart@poettering.net>
Thu, 7 Mar 2019 14:18:06 +0000 (15:18 +0100)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 11 Mar 2019 02:05:22 +0000 (11:05 +0900)
The same data is output a few lines further up already, drop one.

src/core/execute.c

index 39d9f07518be500a829ad43997ee81c1cfb40eae..3f784dd1797ae42f3d11f213225eb858719fad32 100644 (file)
@@ -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) {