ima: generic IMA action flag handling
authorDmitry Kasatkin <dmitry.kasatkin@intel.com>
Wed, 12 Sep 2012 17:51:32 +0000 (20:51 +0300)
committerMimi Zohar <zohar@linux.vnet.ibm.com>
Thu, 13 Sep 2012 18:23:57 +0000 (14:23 -0400)
commit45e2472e67bf66f794d507b52e82af92e0614e49
tree4b3ba557d4f9da9bca14ce85bee965e4a9fcd6ac
parentd9d300cdb6f233c4c591348919c758062198a4f4
ima: generic IMA action flag handling

Make the IMA action flag handling generic in order to support
additional new actions, without requiring changes to the base
implementation.  New actions, like audit logging, will only
need to modify the define statements.

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