]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'topic/ima' into topic/secureboot
authorMichael Ellerman <mpe@ellerman.id.au>
Tue, 12 Nov 2019 13:32:03 +0000 (00:32 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 12 Nov 2019 13:32:03 +0000 (00:32 +1100)
commitc5e0613f43c7eb8b14a0c157d7a871630cc3ade5
treeede50dc372aaae6c783e2dc43cbfee9c238ddaaf
parent3a9527121a36d10e81fe39475a76144099c51db0
parent9e9dc8483ae9a8243ab1c9c0546cae0924c53f05
Merge branch 'topic/ima' into topic/secureboot

From Nayna's cover letter:
  The IMA subsystem supports custom, built-in, arch-specific policies
  to define the files to be measured and appraised. These policies are
  honored based on priority, where arch-specific policy is the highest
  and custom is the lowest.

  PowerNV systems use a Linux-based bootloader to kexec the OS. The
  bootloader kernel relies on IMA for signature verification of the OS
  kernel before doing the kexec. This patchset adds support for
  powerpc arch-specific IMA policies that are conditionally defined
  based on a system's secure boot and trusted boot states. The OS
  secure boot and trusted boot states are determined via device-tree
  properties.

  The verification needs to be performed only for binaries that are
  not blacklisted. The kernel currently only checks against the
  blacklist of keys. However, doing so results in blacklisting all the
  binaries that are signed by the same key. In order to prevent just
  one particular binary from being loaded, it must be checked against
  a blacklist of binary hashes. This patchset also adds support to IMA
  for checking against a hash blacklist for files. signed by appended
  signature.