ima: define kernel parameter 'ima_template=' to change configured default
authorRoberto Sassu <roberto.sassu@polito.it>
Fri, 7 Jun 2013 10:16:35 +0000 (12:16 +0200)
committerMimi Zohar <zohar@linux.vnet.ibm.com>
Sun, 27 Oct 2013 01:32:54 +0000 (21:32 -0400)
commit9b9d4ce592d283fc4c01da746c02a840c499bb7e
treee0778c7a3aef0259a06f03c2f90f271a6789000c
parent4286587dccd43d4f81fa227e413ed7e909895342
ima: define kernel parameter 'ima_template=' to change configured default

This patch allows users to specify from the kernel command line the
template descriptor, among those defined, that will be used to generate
and display measurement entries. If an user specifies a wrong template,
IMA reverts to the template descriptor set in the kernel configuration.

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