aboutsummaryrefslogtreecommitdiffstats
path: root/security/integrity/ima/ima_fs.c
diff options
context:
space:
mode:
authorDmitry Kasatkin <d.kasatkin@samsung.com>2014-10-03 14:40:20 +0300
committerMimi Zohar <zohar@linux.vnet.ibm.com>2014-10-11 23:29:19 -0400
commit7178784f0a94e2e6c668f587665fde41d405a23c (patch)
tree446106018f0d880b1e2dd3da0124bb3cfc03f5c3 /security/integrity/ima/ima_fs.c
parentima: no need to allocate entry for comment (diff)
downloadlinux-dev-7178784f0a94e2e6c668f587665fde41d405a23c.tar.xz
linux-dev-7178784f0a94e2e6c668f587665fde41d405a23c.zip
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 <d.kasatkin@samsung.com> Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Diffstat (limited to 'security/integrity/ima/ima_fs.c')
0 files changed, 0 insertions, 0 deletions