summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorRoberto Sassu <roberto.sassu@huawei.com>2017-05-16 14:53:43 +0200
committerMimi Zohar <zohar@linux.vnet.ibm.com>2017-06-21 14:37:12 -0400
commit28a8dc41279de2a8a635df51ad33d3cee7e0c0d1 (patch)
treecdc197ece2071f65dce35f79a139baee400e348d /fs
parent47fdee60b47fc2836b256761ab60ada26788b323 (diff)
downloadlinux-28a8dc41279de2a8a635df51ad33d3cee7e0c0d1.tar.bz2
ima: use ima_parse_buf() to parse template data
The binary_field_data structure definition has been removed from ima_restore_template_data(). The lengths and data pointers are directly stored into the template_data array of the ima_template_entry structure. For template data, both the number of fields and buffer end checks can be done, as these information are known (respectively from the template descriptor, and from the measurement header field). Signed-off-by: Roberto Sassu <roberto.sassu@huawei.com> Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions