From: Dmitry Kasatkin Date: Thu, 25 Apr 2013 07:44:04 +0000 (+0300) Subject: ima: use dynamically allocated hash storage X-Git-Tag: v3.13-rc1~18^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a35c3fb6490cc1d3446e4781693408100113c4fb;p=pandora-kernel.git ima: use dynamically allocated hash storage For each inode in the IMA policy, an iint is allocated. To support larger hash digests, the iint digest size changed from 20 bytes to the maximum supported hash digest size. Instead of allocating the maximum size, which most likely is not needed, this patch dynamically allocates the needed hash storage. Changelog: - fix krealloc bug Signed-off-by: Dmitry Kasatkin Signed-off-by: Mimi Zohar --- Reading git-diff-tree failed