fscrypt: logging improvements, and use ENOPKG
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | fscrypt: make fscrypt_msg() take inode instead of super_blockfs/ fs/ fs/ +2 more | +28 | 0 replies | |
| 2/4 | fscrypt: improve warning messages for unsupported encryption contextsfs/ | +15 | 0 replies | |
| 3/4 | fscrypt: improve warnings for missing crypto API supportfs/ | +14 | 0 replies | |
| 4/4 | fscrypt: use ENOPKG when crypto API support missingfs/ | +11 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] fscrypt: logging improvements, and use ENOPKG
Patches 1-3 make some small improvements to warning and error messages in fs/crypto/, including logging all types of unsupported encryption contexts rather than just ones where the encryption modes are invalid.
Patch 4 changes the error code for "missing crypto API support" from ENOENT to ENOPKG, to avoid an ambiguity. This is a logically separate change, but it's in this series to avoid conflicts.
Eric Biggers (4):
fscrypt: make fscrypt_msg() take inode instead of super_block
fscrypt: improve warning messages for unsupported encryption contexts
fscrypt: improve warnings for missing crypto API support
fscrypt: use ENOPKG when crypto API support missing
fs/crypto/crypto.c | 13 ++++---- fs/crypto/fname.c | 8 ++--- fs/crypto/fscrypt_private.h | 10 +++--- fs/crypto/hooks.c | 6 ++-- fs/crypto/keyinfo.c | 61 +++++++++++++++++++++++++------------ 5 files changed, 57 insertions(+), 41 deletions(-)
Signature · 1 line
2.22.0.657.g960e92d24f-goog