Skip to content

Code improvements in integrity and IMA

Thiago Jung Bauermann linux-integrity linux-security-module lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4integrity: Remove unused macro IMA_ACTION_RULE_FLAGSsecurity/integrity/integrity.h+0 -11 reply
2/4ima: Simplify ima_eventsig_init()security/integrity/ima/ima_template_lib.c+3 -81 reply
3/4ima: Improvements in ima_appraise_measurement()security/integrity/ima/ima_appraise.c+20 -135 replies
4/4integrity: Introduce struct evm_xattrsecurity/integrity/evm/evm_crypto.c security/integrity/evm/evm_main.c security/integrity/ima/ima_appraise.c +1 more+16 -100 replies

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchSerge Hallyn
1/4A-b
2/4A-b
3/4A-b
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] Code improvements in integrity and IMA

Hello,

These patches come from the "appended signatures support for IMA appraisal" series. They are code improvements and cleanups and I decided to submit them separately for a couple of reasons:

1. they stand on their own and could be included in v4.17;

2. this will simplify the original patch series a bit, by having it contain only the patches actually necessary to implement the feature.

These are the changes made to them since v5 of the modsig series:

- Patch "integrity: Remove unused macro IMA_ACTION_RULE_FLAGS"
- New patch.

- Patch "ima: Improvements in ima_appraise_measurement()"
- Moved is_ima_sig() to its own patch (not in this series).

Mimi Zohar (1):
ima: Improvements in ima_appraise_measurement()

Thiago Jung Bauermann (3):
integrity: Remove unused macro IMA_ACTION_RULE_FLAGS
ima: Simplify ima_eventsig_init()
integrity: Introduce struct evm_xattr

 security/integrity/evm/evm_crypto.c       |  4 ++--
 security/integrity/evm/evm_main.c         | 10 ++++----
 security/integrity/ima/ima_appraise.c     | 40 ++++++++++++++++++-------------
 security/integrity/ima/ima_template_lib.c | 11 +++------
 security/integrity/integrity.h            |  6 ++++-
 5 files changed, 39 insertions(+), 32 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-security-module" in the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html