lkml.org 
[lkml]   [2020]   [Mar]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v3 1/3] KEYS: Don't write out to userspace while holding key semaphore
From
Date
On 3/16/20 7:50 AM, David Howells wrote:
> Waiman Long <longman@redhat.com> wrote:
>
>> include/linux/key-type.h | 2 +-
>> security/keys/big_key.c | 11 ++---
>> security/keys/encrypted-keys/encrypted.c | 7 ++-
>> security/keys/keyctl.c | 57 +++++++++++++++++++----
>> security/keys/keyring.c | 6 +--
>> security/keys/request_key_auth.c | 7 ++-
>> security/keys/trusted-keys/trusted_tpm1.c | 14 +-----
>> security/keys/user_defined.c | 5 +-
>> ...
>> - long (*read)(const struct key *key, char __user *buffer, size_t buflen);
>> + long (*read)(const struct key *key, char *buffer, size_t buflen);
> Note that there are read functions outside of security/keys/ that also need
> fixing - dns_resolver_read() and rxrpc_read().
>
> David

Yes, I am going to fix that. Sorry for the delay as I am juggling a few
different tasks.

Cheers,
Longman

\
 
 \ /
  Last update: 2020-03-17 19:11    [W:1.071 / U:0.928 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site