IMA: handle whitespace better
authorEric Paris <eparis@redhat.com>
Tue, 20 Apr 2010 14:21:18 +0000 (10:21 -0400)
committerJames Morris <jmorris@namei.org>
Tue, 20 Apr 2010 23:58:16 +0000 (09:58 +1000)
commit28ef4002ec7b4be27f1110b83e255df8159c786a
treee7b32aeb36ecf2d76235aa7d436a7578738a98cc
parente9d393bf8660fbbbe00617015224342bac3ea6fc
IMA: handle whitespace better

IMA parser will fail if whitespace is used in any way other than a single
space.  Using a tab or even using 2 spaces in a row will result in a policy
being rejected.  This patch makes the kernel ignore whitespace a bit better.

Signed-off-by: Eric Paris <eparis@redhat.com>
Acked-by: Mimi Zohar <zohar@us.ibm.com>
Signed-off-by: James Morris <jmorris@namei.org>
security/integrity/ima/ima_policy.c