aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/security/security.c
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 /security/security.c
parentima: use ima_parse_buf() to parse measurements headers (diff)
downloadwireguard-linux-28a8dc41279de2a8a635df51ad33d3cee7e0c0d1.tar.xz
wireguard-linux-28a8dc41279de2a8a635df51ad33d3cee7e0c0d1.zip
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 'security/security.c')
0 files changed, 0 insertions, 0 deletions