diff options
author | Clay Chang <clayc@hpe.com> | 2020-01-05 02:18:13 +0100 |
---|---|---|
committer | Mimi Zohar <zohar@linux.ibm.com> | 2020-01-22 21:22:51 +0100 |
commit | 5350ceb0b7befba9f607fd4c09b1a424e117fe1c (patch) | |
tree | 8f061e59d3a0a1fbecd908ed1c3d31e351a5f02e /security | |
parent | IMA: fix measuring asymmetric keys Kconfig (diff) | |
download | linux-5350ceb0b7befba9f607fd4c09b1a424e117fe1c.tar.xz linux-5350ceb0b7befba9f607fd4c09b1a424e117fe1c.zip |
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.c | 1 |
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) |