tmp_suning_uos_patched/security/integrity/ima
Sascha Hauer 4ece3125f2 ima: fix freeing ongoing ahash_request
integrity_kernel_read() can fail in which case we forward to call
ahash_request_free() on a currently running request. We have to wait
for its completion before we can free the request.

This was observed by interrupting a "find / -type f -xdev -print0 | xargs -0
cat 1>/dev/null" with ctrl-c on an IMA enabled filesystem.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
2019-08-05 18:40:28 -04:00
..
ima_api.c ima: Store the measurement again when appraising a modsig 2019-08-05 18:40:26 -04:00
ima_appraise.c ima: Collect modsig 2019-08-05 18:40:24 -04:00
ima_crypto.c ima: fix freeing ongoing ahash_request 2019-08-05 18:40:28 -04:00
ima_fs.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 441 2019-06-05 17:37:17 +02:00
ima_init.c Merge branch 'next-integrity' of git://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity 2019-07-08 20:28:59 -07:00
ima_kexec.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
ima_main.c ima: Store the measurement again when appraising a modsig 2019-08-05 18:40:26 -04:00
ima_modsig.c ima: Define ima-modsig template 2019-08-05 18:40:25 -04:00
ima_mok.c Revert "Merge tag 'keys-acl-20190703' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs" 2019-07-10 18:43:43 -07:00
ima_policy.c ima: Define ima-modsig template 2019-08-05 18:40:25 -04:00
ima_queue.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 441 2019-06-05 17:37:17 +02:00
ima_template_lib.c ima: Define ima-modsig template 2019-08-05 18:40:25 -04:00
ima_template_lib.h ima: Define ima-modsig template 2019-08-05 18:40:25 -04:00
ima_template.c ima: Store the measurement again when appraising a modsig 2019-08-05 18:40:26 -04:00
ima.h ima: Store the measurement again when appraising a modsig 2019-08-05 18:40:26 -04:00
Kconfig ima: Implement support for module-style appended signatures 2019-08-05 18:40:23 -04:00
Makefile ima: Add modsig appraise_type option for module-style appended signatures 2019-08-05 18:40:21 -04:00