From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 118516 invoked by alias); 8 Sep 2016 14:19:20 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 118503 invoked by uid 89); 8 Sep 2016 14:19:19 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_SORBS_SPAM,RP_MATCHES_RCVD,SPF_PASS autolearn=no version=3.3.2 spammy= X-HELO: mailbackend.panix.com X-Gm-Message-State: AE9vXwMSO/LG9iA6NBDUQpBSH/6RIuATtttTs3+5HuxbLrhvs+5m7nzvd1upfTxCOnDvshHG2L0drXhg7rYsTw== X-Received: by 10.28.132.131 with SMTP id g125mr8494337wmd.97.1473344345433; Thu, 08 Sep 2016 07:19:05 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <661db778-8110-82b2-2c41-d6195916cbea@redhat.com> <0e765666-3d0c-ef01-3ccc-82a11388c551@redhat.com> From: Zack Weinberg Date: Thu, 08 Sep 2016 14:19:00 -0000 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3] getrandom system call wrapper [BZ #17252] To: Andreas Schwab Cc: Florian Weimer , GNU C Library Content-Type: text/plain; charset=UTF-8 X-SW-Source: 2016-09/txt/msg00132.txt.bz2 On Thu, Sep 8, 2016 at 9:19 AM, Andreas Schwab wrote: > > If getrandom is ever standardized be POSIX this will have to be reverted > anyway. If we're worried about that, maybe the thin syscall wrapper should be called linux_getrandom? I think it will be useful to have a thin syscall wrapper for this, independent of whether we also supply some hypothetical POSIX-conformant getrandom(), or BSD-compatible arc4random(), or whatever. Reserving linux_* for thin wrappers around Linux-specific system calls also might break the consensus deadlock around the future-compatibility implications of other such wrappers. zw