lkml.org 
[lkml]   [2017]   [Nov]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] KEYS: add missing permission check for request_key() destination
Date
Eric Biggers <ebiggers3@gmail.com> wrote:

> + if (do_perm_check) {
> + ret = key_permission(make_key_ref(dest_keyring, 1),
> + KEY_NEED_WRITE);

dest_keyring may be NULL at this point as alloc_uid() doesn't automatically
create keyrings.

David

\
 
 \ /
  Last update: 2017-11-28 11:13    [W:0.064 / U:20.848 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site