diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2015-04-20 15:19:06 -0700 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2015-05-28 15:41:48 -0700 |
commit | f424f664f0e8949361d268e2e91c7acc8cf63eb2 (patch) | |
tree | 985ed29a13fcd37b48f261e0db3df134079df176 /net | |
parent | b93531dd7b9b39faace22abde2d5296e87b50499 (diff) | |
download | linux-f424f664f0e8949361d268e2e91c7acc8cf63eb2.tar.gz linux-f424f664f0e8949361d268e2e91c7acc8cf63eb2.tar.bz2 linux-f424f664f0e8949361d268e2e91c7acc8cf63eb2.zip |
f2fs crypto: add encryption policy and password salt support
This patch adds encryption policy and password salt support through ioctl
implementation.
It adds three ioctls:
F2FS_IOC_SET_ENCRYPTION_POLICY,
F2FS_IOC_GET_ENCRYPTION_POLICY,
F2FS_IOC_GET_ENCRYPTION_PWSALT, which use xattr operations.
Note that, these definition and codes are taken from ext4 crypto support.
For f2fs, xattr operations and on-disk flags for superblock and inode were
changed.
Signed-off-by: Michael Halcrow <mhalcrow@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Ildar Muslukhov <muslukhovi@gmail.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions