diff options
author | Eric Biggers | 2019-07-24 11:08:00 -0700 |
---|---|---|
committer | Eric Biggers | 2019-08-12 19:04:44 -0700 |
commit | 29a98c1caf7b37b12a79eee7f839bf2924593c1c (patch) | |
tree | 4e5142ce44508cfbb74f7ef4f3efeeac25daaf1d /include/linux/fscrypt.h | |
parent | a4d14e915bcb86e13b45231cd4fe2ce19bd9ba86 (diff) |
fscrypt: use ENOPKG when crypto API support missing
Return ENOPKG rather than ENOENT when trying to open a file that's
encrypted using algorithms not available in the kernel's crypto API.
This avoids an ambiguity, since ENOENT is also returned when the file
doesn't exist.
Note: this is the same approach I'm taking for fs-verity.
Signed-off-by: Eric Biggers <ebiggers@google.com>
Diffstat (limited to 'include/linux/fscrypt.h')
0 files changed, 0 insertions, 0 deletions