]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdaf58fc615f5851c7bbe607e72591be1d09cc819
tree4263886ae20b6875153c20513b607e6208e8a3f6
parent00e082e01df09d29f41391a4345e6d39684cf7c6
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