diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2023-03-21 21:38:58 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2023-03-21 21:38:58 +0300 |
commit | 2faac9a98f010cf5b342fa89ac489c4586364e6e (patch) | |
tree | f2ac38c22fc07b41d1cdd2e7687d39deeecf40d1 /fs/nfsd/vfs.c | |
parent | 17214b70a159c6547df9ae204a6275d983146f6b (diff) | |
parent | 3584c1dbfffdabf8e3dc1dd25748bb38dd01cd43 (diff) | |
download | linux-2faac9a98f010cf5b342fa89ac489c4586364e6e.tar.xz |
Merge tag 'keys-fixes-20230321' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs
Pull keyrings fixes from David Howells:
- Fix request_key() so that it doesn't cache a looked up key on the
current thread if that thread is a kernel thread.
The cache is cleared during notify_resume - but that doesn't happen
in kernel threads. This is causing cifs DNS keys to be
un-invalidateable.
- Fix a wrapper check in verify_pefile() to not round up the length.
- Change asymmetric_keys code to log errors to make it easier for users
to work out why failures occurred.
* tag 'keys-fixes-20230321' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs:
asymmetric_keys: log on fatal failures in PE/pkcs7
verify_pefile: relax wrapper length check
keys: Do not cache key in task struct if key is requested from kernel thread
Diffstat (limited to 'fs/nfsd/vfs.c')
0 files changed, 0 insertions, 0 deletions