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)
committerMimi Zohar <zohar@linux.vnet.ibm.com>
Tue, 16 Jun 2015 12:18:21 +0000 (08:18 -0400)
commit45b26133b97871896b8c5241d59f4ff7839db7b2
tree7a9da6f15ae727eb9f2e9d1a9b74b129a18dd49d
parentd6f7aa27f41db6f556dba0185228a0b90a2a0980
ima: fix ima_show_template_data_ascii()

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>
Cc: stable@vger.kernel.org # 3.13
security/integrity/ima/ima.h
security/integrity/ima/ima_fs.c
security/integrity/ima/ima_template_lib.c