aboutsummaryrefslogtreecommitdiff
path: root/cli-tests/t_change_passphrase.sh
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
commitde51add609bc74b7247ec4776bd694abbea24a45 (patch)
treeb5f304a4ecc101a5410bb2274d129dbc7dad6441 /cli-tests/t_change_passphrase.sh
parentfb99b37a05696db4ceabb793e5f16727ec854ed1 (diff)
Try to detect incomplete locking of v1-encrypted directory
'fscrypt lock' on a v1-encrypted directory doesn't warn about in-use files, as the kernel doesn't provide a way to easily detect it. Instead, implement a heuristic where we check whether a subdirectory can be created. If yes, then the directory must not be fully locked. Make both 'fscrypt lock' and 'fscrypt status' use this heuristic. Resolves https://github.com/google/fscrypt/issues/215
Diffstat (limited to 'cli-tests/t_change_passphrase.sh')
0 files changed, 0 insertions, 0 deletions