Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 06 Jun 2017 11:08:49 +0100
From: David Howells <dhowells@...hat.com>
To: "Jason A. Donenfeld" <Jason@...c4.com>
Cc: dhowells@...hat.com, Theodore Ts'o <tytso@....edu>,
    Linux Crypto Mailing List <linux-crypto@...r.kernel.org>,
    LKML <linux-kernel@...r.kernel.org>,
    kernel-hardening@...ts.openwall.com,
    Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
    David Miller <davem@...emloft.net>,
    Mimi Zohar <zohar@...ux.vnet.ibm.com>,
    David Safford <safford@...ibm.com>
Subject: Re: [PATCH v3 05/13] security/keys: ensure RNG is seeded before use

Jason A. Donenfeld <Jason@...c4.com> wrote:

> +		key->serial = get_random_u32() >> 1;

If this may sleep, it must be interruptible.

David

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.