1. 03 7月, 2012 1 次提交
    • M
      ima: use full pathnames in measurement list · 08e1b76a
      Mimi Zohar 提交于
      The IMA measurement list contains filename hints, which can be
      ambigious without the full pathname.  This patch replaces the
      filename hint with the full pathname, simplifying for userspace
      the correlating of file hash measurements with files.
      
      Change log v1:
      - Revert to short filenames, when full pathname is longer than IMA
        measurement buffer size. (Based on Dmitry's review)
      Signed-off-by: NMimi Zohar <zohar@linux.vnet.ibm.com>
      08e1b76a
  2. 16 5月, 2012 1 次提交
  3. 28 2月, 2012 1 次提交
  4. 16 2月, 2012 1 次提交
  5. 20 1月, 2012 2 次提交
  6. 19 1月, 2012 1 次提交
  7. 18 1月, 2012 3 次提交
  8. 20 12月, 2011 4 次提交
  9. 08 12月, 2011 2 次提交
  10. 22 11月, 2011 1 次提交
    • D
      digsig: build dependency fix · de353533
      Dmitry Kasatkin 提交于
      Fix build errors by adding Kconfig dependency on KEYS.
      CRYPTO dependency removed.
      
        CC      security/integrity/digsig.o
      security/integrity/digsig.c: In function ?integrity_digsig_verify?:
      security/integrity/digsig.c:38:4: error: implicit declaration of function ?request_key?
      security/integrity/digsig.c:38:17: error: ?key_type_keyring? undeclared (first use in this function)
      security/integrity/digsig.c:38:17: note: each undeclared identifier is reported only once for each function it appears in
      make[2]: *** [security/integrity/digsig.o] Error 1
      Reported-by: NRandy Dunlap <rdunlap@xenotime.net>
      Signed-off-by: NDmitry Kasatkin <dmitry.kasatkin@intel.com>
      Signed-off-by: NJames Morris <jmorris@namei.org>
      de353533
  11. 09 11月, 2011 2 次提交
  12. 02 11月, 2011 1 次提交
  13. 15 9月, 2011 5 次提交
    • D
      evm: clean verification status · fb788d8b
      Dmitry Kasatkin 提交于
      When allocating from slab, initialization is done the first time in
      init_once() and subsequently on free.  Because evm_status was not
      re-initialized on free, evm_verify_hmac() skipped verifications.
      
      This patch re-initializes evm_status.
      Signed-off-by: NDmitry Kasatkin <dmitry.kasatkin@intel.com>
      Signed-off-by: NMimi Zohar <zohar@us.ibm.com>
      fb788d8b
    • M
      evm: permit mode bits to be updated · 566be59a
      Mimi Zohar 提交于
      Before permitting 'security.evm' to be updated, 'security.evm' must
      exist and be valid.  In the case that there are no existing EVM protected
      xattrs, it is safe for posix acls to update the mode bits.
      
      To differentiate between no 'security.evm' xattr and no xattrs used to
      calculate 'security.evm', this patch defines INTEGRITY_NOXATTR.
      Signed-off-by: NMimi Zohar <zohar@us.ibm.com>
      566be59a
    • M
      evm: posix acls modify i_mode · bf6d0f5d
      Mimi Zohar 提交于
      The posix xattr acls are 'system' prefixed, which normally would not
      affect security.evm.  An interesting side affect of writing posix xattr
      acls is their modifying of the i_mode, which is included in security.evm.
      
      This patch updates security.evm when posix xattr acls are written.
      Signed-off-by: NMimi Zohar <zohar@us.ibm.com>
      bf6d0f5d
    • M
      evm: limit verifying current security.evm integrity · a924ce0b
      Mimi Zohar 提交于
      evm_protect_xattr unnecessarily validates the current security.evm
      integrity, before updating non-evm protected extended attributes
      and other file metadata. This patch limits validating the current
      security.evm integrity to evm protected metadata.
      Signed-off-by: NMimi Zohar <zohar@us.ibm.com>
      a924ce0b
    • M
      evm: remove TCG_TPM dependency · 1d714057
      Mimi Zohar 提交于
      All tristates selected by EVM(boolean) are forced to be builtin, except
      in the TCG_TPM(tristate) dependency case. Arnaud Lacombe summarizes the
      Kconfig bug as, "So it would seem direct dependency state influence the
      state of reverse dependencies.."  For a detailed explanation, refer to
      Arnaud Lacombe's posting http://lkml.org/lkml/2011/8/23/498.
      
      With the "encrypted-keys: remove trusted-keys dependency" patch, EVM
      can now be built without a dependency on TCG_TPM.  The trusted-keys
      dependency requires trusted-keys to either be builtin or not selected.
      This dependency will prevent the boolean/tristate mismatch from
      occuring.
      
      Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>,
                   Randy Dunlap <rdunlap@xenotimenet>
      Signed-off-by: NMimi Zohar <zohar@us.ibm.com>
      1d714057
  14. 10 9月, 2011 3 次提交
  15. 18 8月, 2011 1 次提交
    • M
      evm: add Kconfig TCG_TPM dependency · dbe5ad17
      Mimi Zohar 提交于
      Although the EVM encrypted-key should be encrypted/decrypted using a
      trusted-key, a user-defined key could be used instead. When using a user-
      defined key, a TCG_TPM dependency should not be required.  Unfortunately,
      the encrypted-key code needs to be refactored a bit in order to remove
      this dependency.
      
      This patch adds the TCG_TPM dependency.
      
      Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>,
      	     Randy Dunlap <rdunlap@xenotimenet>
      Signed-off-by: NMimi Zohar <zohar@us.ibm.com>
      Signed-off-by: NJames Morris <jmorris@namei.org>
      dbe5ad17
  16. 11 8月, 2011 1 次提交
  17. 09 8月, 2011 1 次提交
  18. 27 7月, 2011 1 次提交
  19. 19 7月, 2011 8 次提交