summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorMimi Zohar <zohar@linux.ibm.com>2019-07-19 07:16:57 -0400
committerMimi Zohar <zohar@linux.ibm.com>2019-08-01 08:25:36 -0400
commitb36f281f4a314de4be0a51d6511b794691f8a244 (patch)
treeb37cf1cf1e64719559682a96c4e8ae6aa43dcb53 /init
parent609488bc979f99f805f34e9a32c1e3b71179d10b (diff)
downloadlinux-b36f281f4a314de4be0a51d6511b794691f8a244.tar.bz2
ima: initialize the "template" field with the default template
IMA policy rules are walked sequentially. Depending on the ordering of the policy rules, the "template" field might be defined in one rule, but will be replaced by subsequent, applicable rules, even if the rule does not explicitly define the "template" field. This patch initializes the "template" once and only replaces the "template", when explicitly defined. Fixes: 19453ce0bcfb ("IMA: support for per policy rule template formats") Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions