diff options
author | Eric Biggers <ebiggers@google.com> | 2019-07-24 20:08:00 +0200 |
---|---|---|
committer | Eric Biggers <ebiggers@google.com> | 2019-08-13 04:04:44 +0200 |
commit | 29a98c1caf7b37b12a79eee7f839bf2924593c1c (patch) | |
tree | 4e5142ce44508cfbb74f7ef4f3efeeac25daaf1d /include/drm/drm_audio_component.h | |
parent | fscrypt: improve warnings for missing crypto API support (diff) | |
download | linux-29a98c1caf7b37b12a79eee7f839bf2924593c1c.tar.xz linux-29a98c1caf7b37b12a79eee7f839bf2924593c1c.zip |
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/drm/drm_audio_component.h')
0 files changed, 0 insertions, 0 deletions