Skip to content

Commit 5350ceb

Browse files
claychpemimizohar
authored andcommitted
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>
1 parent ea78979 commit 5350ceb

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎security/integrity/ima/ima_policy.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1579,6 +1579,7 @@ int ima_policy_show(struct seq_file *m, void *v)
15791579
(char *)entry->lsm[i].args_p);
15801580
break;
15811581
}
1582+
seq_puts(m, " ");
15821583
}
15831584
}
15841585
if (entry->template)

0 commit comments

Comments
 (0)