]> git.baikalelectronics.ru Git - kernel.git/commit
ima: provide hash algo info in the xattr
authorDmitry Kasatkin <d.kasatkin@samsung.com>
Mon, 12 Aug 2013 08:22:51 +0000 (11:22 +0300)
committerMimi Zohar <zohar@linux.vnet.ibm.com>
Sun, 27 Oct 2013 01:32:55 +0000 (21:32 -0400)
commit085e58d2e6c696cdd38eb957343006ae2faa5b08
tree8216b30887dc86cf7594f6fd1cc729b7eda28c0a
parentb76fd7748d3928e4bbf540a4e2ec7c6260694fc2
ima: provide hash algo info in the xattr

All files labeled with 'security.ima' hashes, are hashed using the
same hash algorithm.  Changing from one hash algorithm to another,
requires relabeling the filesystem.  This patch defines a new xattr
type, which includes the hash algorithm, permitting different files
to be hashed with different algorithms.

Signed-off-by: Dmitry Kasatkin <d.kasatkin@samsung.com>
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
security/integrity/ima/ima_appraise.c
security/integrity/integrity.h