]> git.baikalelectronics.ru Git - kernel.git/commit
ima: added error messages to template-related functions
authorRoberto Sassu <roberto.sassu@polito.it>
Mon, 13 Oct 2014 12:08:38 +0000 (14:08 +0200)
committerMimi Zohar <zohar@linux.vnet.ibm.com>
Mon, 13 Oct 2014 12:39:01 +0000 (08:39 -0400)
commit8235db6417c32ba86e9aa08035c05dc0b4683d3d
treea088eed632515837503be22bfbceecd2916ea26b
parent5bbbfce3e96ba976aa9ea075edb8ed646be8ad53
ima: added error messages to template-related functions

This patch adds some error messages to inform users about the following
events: template descriptor not found, invalid template descriptor,
template field not found and template initialization failed.

Changelog:
 - v2:
   - display an error message if the format string contains too many
     fields (Roberto Sassu)

Signed-off-by: Roberto Sassu <roberto.sassu@polito.it>
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
security/integrity/ima/ima_template.c