fscrypto: cleanups and fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest13 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | fscrypto: remove unnecessary includesfs/ fs/ fs/ | +0 | 0 replies | |
| 2/13 | fscrypto: rename some functions for clarityfs/ fs/ fs/ +3 more | +19 | 1 reply | |
| 3/13 | fscrypto: rename functions to load and unload inode encryption infofs/ fs/ fs/ +7 more | +38 | 0 replies | |
| 4/13 | fscrypto: return bool instead of int where appropriatefs/ include/ | +18 | 0 replies | |
| 5/13 | fscrypto: comment improvements and fixesfs/ fs/ fs/ +1 more | +90 | 0 replies | |
| 6/13 | fscrypto: crypto_alloc_skcipher() always returns an ERR_PTR(), never NULLfs/ | +2 | 0 replies | |
| 7/13 | fscrypto: simplify building key descriptor stringfs/ | +2 | 0 replies | |
| 8/13 | fscrypto: use standard macros from kernel.hfs/ | +5 | 0 replies | |
| 9/13 | fscrypto: make fname_encrypt() actually return length of ciphertextfs/ | +4 | 0 replies | |
| 10/13 | fscrypto: restrict setting new policy to empty files and directories onlyfs/ | +30 | 0 replies | |
| 11/13 | fscrypto: restrict setting encryption policy to inode ownerfs/ | +3 | 0 replies | |
| 12/13 | fscrypto: require write access to mount to set encryption policyfs/ fs/ include/ | +12 | 0 replies | |
| 13/13 | fscrypto: improve error handling in fscrypt_set_policy()fs/ | +29 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/13] fscrypto: cleanups and fixes
This patchset includes various cleanups for the new filesystem encryption code as well as some bug fixes for the FS_IOC_SET_ENCRYPTION_POLICY ioctl.
Eric Biggers (13):
fscrypto: remove unnecessary includes
fscrypto: rename some functions for clarity
fscrypto: rename functions to load and unload inode encryption info
fscrypto: return bool instead of int where appropriate
fscrypto: comment improvements and fixes
fscrypto: crypto_alloc_skcipher() always returns an ERR_PTR(), never
NULL
fscrypto: simplify building key descriptor string
fscrypto: use standard macros from kernel.h
fscrypto: make fname_encrypt() actually return length of ciphertext
fscrypto: restrict setting new policy to empty files and directories
only
fscrypto: restrict setting encryption policy to inode owner
fscrypto: require write access to mount to set encryption policy
fscrypto: improve error handling in fscrypt_set_policy()
fs/crypto/crypto.c | 25 +++++---- fs/crypto/fname.c | 72 ++++++++++++++++---------- fs/crypto/keyinfo.c | 47 ++++++++--------- fs/crypto/policy.c | 131 +++++++++++++++++++++++++++-------------------- fs/f2fs/dir.c | 4 +- fs/f2fs/f2fs.h | 6 +-- fs/f2fs/file.c | 10 ++-- fs/f2fs/inode.c | 2 +- fs/f2fs/namei.c | 10 ++-- fs/f2fs/super.c | 2 +- include/linux/fscrypto.h | 81 +++++++++++++++++++++-------- 11 files changed, 236 insertions(+), 154 deletions(-)
Signature · 9 lines
2.7.4 ------------------------------------------------------------------------------ Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140