From owner-svn-src-all@FreeBSD.ORG Tue Oct 9 17:51:37 2012 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3B0558CE for ; Tue, 9 Oct 2012 17:51:37 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id C18C28FC1A for ; Tue, 9 Oct 2012 17:51:36 +0000 (UTC) Received: by mail-pb0-f54.google.com with SMTP id rp8so6091596pbb.13 for ; Tue, 09 Oct 2012 10:51:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=4tmUThP+jrS6LqvrhNEPtQotVfbr6sRr9lI1+3Qd8KU=; b=rHwKXCla/8AxHiA5dgnXkgu2fRscgCo8jtKVFM0+wVHpkA0oeE6z8qa7TZjKRUOn3/ ifcVrkh/JcSfittE/rBgkoXzsW1O5hNmISkJS10MO+hCY8eL3f5nS4TX0eUto0V1Ypsu 89f43RQLP+iOrYijHK/M7/EY+5hNvqV3UqHAw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :x-gm-message-state; bh=4tmUThP+jrS6LqvrhNEPtQotVfbr6sRr9lI1+3Qd8KU=; b=OIkeV2tK/Izkwsw7pDYCb5aDg5pRst3MLMVMYN15GVvMmGifSojkpkclJEf/1wXfjx SvW8pb62Q3/RVaJbPMZeSUrMePDMR5UNWv9msAhQ8s9CWrOSOuj/he+JwdUl38lmIGHQ H2cTNECsjffXp4pKCdSvUO53yAxzEK/A5nczbKtJ0GLUxSgixatzaHT25gtmWshWzTMf Etryev508cQdxjg0u35TapVpU7c4zv0n+NDH90n9g1SYuJqFH/tOaHsX4nZte37Mprew HvxsGN3ZJDDSV7/LEejS0f/e2rpdRjXGRQRicyhzvUZA5qBasjiQNDoZ8wagcJSrJEym elpw== Received: by 10.68.222.105 with SMTP id ql9mr65348787pbc.97.1349805096477; Tue, 09 Oct 2012 10:51:36 -0700 (PDT) MIME-Version: 1.0 Sender: lists@eitanadler.com Received: by 10.66.161.163 with HTTP; Tue, 9 Oct 2012 10:51:05 -0700 (PDT) In-Reply-To: References: <201210091425.q99EPFS6020787@svn.freebsd.org> <507451DE.9060909@freebsd.org> <977E1107-46D4-476F-A04D-AEFD87D1DE53@FreeBSD.org> From: Eitan Adler Date: Tue, 9 Oct 2012 13:51:05 -0400 X-Google-Sender-Auth: nchJqhgrvqBHKR1M2i13oGPkKXw Message-ID: Subject: Re: svn commit: r241373 - head/lib/libc/stdlib To: mdf@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQmt5vfcV41XkbFLu5548WyuiQ5dlpr+YF8GQ/tR7/aQNA9VTP15eoo3INJercSIKQbxczUN Cc: svn-src-head@freebsd.org, Andrey Chernov , svn-src-all@freebsd.org, src-committers@freebsd.org, David Chisnall X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Oct 2012 17:51:37 -0000 On 9 October 2012 13:27, wrote: > The original behavior can be recovered by using inline assembly to > fetch the value from a register into a local C variable; this would at > least not rely on undefined behavior. But I agree it's of dubious > value anyways. I proposed this (with a patch). We want to move to not using /dev/random and instead make a kernel system call directly. The patch for this is not finished yet though. -- Eitan Adler Source & Ports committer X11, Bugbusting teams