commit | 7233e3ee22b1506723411fe437bcf69f678e8cdd | [log] [tgz] |
---|---|---|
author | Eric Paris <eparis@redhat.com> | Tue Apr 20 10:21:24 2010 -0400 |
committer | James Morris <jmorris@namei.org> | Wed Apr 21 09:58:16 2010 +1000 |
tree | 3d84d037890a9918ed02b89fde875fd6e6cd3b10 | |
parent | 28ef4002ec7b4be27f1110b83e255df8159c786a [diff] |
IMA: handle comments in policy IMA policy load parser will reject any policies with a comment. This patch will allow the parser to just ignore lines which start with a #. This is not very robust. # can ONLY be used at the very beginning of a line. Inline comments are not allowed. Signed-off-by: Eric Paris Acked-by: Mimi Zohar <zohar@us.ibm.com> Signed-off-by: James Morris <jmorris@namei.org>