Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751965AbaGQReo (ORCPT ); Thu, 17 Jul 2014 13:34:44 -0400 Received: from imap.thunk.org ([74.207.234.97]:41429 "EHLO imap.thunk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751084AbaGQRen (ORCPT ); Thu, 17 Jul 2014 13:34:43 -0400 Date: Thu, 17 Jul 2014 13:34:33 -0400 From: "Theodore Ts'o" To: Bob Beck Cc: Christoph Hellwig , linux-kernel , linux-abi , linux-crypto Subject: Re: [PATCH, RFC] random: introduce getrandom(2) system call Message-ID: <20140717173433.GQ1491@thunk.org> Mail-Followup-To: Theodore Ts'o , Bob Beck , Christoph Hellwig , linux-kernel , linux-abi , linux-crypto References: <1405588695-12014-1-git-send-email-tytso@mit.edu> <20140717161215.GA14951@infradead.org> <20140717170115.GO1491@thunk.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: tytso@thunk.org X-SA-Exim-Scanned: No (on imap.thunk.org); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 17, 2014 at 11:05:01AM -0600, Bob Beck wrote: > Hi Ted, yeah I understand the reasoning, it would be good if there was > a way to influence the various libc people to > ensure they manage to provide a getentropy(). I don't anticipate that to be a problem. And before they do, and/or if you are dealing with a system where the kernel has been upgraded, but not libc, you have your choice of either sticking with the binary_sysctl approach, or calling getrandom directly using the syscall method; and in that case, whether we use getrandom() or provide an exact getentropy() replacement system call isn't that much difference, since you'd have to have Linux-specific workaround code anyway.... - Ted -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/