projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea78979
)
ima: Add a space after printing LSM rules for readability
author
Clay Chang
<clayc@hpe.com>
Sun, 5 Jan 2020 01:18:13 +0000
(09:18 +0800)
committer
Mimi Zohar
<zohar@linux.ibm.com>
Wed, 22 Jan 2020 20:22:51 +0000
(15:22 -0500)
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>
security/integrity/ima/ima_policy.c
patch
|
blob
|
history
diff --git
a/security/integrity/ima/ima_policy.c
b/security/integrity/ima/ima_policy.c
index a4dde9d575b2e819a7332eb3cfbd29169a7e9fed..9c0ea574a48c9763a2ec0648f46fc4ee57fa6050 100644
(file)
--- 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)