From: Roberto Sassu Date: Fri, 8 Nov 2013 18:21:37 +0000 (+0100) Subject: ima: remove unneeded size_limit argument from ima_eventdigest_init_common() X-Git-Tag: v3.14-rc1~147^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dcf4e392867bf98d50ad108ed7c2bfb941e8c33d;p=pandora-kernel.git ima: remove unneeded size_limit argument from ima_eventdigest_init_common() This patch removes the 'size_limit' argument from ima_eventdigest_init_common(). Since the 'd' field will never include the hash algorithm as prefix and the 'd-ng' will always have it, we can use the hash algorithm to differentiate the two cases in the modified function (it is equal to HASH_ALGO__LAST in the first case, the opposite in the second). Signed-off-by: Roberto Sassu Signed-off-by: Mimi Zohar --- Reading git-diff-tree failed