diff options
author | Mimi Zohar <zohar@linux.ibm.com> | 2019-07-19 14:16:57 +0300 |
---|---|---|
committer | Mimi Zohar <zohar@linux.ibm.com> | 2019-08-01 15:25:36 +0300 |
commit | b36f281f4a314de4be0a51d6511b794691f8a244 (patch) | |
tree | b37cf1cf1e64719559682a96c4e8ae6aa43dcb53 /init/Kconfig | |
parent | 609488bc979f99f805f34e9a32c1e3b71179d10b (diff) | |
download | linux-b36f281f4a314de4be0a51d6511b794691f8a244.tar.xz |
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/Kconfig')
0 files changed, 0 insertions, 0 deletions