ima: re-initialize IMA policy LSM info
authorMimi Zohar <zohar@linux.vnet.ibm.com>
Thu, 3 Jan 2013 19:19:09 +0000 (14:19 -0500)
committerMimi Zohar <zohar@linux.vnet.ibm.com>
Wed, 16 Jan 2013 20:47:03 +0000 (15:47 -0500)
commit7163a993840f0906d4ce1e3f193575c99dac21e1
tree3c1c04f5da24cf2492b20b861c9974549978436c
parentcf9ce948f47640797bd19980e1d99c6d17d0bdc3
ima: re-initialize IMA policy LSM info

Although the IMA policy does not change, the LSM policy can be
reloaded, leaving the IMA LSM based rules referring to the old,
stale LSM policy.  This patch updates the IMA LSM based rules
to reflect the reloaded LSM policy.

Reported-by: Sven Vermeulen <sven.vermeulen@siphos.be>
tested-by: Sven Vermeulen <sven.vermeulen@siphos.be>
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Cc: Eric Paris <eparis@parisplace.org>
Cc: Casey Schaufler <casey@schaufler-ca.com>
security/integrity/ima/ima_policy.c