linux/security/integrity/ima
Roberto Sassu 45fae74939 ima: free duplicate measurement memory
Info about new measurements are cached in the iint for performance.  When
the inode is flushed from cache, the associated iint is flushed as well.
Subsequent access to the inode will cause the inode to be re-measured and
will attempt to add a duplicate entry to the measurement list.

This patch frees the duplicate measurement memory, fixing a memory leak.

Signed-off-by: Roberto Sassu <roberto.sassu@polito.it>
Signed-off-by: Mimi Zohar <zohar@us.ibm.com>
Cc: stable@vger.kernel.org
2011-12-19 22:04:32 -05:00
..
ima_api.c ima: free duplicate measurement memory 2011-12-19 22:04:32 -05:00
ima_audit.c Merge branch 'master' into next 2010-05-06 10:56:07 +10:00
ima_crypto.c Merge branch 'master' into next 2010-05-06 10:56:07 +10:00
ima_fs.c ima: sparse fix: make ima_open_policy static 2011-09-09 16:56:29 -07:00
ima_init.c Merge branch 'master' into next 2010-05-06 10:56:07 +10:00
ima_main.c ima: sparse fix: include linux/ima.h in ima_main.c 2011-09-09 16:56:30 -07:00
ima_policy.c ima: fix add LSM rule bug 2011-01-03 16:36:33 -08:00
ima_queue.c ima: free duplicate measurement memory 2011-12-19 22:04:32 -05:00
ima.h integrity: sparse fix: move iint_initialized to integrity.h 2011-09-09 16:56:24 -07:00
Kconfig Merge branch 'for-linus' of git://github.com/richardweinberger/linux 2011-11-02 09:45:39 -07:00
Makefile integrity: move ima inode integrity data management 2011-07-18 12:29:38 -04:00