• Linus Torvalds's avatar
    Merge tag 'integrity-v6.10' of ssh://ra.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity · 353ad6c0
    Linus Torvalds authored
    Pull integrity updates from Mimi Zohar:
     "Two IMA changes, one EVM change, a use after free bug fix, and a code
      cleanup to address "-Wflex-array-member-not-at-end" warnings:
    
       - The existing IMA {ascii, binary}_runtime_measurements lists include
         a hard coded SHA1 hash. To address this limitation, define per TPM
         enabled hash algorithm {ascii, binary}_runtime_measurements lists
    
       - Close an IMA integrity init_module syscall measurement gap by
         defining a new critical-data record
    
       - Enable (partial) EVM support on stacked filesystems (overlayfs).
         Only EVM portable & immutable file signatures are copied up, since
         they do not contain filesystem specific metadata"
    
    * tag 'integrity-v6.10' of ssh://ra.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity:
      ima: add crypto agility support for template-hash algorithm
      evm: Rename is_unsupported_fs to is_unsupported_hmac_fs
      fs: Rename SB_I_EVM_UNSUPPORTED to SB_I_EVM_HMAC_UNSUPPORTED
      evm: Enforce signatures on unsupported filesystem for EVM_INIT_X509
      ima: re-evaluate file integrity on file metadata change
      evm: Store and detect metadata inode attributes changes
      ima: Move file-change detection variables into new structure
      evm: Use the metadata inode to calculate metadata hash
      evm: Implement per signature type decision in security_inode_copy_up_xattr
      security: allow finer granularity in permitting copy-up of security xattrs
      ima: Rename backing_inode to real_inode
      integrity: Avoid -Wflex-array-member-not-at-end warnings
      ima: define an init_module critical data record
      ima: Fix use-after-free on a dentry's dname.name
    353ad6c0
smack_lsm.c 128 KB