core: dump also missed security context
This commit is contained in:
parent
5b8e1b7755
commit
80c21aea11
|
@ -3614,6 +3614,16 @@ void exec_context_dump(ExecContext *c, FILE* f, const char *prefix) {
|
|||
"%sSELinuxContext: %s%s\n",
|
||||
prefix, c->selinux_context_ignore ? "-" : "", c->selinux_context);
|
||||
|
||||
if (c->apparmor_profile)
|
||||
fprintf(f,
|
||||
"%sAppArmorProfile: %s%s\n",
|
||||
prefix, c->apparmor_profile_ignore ? "-" : "", c->apparmor_profile);
|
||||
|
||||
if (c->smack_process_label)
|
||||
fprintf(f,
|
||||
"%sSmackProcessLabel: %s%s\n",
|
||||
prefix, c->smack_process_label_ignore ? "-" : "", c->smack_process_label);
|
||||
|
||||
if (c->personality != PERSONALITY_INVALID)
|
||||
fprintf(f,
|
||||
"%sPersonality: %s\n",
|
||||
|
|
Loading…
Reference in New Issue