This patch series adds some xfstests for the filesystem-level encryption feature currently supported by ext4 and f2fs. I verified that they pass on both ext4 and f2fs with the latest kernel. Note that these new tests are complementary to and not a replacement for running all the xfstests with encryption enabled, which for ext4 can currently be done by setting EXT_MOUNT_OPTIONS="-o test_dummy_encryption". Eric Biggers (4): generic: add utilities for testing filesystem encryption generic: test setting and getting encryption policies generic: test encrypted file access generic: test locking when setting encryption policy .gitignore | 1 + common/encrypt | 89 +++++++++ src/Makefile | 2 +- src/fscrypt_util.c | 486 ++++++++++++++++++++++++++++++++++++++++++++++++++ tests/generic/400 | 88 +++++++++ tests/generic/400.out | 24 +++ tests/generic/401 | 133 ++++++++++++++ tests/generic/401.out | 2 + tests/generic/402 | 39 ++++ tests/generic/402.out | 2 + tests/generic/group | 3 + 11 files changed, 868 insertions(+), 1 deletion(-) create mode 100755 common/encrypt create mode 100644 src/fscrypt_util.c create mode 100755 tests/generic/400 create mode 100644 tests/generic/400.out create mode 100755 tests/generic/401 create mode 100644 tests/generic/401.out create mode 100755 tests/generic/402 create mode 100644 tests/generic/402.out -- 2.8.0.rc3.226.g39d4020 -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html