Skip to content

Make detecting the secure boot status integrity-wide

Coiby Xu keyrings linux-efi linux-integrity linux-s390 linux-security-module linuxppc-dev lkml llvm oe-kbuild-all 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 4 repliesIn review
  2. v23 patches 3 repliesSuperseded
  3. v13 patches 19 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3integrity: Make arch_ima_get_secureboot integrity-wideMAINTAINERS arch/powerpc/kernel/ima_arch.c arch/powerpc/kernel/secure_boot.c +14 more+115 -703 replies
2/3evm: Don't enable fix mode when secure boot is enabledsecurity/integrity/evm/evm_main.c+17 -70 replies
3/3s390: Drop unnecessary CONFIG_IMA_SECURE_AND_OR_TRUSTED_BOOTarch/s390/Kconfig arch/s390/kernel/Makefile arch/s390/kernel/ima_arch.c+0 -102 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by.

PatchMimi ZoharAlexander Egorenkov
1/3Reported-and-suggested-by
2/3Reported-and-suggested-by
3/3T-b

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

Read the v3 thread

Cover letter [PATCH v3 0/3] Make detecting the secure boot status integrity-wide

EVM and other LSMs need the ability to query the secure boot status of the system, without directly calling the IMA arch_ima_get_secureboot function. Make arch_ima_get_secureboot integrity-wide.

v3
- remove unnecessary line splittings [Mimi]

v2
- drop CONFIG_INTEGRITY_SECURE_BOOT Kconfig option since it "imply INTEGRITY_SECURE_BOOT" is anti-pattern as pointed out by Ard Biesheuvel

Coiby Xu (3):
integrity: Make arch_ima_get_secureboot integrity-wide
evm: Don't enable fix mode when secure boot is enabled
s390: Drop unnecessary CONFIG_IMA_SECURE_AND_OR_TRUSTED_BOOT

 MAINTAINERS                                   |  1 +
 arch/powerpc/kernel/ima_arch.c                |  5 --
 arch/powerpc/kernel/secure_boot.c             |  6 ++
 arch/s390/Kconfig                             |  1 -
 arch/s390/kernel/Makefile                     |  1 -
 arch/s390/kernel/ima_arch.c                   | 14 -----
 arch/s390/kernel/ipl.c                        |  5 ++
 arch/x86/include/asm/efi.h                    |  4 +-
 arch/x86/platform/efi/efi.c                   |  2 +-
 include/linux/ima.h                           |  7 +--
 include/linux/secure_boot.h                   | 19 +++++++
 security/integrity/Makefile                   |  3 +-
 security/integrity/efi_secureboot.c           | 56 +++++++++++++++++++
 security/integrity/evm/evm_main.c             | 24 +++++---
 security/integrity/ima/ima_appraise.c         |  2 +-
 security/integrity/ima/ima_efi.c              | 47 +---------------
 security/integrity/ima/ima_main.c             |  3 +-
 security/integrity/integrity.h                |  1 +
 security/integrity/platform_certs/load_uefi.c |  2 +-
 security/integrity/secure_boot.c              | 16 ++++++
 20 files changed, 132 insertions(+), 87 deletions(-)
 delete mode 100644 arch/s390/kernel/ima_arch.c
 create mode 100644 include/linux/secure_boot.h
 create mode 100644 security/integrity/efi_secureboot.c
 create mode 100644 security/integrity/secure_boot.c

base-commit: 2619c62b7ef2f463bcbbb34af122689c09855c23

Signature · 1 line
2.53.0