android_kernel_asus_sm8350/security/integrity/ima
Dmitry Kasatkin a35c3fb649 ima: use dynamically allocated hash storage
For each inode in the IMA policy, an iint is allocated.  To support
larger hash digests, the iint digest size changed from 20 bytes to
the maximum supported hash digest size.  Instead of allocating the
maximum size, which most likely is not needed, this patch dynamically
allocates the needed hash storage.

Changelog:
- fix krealloc bug

Signed-off-by: Dmitry Kasatkin <d.kasatkin@samsung.com>
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
2013-10-25 17:17:00 -04:00
..
ima_api.c ima: use dynamically allocated hash storage 2013-10-25 17:17:00 -04:00
ima_appraise.c ima: use dynamically allocated hash storage 2013-10-25 17:17:00 -04:00
ima_crypto.c ima: provide support for arbitrary hash algorithms 2013-10-25 17:16:58 -04:00
ima_fs.c ima: fix script messages 2013-10-25 13:17:19 -04:00
ima_init.c ima: use new crypto_shash API instead of old crypto_hash 2013-02-06 10:41:12 -05:00
ima_main.c ima: read and use signature hash algorithm 2013-10-25 17:16:59 -04:00
ima_policy.c Revert "ima: policy for RAMFS" 2013-10-25 13:17:19 -04:00
ima_queue.c hlist: drop the node parameter from iterators 2013-02-27 19:10:24 -08:00
ima.h ima: read and use signature hash algorithm 2013-10-25 17:16:59 -04:00
Kconfig ima: provide support for arbitrary hash algorithms 2013-10-25 17:16:58 -04:00
Makefile integrity: move integrity_audit_msg() 2013-06-20 07:47:49 -04:00