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 <[email protected]> Signed-off-by: Mimi Zohar <[email protected]>
1 parent ea78979 commit 5350ceb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)