diff options
author | Mimi Zohar <zohar@linux.ibm.com> | 2019-07-19 13:16:57 +0200 |
---|---|---|
committer | Mimi Zohar <zohar@linux.ibm.com> | 2019-08-01 14:25:36 +0200 |
commit | b36f281f4a314de4be0a51d6511b794691f8a244 (patch) | |
tree | b37cf1cf1e64719559682a96c4e8ae6aa43dcb53 /kernel/Makefile | |
parent | Linux 5.3-rc2 (diff) | |
download | linux-b36f281f4a314de4be0a51d6511b794691f8a244.tar.xz linux-b36f281f4a314de4be0a51d6511b794691f8a244.zip |
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 'kernel/Makefile')
0 files changed, 0 insertions, 0 deletions