From: Dmitry Kasatkin Date: Fri, 3 Oct 2014 11:40:20 +0000 (+0300) Subject: ima: ignore empty and with whitespaces policy lines X-Git-Tag: omap-for-v3.19/fixes-rc1~83^2~2^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7178784f0a94e2e6c668f587665fde41d405a23c;p=pandora-kernel.git ima: ignore empty and with whitespaces policy lines Empty policy lines cause parsing failures which is, especially for new users, hard to spot. This patch prevents it. Changes in v2: * strip leading blanks and tabs in rules to prevent parsing failures Signed-off-by: Dmitry Kasatkin Signed-off-by: Mimi Zohar --- Reading git-diff-tree failed