1. 28 9月, 2021 1 次提交
  2. 26 9月, 2021 9 次提交
  3. 17 7月, 2021 2 次提交
  4. 14 4月, 2021 6 次提交
  5. 05 10月, 2020 6 次提交
  6. 08 5月, 2020 1 次提交
  7. 20 4月, 2020 1 次提交
    • R
      ima: Switch to dynamically allocated buffer for template digests · aa724fe1
      Roberto Sassu 提交于
      This patch dynamically allocates the array of tpm_digest structures in
      ima_alloc_init_template() and ima_restore_template_data(). The size of the
      array is equal to the number of PCR banks plus ima_extra_slots, to make
      room for SHA1 and the IMA default hash algorithm, when PCR banks with those
      algorithms are not allocated.
      
      Calculating the SHA1 digest is mandatory, as SHA1 still remains the default
      hash algorithm for the measurement list. When IMA will support the Crypto
      Agile format, remaining digests will be also provided.
      
      The position in the measurement entry array of the SHA1 digest is stored in
      the ima_sha1_idx global variable and is determined at IMA initialization
      time.
      Signed-off-by: NRoberto Sassu <roberto.sassu@huawei.com>
      Signed-off-by: NMimi Zohar <zohar@linux.ibm.com>
      aa724fe1
  8. 29 2月, 2020 1 次提交
  9. 05 6月, 2019 1 次提交
  10. 13 12月, 2018 1 次提交
    • P
      security: audit and remove any unnecessary uses of module.h · 876979c9
      Paul Gortmaker 提交于
      Historically a lot of these existed because we did not have
      a distinction between what was modular code and what was providing
      support to modules via EXPORT_SYMBOL and friends.  That changed
      when we forked out support for the latter into the export.h file.
      This means we should be able to reduce the usage of module.h
      in code that is obj-y Makefile or bool Kconfig.
      
      The advantage in removing such instances is that module.h itself
      sources about 15 other headers; adding significantly to what we feed
      cpp, and it can obscure what headers we are effectively using.
      
      Since module.h might have been the implicit source for init.h
      (for __init) and for export.h (for EXPORT_SYMBOL) we consider each
      instance for the presence of either and replace as needed.
      
      Cc: James Morris <jmorris@namei.org>
      Cc: "Serge E. Hallyn" <serge@hallyn.com>
      Cc: John Johansen <john.johansen@canonical.com>
      Cc: Mimi Zohar <zohar@linux.ibm.com>
      Cc: Dmitry Kasatkin <dmitry.kasatkin@gmail.com>
      Cc: David Howells <dhowells@redhat.com>
      Cc: linux-security-module@vger.kernel.org
      Cc: linux-integrity@vger.kernel.org
      Cc: keyrings@vger.kernel.org
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: NJames Morris <james.morris@microsoft.com>
      876979c9
  11. 11 10月, 2018 2 次提交
  12. 17 5月, 2018 3 次提交
  13. 09 11月, 2017 2 次提交
  14. 30 6月, 2017 1 次提交
  15. 22 6月, 2017 1 次提交
  16. 21 12月, 2016 2 次提交