RFC IMA: Export functions for file integrity verification
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest4 patches 17 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | integrity: Identify asymmetric digital signature using new typesecurity/ security/ security/ +1 more | +20 | 0 replies | |
| 2/4 | ima: export new IMA functions for signature verificationinclude/ include/ security/ +1 more | +85 | 0 replies | |
| 3/4 | capability: Create a new capability CAP_SIGNEDinclude/ kernel/ security/ | +20 | 10 replies | |
| 4/4 | binfmt_elf: Elf executable signature verificationfs/ fs/ | +56 | 7 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH 0/4] IMA: Export functions for file integrity verification
Hi,
This is just a proof of concept RFC to export some functions from IMA for file integrity verification. And there is a patch which modified binfmt_elf.c to show how a IMA subsystem user can call into IMA to verify integrity of a file.
This patch set is far from being done. I am just throwing it out so that we can start a discussion on whether exporting IMA functions makes sense and if it does, then how those functions should look like.
Thanks
Vivek
Vivek Goyal (4):
integrity: Identify asymmetric digital signature using new type
ima: export new IMA functions for signature verification
capability: Create a new capability CAP_SIGNED
binfmt_elf: Elf executable signature verification
fs/Kconfig.binfmt | 12 ++++++++ fs/binfmt_elf.c | 44 +++++++++++++++++++++++++++++++ include/linux/ima.h | 24 ++++++++++++++++- include/linux/integrity.h | 7 +++++ include/uapi/linux/capability.h | 12 ++++++++- kernel/cred.c | 7 +++++ security/commoncap.c | 2 + security/integrity/digsig.c | 11 +++++--- security/integrity/evm/evm_main.c | 4 ++- security/integrity/ima/ima_api.c | 16 +++++++++++ security/integrity/ima/ima_appraise.c | 46 +++++++++++++++++++++++++++++++- security/integrity/integrity.h | 14 +++------ 12 files changed, 181 insertions(+), 18 deletions(-)
Signature · 1 line
1.7.7.6