diff options
author | Rob Austein <sra@hactrn.net> | 2016-11-22 15:45:00 -0500 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2016-11-22 15:45:00 -0500 |
commit | 7dce4d6173ff3c2ee23670167ce6dc5d1fdefbb6 (patch) | |
tree | 3d409684299efe4f89cd05d98ca307825b40b3a2 /tests | |
parent | 15efcdb3e2ebe20c35818447537728c9de2f089f (diff) |
Clean up ks_set_attributes() a bit.
Fixed handling of deletion actions: code was still using the
zero-length attribute convention instead of HAL_PKEY_ATTRIBUTE_NIL.
Track existing attributes more closely while copying data from old
chunks to new ones in the slow path: the old algorithm had a few
dangerous corner cases which could have resulted in the wrong values
being written to the new chunks.
Single-block-update fast path now under compile-time conditional; in
the long run, we probably want this enabled, but it's disabled for now
in order to force use and testing of the slow path.
This function probably needs to be broken up into a collection of
smaller inline functions for readability.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions