From: David Howells In-Reply-To: <20170606005108.5646-6-Jason@zx2c4.com> References: <20170606005108.5646-6-Jason@zx2c4.com> <20170606005108.5646-1-Jason@zx2c4.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <26641.1496743729.1@warthog.procyon.org.uk> Date: Tue, 06 Jun 2017 11:08:49 +0100 Message-ID: <26642.1496743729@warthog.procyon.org.uk> Subject: [kernel-hardening] Re: [PATCH v3 05/13] security/keys: ensure RNG is seeded before use To: "Jason A. Donenfeld" Cc: dhowells@redhat.com, Theodore Ts'o , Linux Crypto Mailing List , LKML , kernel-hardening@lists.openwall.com, Greg Kroah-Hartman , David Miller , Mimi Zohar , David Safford List-ID: Jason A. Donenfeld wrote: > + key->serial = get_random_u32() >> 1; If this may sleep, it must be interruptible. David