ima: change flags container data type
authorDmitry Kasatkin <dmitry.kasatkin@intel.com>
Wed, 19 Sep 2012 12:32:49 +0000 (15:32 +0300)
committerMimi Zohar <zohar@linux.vnet.ibm.com>
Wed, 19 Sep 2012 12:55:20 +0000 (08:55 -0400)
commit0a72ba7aff26fb6e918cee6d2bbfd289069f10ae
tree4263886ae20b6875153c20513b607e6208e8a3f6
parent46a2f3b9e99353cc63e15563e8abee71162330f7
ima: change flags container data type

IMA audit hashes patches introduced new IMA flags and required
space went beyond 8 bits. Currently the only flag is IMA_DIGSIG.
This patch use 16 bit short instead of 8 bit char.
Without this fix IMA signature will be replaced with hash, which
should not happen.

Signed-off-by: Dmitry Kasatkin <dmitry.kasatkin@intel.com>
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
security/integrity/integrity.h