Skip to content

Commit

Permalink
ima: Add a space after printing LSM rules for readability
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
claychpe authored and mimizohar committed Jan 22, 2020
1 parent ea78979 commit 5350ceb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions security/integrity/ima/ima_policy.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5350ceb

Please sign in to comment.