Files
apfstests/tests/generic/440.out
T
Eric Biggers 7e442cf0cf generic: test for buggy fscrypt context consistency check
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>
2017-06-13 12:47:19 +08:00

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