diff options
author | David Howells <dhowells@redhat.com> | 2014-09-16 18:36:02 +0200 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2014-09-16 18:36:02 +0200 |
commit | 462919591a1791e76042dc5c1e0148715df59beb (patch) | |
tree | 44a60ee5f08eab18b1a69f98d993f9a47a45fece /include/memory | |
parent | Provide a binary to hex conversion function (diff) | |
download | linux-462919591a1791e76042dc5c1e0148715df59beb.tar.xz linux-462919591a1791e76042dc5c1e0148715df59beb.zip |
KEYS: Preparse match data
Preparse the match data. This provides several advantages:
(1) The preparser can reject invalid criteria up front.
(2) The preparser can convert the criteria to binary data if necessary (the
asymmetric key type really wants to do binary comparison of the key IDs).
(3) The preparser can set the type of search to be performed. This means
that it's not then a one-off setting in the key type.
(4) The preparser can set an appropriate comparator function.
Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Vivek Goyal <vgoyal@redhat.com>
Diffstat (limited to 'include/memory')
0 files changed, 0 insertions, 0 deletions