[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5687.1511558670@warthog.procyon.org.uk>
Date:   Fri, 24 Nov 2017 21:24:30 +0000
From:   David Howells <dhowells@...hat.com>
To:     Eric Biggers <ebiggers3@...il.com>
Cc:     dhowells@...hat.com, keyrings@...r.kernel.org,
        linux-security-module@...r.kernel.org,
        linux-kernel@...r.kernel.org, Eric Biggers <ebiggers@...gle.com>
Subject: Re: [PATCH] KEYS: remove unnecessary get/put of explicit dest_keyring
Eric Biggers <ebiggers3@...il.com> wrote:
>  		if (dest_keyring) {
> -			construct_get_dest_keyring(&dest_keyring);
Actually, I think I have the order of these lines inverted.
construct_get_dest_keyring() can actually return without setting dest_keyring
to anything.  This didn't used to be the case, but now that the user-session
keyring is made lazily, there's no guaranteed fallback.
David
Powered by blists - more mailing lists
 
