commit | 29a98c1caf7b37b12a79eee7f839bf2924593c1c | [log] [tgz] |
---|---|---|
author | Eric Biggers <ebiggers@google.com> | Wed Jul 24 11:08:00 2019 -0700 |
committer | Eric Biggers <ebiggers@google.com> | Mon Aug 12 19:04:44 2019 -0700 |
tree | 4e5142ce44508cfbb74f7ef4f3efeeac25daaf1d | |
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>