mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
7e442cf0cf
Add a regression test for a bug where ->lookup() in an encrypted directory would incorrectly return EPERM, depending on which inodes happened to have their keys still cached in memory following removal of the keyring key. This bug was fixed in v4.12-rc1, v4.9.29, and v4.4.70. Cc: linux-fscrypt@vger.kernel.org Signed-off-by: Eric Biggers <ebiggers@google.com> Reviewed-by: Eryu Guan <eguan@redhat.com> Signed-off-by: Eryu Guan <eguan@redhat.com>
14 lines
338 B
Plaintext
14 lines
338 B
Plaintext
QA output created by 440
|
|
|
|
***** Parent has key, but child doesn't *****
|
|
file
|
|
subdir
|
|
symlink
|
|
cat: SCRATCH_MNT/edir/file: Required key not available
|
|
cat: SCRATCH_MNT/edir/symlink: No such file or directory
|
|
|
|
***** Child has key, but parent doesn't *****
|
|
contents
|
|
stat: cannot stat 'SCRATCH_MNT/edir/file': No such file or directory
|
|
contents
|