aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fscrypt.h
diff options
context:
space:
mode:
authorEric Biggers2019-07-24 11:08:00 -0700
committerEric Biggers2019-08-12 19:04:44 -0700
commit29a98c1caf7b37b12a79eee7f839bf2924593c1c (patch)
tree4e5142ce44508cfbb74f7ef4f3efeeac25daaf1d /include/linux/fscrypt.h
parenta4d14e915bcb86e13b45231cd4fe2ce19bd9ba86 (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