]> git.baikalelectronics.ru Git - kernel.git/commit
ima: skip measurement of cgroupfs files and update documentation
authorRoberto Sassu <rsassu@suse.de>
Sat, 11 Apr 2015 15:13:06 +0000 (17:13 +0200)
committerMimi Zohar <zohar@linux.vnet.ibm.com>
Thu, 21 May 2015 17:27:19 +0000 (13:27 -0400)
commit9928ec54665fa369bebbadbfb6246e106132e47b
tree7053e30fd3a02863800f6234b15babe0329d1f20
parent33a043f47aa360290ccaa4b36153c5b6619ab678
ima: skip measurement of cgroupfs files and update documentation

This patch adds a rule in the default measurement policy to skip inodes
in the cgroupfs filesystem. Measurements for this filesystem can be
avoided, as all the digests collected have the same value of the digest of
an empty file.

Furthermore, this patch updates the documentation of IMA policies in
Documentation/ABI/testing/ima_policy to make it consistent with
the policies set in security/integrity/ima/ima_policy.c.

Signed-off-by: Roberto Sassu <rsassu@suse.de>
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Documentation/ABI/testing/ima_policy
security/integrity/ima/ima_policy.c