summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorClay Chang <clayc@hpe.com>2020-01-05 09:18:13 +0800
committerMimi Zohar <zohar@linux.ibm.com>2020-01-22 15:22:51 -0500
commit5350ceb0b7befba9f607fd4c09b1a424e117fe1c (patch)
tree8f061e59d3a0a1fbecd908ed1c3d31e351a5f02e /security
parentea78979d302f7de9bbd59f9dafdb070ecb05ec39 (diff)
ima: Add a space after printing LSM rules for readability
When reading ima_policy from securityfs, there is a missing space between output string of LSM rules and the remaining rules. Signed-off-by: Clay Chang <clayc@hpe.com> Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
Diffstat (limited to 'security')
-rw-r--r--security/integrity/ima/ima_policy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/security/integrity/ima/ima_policy.c b/security/integrity/ima/ima_policy.c
index a4dde9d575b2..9c0ea574a48c 100644
--- a/security/integrity/ima/ima_policy.c
+++ b/security/integrity/ima/ima_policy.c
@@ -1579,6 +1579,7 @@ int ima_policy_show(struct seq_file *m, void *v)
(char *)entry->lsm[i].args_p);
break;
}
+ seq_puts(m, " ");
}
}
if (entry->template)