mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
a225507009
Test for a race condition where a duplicate filename could be created in an encrypted directory while the directory's encryption key was being added concurrently. generic/595 was already failing on ubifs due to this bug, but only by accident. This new test detects the bug on both ext4 and ubifs. I wasn't able to get it to detect the bug on f2fs. Signed-off-by: Eric Biggers <ebiggers@google.com>
22 lines
512 B
Plaintext
22 lines
512 B
Plaintext
QA output created by 621
|
|
|
|
# Creating encrypted directory containing files
|
|
Added encryption key with identifier 69b2f6edeee720cce0577937eb8a6751
|
|
|
|
# Starting duplicate filename creator process
|
|
|
|
# Starting add/remove enckey process
|
|
|
|
# Running for a few seconds...
|
|
|
|
# Stopping subprocesses
|
|
|
|
# Checking for duplicate filenames via readdir
|
|
100
|
|
|
|
# Checking for unexpected change in inode number
|
|
|
|
# Checking for operations that unexpectedly succeeded on an existing filename
|
|
|
|
# Checking for duplicate filenames via fsck
|