diff options
| author | Dmitry Kasatkin <[email protected]> | 2014-02-27 18:16:47 +0000 |
|---|---|---|
| committer | Mimi Zohar <[email protected]> | 2014-03-07 17:15:48 +0000 |
| commit | 1d91ac6213003f525ac34da5e39cbb6612d19deb (patch) | |
| tree | 8182a8b6df13e506b1888fce3395b75a9aa1f23b /security/selinux/hooks.c | |
| parent | evm: EVM does not use MD5 (diff) | |
| download | kernel-1d91ac6213003f525ac34da5e39cbb6612d19deb.tar.gz kernel-1d91ac6213003f525ac34da5e39cbb6612d19deb.zip | |
ima: skip memory allocation for empty files
Memory allocation is unnecessary for empty files.
This patch calculates the hash without memory allocation.
Signed-off-by: Dmitry Kasatkin <[email protected]>
Signed-off-by: Mimi Zohar <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions
