[PATCH 0/8] integrity: miscellaneous cleanups

From: Dmitry Kasatkin
Date: Wed Sep 03 2014 - 03:23:23 EST


Hi,

Here is a few miscellaneous cleanups to improve code quality,
performance and prevent unnecessary memory allocations.

- Dmitry

Dmitry Kasatkin (8):
integrity: prevent flooding with 'Request for unknown key'
integrity: remove declaration of non-existing functions
ima: simplify conditional statement to improve performance
ima: remove unnecessary extra variable
ima: add missing '__init' keywords
ima: remove unnecessary code
ima: remove usage of filename parameter
ima: initialize only required template

security/integrity/digsig_asymmetric.c | 5 +++--
security/integrity/ima/ima.h | 11 -----------
security/integrity/ima/ima_appraise.c | 2 --
security/integrity/ima/ima_crypto.c | 2 +-
security/integrity/ima/ima_main.c | 34 +++++++++++++++-------------------
security/integrity/ima/ima_template.c | 30 +++++-------------------------
security/integrity/integrity.h | 1 -
7 files changed, 24 insertions(+), 61 deletions(-)

--
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/