diff options
author | Dmitry Kasatkin <d.kasatkin@samsung.com> | 2013-04-25 09:44:04 +0200 |
---|---|---|
committer | Mimi Zohar <zohar@linux.vnet.ibm.com> | 2013-10-25 23:17:00 +0200 |
commit | a35c3fb6490cc1d3446e4781693408100113c4fb (patch) | |
tree | 03234f8b7ebaf3cb98bf77f999b8a5284d4dadbc /security/integrity/ima/ima.h | |
parent | ima: pass full xattr with the signature (diff) | |
download | linux-a35c3fb6490cc1d3446e4781693408100113c4fb.tar.xz linux-a35c3fb6490cc1d3446e4781693408100113c4fb.zip |
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>
Diffstat (limited to 'security/integrity/ima/ima.h')
0 files changed, 0 insertions, 0 deletions