encrypt: add utilities for testing filesystem encryption
authorEric Biggers <ebiggers@google.com>
Thu, 15 Dec 2016 20:26:20 +0000 (12:26 -0800)
committerEryu Guan <eguan@redhat.com>
Sat, 24 Dec 2016 08:47:12 +0000 (16:47 +0800)
commit3419026f0719df290d08626bc0eff4ee4bf1acf3
treedb876fa48371b63bb266f0c5feeba24c1a72397e
parent312e7ce2da5390c6d5c17c94f7748e96e321d634
encrypt: add utilities for testing filesystem encryption

Add utility functions for testing filesystem-level encryption via
the common API currently supported by ext4 and f2fs, in development
for ubifs and planned for xfs.  Setting and getting encryption
policies will use new commands being added to xfs_io, while adding
and removing encryption keys will use keyctl.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
common/config
common/encrypt [new file with mode: 0644]