aboutsummaryrefslogtreecommitdiff
path: root/actions/hashing_test.go
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2020-05-09 14:17:17 -0700
committerEric Biggers <ebiggers@google.com>2020-05-09 15:16:13 -0700
commitfb99b37a05696db4ceabb793e5f16727ec854ed1 (patch)
tree13a1aa887af5aad0c79cdc4668072dc0fc1d64b0 /actions/hashing_test.go
parent338347ac4766f899fdc471d57f293798ff0e6c29 (diff)
keyring/user_keyring: switch to KEYCTL_UNLINK
KEYCTL_INVALIDATE has complicated semantics: it doesn't remove the key from the keyring right away but rather marks it as being invalidated, and then removes it asynchronously. This nondeterministically breaks the heuristic I'm implementing to detect v1-encrypted directories being incompletely locked. Instead, switch to KEYCTL_UNLINK, which has simpler semantics. Note that Android uses KEYCTL_UNLINK too.
Diffstat (limited to 'actions/hashing_test.go')
0 files changed, 0 insertions, 0 deletions