ima: limit file hash setting by user to fix and log modes
authorDmitry Kasatkin <d.kasatkin@samsung.com>
Thu, 23 Oct 2014 12:53:21 +0000 (15:53 +0300)
committerMimi Zohar <zohar@linux.vnet.ibm.com>
Thu, 21 May 2015 17:28:46 +0000 (13:28 -0400)
commitc68ed80c97d9720f51ef31fe91560fdd1e121533
tree8befae768ac2bc711e7ff699ee401d3d1fb97cbd
parentcd025f7f94108995383edddfb61fc8afea6c66a9
ima: limit file hash setting by user to fix and log modes

File hashes are automatically set and updated and should not be
manually set. This patch limits file hash setting to fix and log
modes.

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