summaryrefslogtreecommitdiffstats
path: root/fs/qnx4/README
diff options
context:
space:
mode:
authorRoberto Sassu <roberto.sassu@polito.it>2014-02-03 13:56:05 +0100
committerMimi Zohar <zohar@linux.vnet.ibm.com>2014-03-07 11:32:30 -0500
commite3b64c268b485f578a498c2f6d5704ef54ab4432 (patch)
tree0612967837f6afe8b78da21d803146bbc1c8ddf6 /fs/qnx4/README
parentc019e307ad82a8ee652b8ccbacf69ae94263b07b (diff)
downloadop-kernel-dev-e3b64c268b485f578a498c2f6d5704ef54ab4432.zip
op-kernel-dev-e3b64c268b485f578a498c2f6d5704ef54ab4432.tar.gz
ima: reduce memory usage when a template containing the n field is used
Before this change, to correctly calculate the template digest for the 'ima' template, the event name field (id: 'n') length was set to the fixed size of 256 bytes. This patch reduces the length of the event name field to the string length incremented of one (to make room for the termination character '\0') and handles the specific case of the digest calculation for the 'ima' template directly in ima_calc_field_array_hash_tfm(). Signed-off-by: Roberto Sassu <roberto.sassu@polito.it> Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Diffstat (limited to 'fs/qnx4/README')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud