projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab21263
)
execute: remove one aa profile output from context dump
author
Lennart Poettering
<lennart@poettering.net>
Thu, 7 Mar 2019 14:18:06 +0000
(15:18 +0100)
committer
Yu 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
patch
|
blob
|
history
diff --git
a/src/core/execute.c
b/src/core/execute.c
index 39d9f07518be500a829ad43997ee81c1cfb40eae..3f784dd1797ae42f3d11f213225eb858719fad32 100644
(file)
--- 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) {