Message ID | 20190315032629.21234-16-richard.henderson@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:5cc1:0:0:0:0:0 with SMTP id w62csp16267926jad; Thu, 14 Mar 2019 20:41:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqxOufRxVzxsDFJ7Drp/yi9i16f75juJnVouyyXdwXZD7v+vCaKB+JWcuahWydRHKjNOg3YG X-Received: by 2002:a5d:5108:: with SMTP id s8mr645296wrt.99.1552621278198; Thu, 14 Mar 2019 20:41:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552621278; cv=none; d=google.com; s=arc-20160816; b=CFDhlaWZlh2nnFZ/9w8lgwrKVh128ZQfRRaNtyCEEKFS+ct7E+SsUffgZ9txOPm6TO aKBKoPMMyVP5Ygfp4jE7BCZ8ZwBjRv40HTSfL6OBFzTBHwLuWnZtW4SOy/l2NdrXOx1g 7kK8eWWZ2HGCotnCMIIfh2ucKWaKykjV3/ddXpR6WHhTAG8Ea1g3Yiqv6ikcSERKjihO 4F5Ogmn83xjZnwaO1F4HUfD3+8vwDtGy6Pxd6MOc5qrmrY/QHUSG9AM4PZHjoVMue91E V8+7nptiizIph1XJ7AyZ06uQz0y8A8Kn8pJHxGOhEj4adxY4EFQc3XforAP+SnLwyoeG QM8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:references:in-reply-to :message-id:date:to:from:dkim-signature; bh=F41mISk5bwRfdJcY6GITxSx+cR75atkMGe95OIJjV+k=; b=VZESTZuOXToqCk4O4bgA3GYlhiImLD7KDiI5069fXYV7O9ork+JR87aPqI8GUzNyED IWqNYHodhePI2iUg29pxxLg/d+0xxsKa77zV/P3DJT7KarmisiV+fH1rp6wgjJm/TzFS OBf6of69pT0y8DeyWxZLjov/mhf/Cq6So7OA/GgDswpVTrNRJGxyp9TxVSqUrXgmzjss 1HYYUo27/VB4blYz9XCsoN/mYXNtJjutoE4aNcdYHCW+BoWfGK4rkq8L9MEpBoGr2KSI OoM0zFwSq8KSE/INSYTmJGqiVKj0HJbAGsHWHx14pj3dLzbbZRuKrRFlCqAeQA+huIGP pdkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=MJApcylT; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id n9si442151wro.266.2019.03.14.20.41.17 for <patch@linaro.org> (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 14 Mar 2019 20:41:18 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=MJApcylT; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([127.0.0.1]:48782 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1h4dif-0001w5-4Q for patch@linaro.org; Thu, 14 Mar 2019 23:41:17 -0400 Received: from eggs.gnu.org ([209.51.188.92]:43629) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1h4dcK-0004w5-6Q for qemu-devel@nongnu.org; Thu, 14 Mar 2019 23:34:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1h4dUi-0002zx-VQ for qemu-devel@nongnu.org; Thu, 14 Mar 2019 23:26:53 -0400 Received: from mail-pg1-x52f.google.com ([2607:f8b0:4864:20::52f]:38884) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1h4dUi-0002zD-Mj for qemu-devel@nongnu.org; Thu, 14 Mar 2019 23:26:52 -0400 Received: by mail-pg1-x52f.google.com with SMTP id v1so699112pgi.5 for <qemu-devel@nongnu.org>; Thu, 14 Mar 2019 20:26:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=F41mISk5bwRfdJcY6GITxSx+cR75atkMGe95OIJjV+k=; b=MJApcylT+uZZ6DQjkKFN9pH+oafACajjCsf7KUuIQ+fAhR/ZC0hG+XkytDoi8L7X8R aclVjZJj4qPCf8cK1Ci7ATGO/SDZ96YuZqVRAYFtequPHcoonM8FPnrUuOZn62MQOz5u NCaERwxZVI1Vdh7PEEvRW50TCWFz5GKoOGKI0UWxaRaCg1mrGcSrov9YXawH88r0tZHr nM5twGMKdl4n1DC4LBQYWburduuGmYtssr14AxLvxgZcqDV0J/BnHeT9NFnHzzf5qVtB VYtvAFnU41ndbspd3Vakz6IVnpNjoBl82Gat5PzIdGpiYtuz6OW9T35h7vPKZHLkK1QH Cjsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=F41mISk5bwRfdJcY6GITxSx+cR75atkMGe95OIJjV+k=; b=Inh2YW76XYJOBgA/c2/deYH46j8SDZvHpkM7Ueqe6ZA/lDG6JtqVA6D2F4larDGm8C C/MDDZl2OsdDEKJzaTgZ7UsjR5GfNbWxjQug4IijpE1zZfYdgSGT/OuHqMqiJmCegSC1 z/KJlvKhqPFyPUZl9P2Nm0d3W8rLhC0zhEEqbtGP4LQhik/fjCPhROjSNENKc/J4cOBw KAFb1XXPAHwO+ugpPRLZtDZd67Z4fhmDHF1yQjSuOp3QUOfJT9+B9X1GGDE/rl+Z9DkK 42T54uPfMkXG1FiBVUvEFghtISSE4Fc3NeYG8M/HMKgaHgP1d0JUmwM+YwcwwZCpQ5A/ 83dQ== X-Gm-Message-State: APjAAAXClVqkMQfVTWK/maIPxVp8T+ntS+1VWF2gC/bWZOKUK9GIKDzJ GsvBF/vOEkHwLINX6yp7rlfPr9dcYLw= X-Received: by 2002:a17:902:22f:: with SMTP id 44mr1849955plc.138.1552620411510; Thu, 14 Mar 2019 20:26:51 -0700 (PDT) Received: from cloudburst.twiddle.net (97-113-188-82.tukw.qwest.net. [97.113.188.82]) by smtp.gmail.com with ESMTPSA id d26sm690816pfn.86.2019.03.14.20.26.50 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 14 Mar 2019 20:26:50 -0700 (PDT) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Date: Thu, 14 Mar 2019 20:26:21 -0700 Message-Id: <20190315032629.21234-16-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20190315032629.21234-1-richard.henderson@linaro.org> References: <20190315032629.21234-1-richard.henderson@linaro.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::52f Subject: [Qemu-devel] [PATCH v3 15/23] linux-user: Remove srand call X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: Laurent Vivier <laurent@vivier.eu> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
Add qemu_getrandom and ARMv8.5-RNG etc
|
expand
|
On 3/15/19 4:26 AM, Richard Henderson wrote: > We no longer use rand() within linux-user. > > Cc: Laurent Vivier <laurent@vivier.eu> > Signed-off-by: Richard Henderson <richard.henderson@linaro.org> > --- > linux-user/main.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/linux-user/main.c b/linux-user/main.c > index 8478306eef..80cb9fdfbe 100644 > --- a/linux-user/main.c > +++ b/linux-user/main.c > @@ -621,8 +621,6 @@ int main(int argc, char **argv, char **envp) > > cpu_model = NULL; > > - srand(time(NULL)); > - > qemu_add_opts(&qemu_trace_opts); > > optind = parse_args(argc, argv); > Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
diff --git a/linux-user/main.c b/linux-user/main.c index 8478306eef..80cb9fdfbe 100644 --- a/linux-user/main.c +++ b/linux-user/main.c @@ -621,8 +621,6 @@ int main(int argc, char **argv, char **envp) cpu_model = NULL; - srand(time(NULL)); - qemu_add_opts(&qemu_trace_opts); optind = parse_args(argc, argv);
We no longer use rand() within linux-user. Cc: Laurent Vivier <laurent@vivier.eu> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> --- linux-user/main.c | 2 -- 1 file changed, 2 deletions(-) -- 2.17.2