ima: fix ima_show_template_data_ascii()
authorMimi Zohar <zohar@linux.vnet.ibm.com>
Thu, 11 Jun 2015 15:54:42 +0000 (11:54 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 3 Aug 2015 16:29:12 +0000 (09:29 -0700)
commit2b92ad967d2884fed41469c0c37f3cd14937fad6
tree994a0b61ca0cd9a44a178a49f396285ed2a3f872
parent60e2874ce4570fa546d9c173a5a5cf7b9e966070
ima: fix ima_show_template_data_ascii()

commit 45b26133b97871896b8c5241d59f4ff7839db7b2 upstream.

This patch fixes a bug introduced in "4d7aeee ima: define new template
ima-ng and template fields d-ng and n-ng".

Changelog:
- change int to uint32 (Roberto Sassu's suggestion)

Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Signed-off-by: Roberto Sassu <rsassu@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
security/integrity/ima/ima.h
security/integrity/ima/ima_fs.c
security/integrity/ima/ima_template_lib.c