From patchwork Mon May 6 17:33:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 163429 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:81:0:0:0:0 with SMTP id l1csp262812ilm; Mon, 6 May 2019 10:45:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqwvB4eRw84DwmWKWZxGhvBg0nJBVO9I/EPBzZbO66h60YJlkz8ulaUBgK/45O+d8Ea45Zqa X-Received: by 2002:a05:600c:34f:: with SMTP id u15mr3070890wmd.60.1557164701568; Mon, 06 May 2019 10:45:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557164701; cv=none; d=google.com; s=arc-20160816; b=mCSVJEnEZR0AlBi2YcL2wWo9K4+q9uVAC3FdHa7I6IXJGV0PqY3ap7ErToZ5YctHCn 0Jj2WtlqvvrOTDfk3O0TlfV7oHKCqtcEnA/wsw5+1mAl71fZxG4OgBb6Ns6Iec4VhEGz PHFm9U+uzotv37jJtlgUTIbqCfN8RXwzaw8E1MqIzyswL/MU6LTGK6AzalDVnl8F74bd wU+lWQ95CYfBt5hrD91ZdqBJMHt98qjVS1Q45Y125WAxuHSfJbROekfZ1fC0ziY7mJRY SSqSJ42hsqIw1GLRcXL/1oZPcFYgQ91pL7M0+of8hxVlJM6zOomsTZUO3Sl02xyU6Por kEjw== 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 :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature; bh=eiE9fqe9KMXKwTkJClxb0B2B9ssy/VKRiWp6bsH/0U0=; b=vCjClHBdqM9B/FM8FE6+6xswQg4s2wirmTQjk5eX/Y36FT2wGEbIu3eqUFauz0knw0 /PlsEdFpGOUZGIVSMW8k07FHMcTZ5oqW5z0GzbjZH3LlafCI5KL8aKXWbsEQ4FPJx53I ylYutOpjx5zJNjS2wrRbMpt4eemDGeIHtt1CockGjL/46rPpC6txRgyFtlNpK4prA9KL cDdHoKp/stShngDgqc5X6DCNZZPKQVpJfLUeS5vsFmlKFuhrX5wNs04zA/3pMKdLsgGG I7r6tb4SjUbVwqDlmlbmNzlMGdCauunXVLUh5QPQIFrvQ29iv2Cmzo25UEzKOouLxPmZ tkrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=sK6KxzCN; 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: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id k11si7321616wmk.169.2019.05.06.10.45.01 for (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 06 May 2019 10:45:01 -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=sK6KxzCN; 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]:60032 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hNhfg-0002pg-F0 for patch@linaro.org; Mon, 06 May 2019 13:45:00 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40004) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hNhVO-0001Ey-07 for qemu-devel@nongnu.org; Mon, 06 May 2019 13:34:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hNhVK-0001SO-HZ for qemu-devel@nongnu.org; Mon, 06 May 2019 13:34:20 -0400 Received: from mail-pf1-x444.google.com ([2607:f8b0:4864:20::444]:41751) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hNhVI-0001QJ-LW for qemu-devel@nongnu.org; Mon, 06 May 2019 13:34:18 -0400 Received: by mail-pf1-x444.google.com with SMTP id l132so2178234pfc.8 for ; Mon, 06 May 2019 10:34:16 -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 :mime-version:content-transfer-encoding; bh=eiE9fqe9KMXKwTkJClxb0B2B9ssy/VKRiWp6bsH/0U0=; b=sK6KxzCNzNFZFFS5hBP6i9IqgAut+jrnX9Azs97fkmeWcNbvdyHnS+KSS1jSUX4bij x9wop2iwo3pTvk9yCrAaL2NncN6cjXJtPhkKEaDwWJJT/I9AKcf7N3+LEasky95cyzPw fiddB8n9QZyfgkT8pXBk5ZRRKPR4IIGdYgSM64luPmO5jc9fiUK57eoUKqArtPslpPo3 6UKxJ71IkqdFyuqic/UiUJYtRHGytAbJ/1qcEMnA8fZ+I6QxTd31GvdoeOipUHA9NlhU Nlmdn1BguZGgKaBS2WpBjT9sOurvC1A2SVs7tOeitcwZl6pUrwb/RnpGX7ggFu/LtXg4 u66A== 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:mime-version:content-transfer-encoding; bh=eiE9fqe9KMXKwTkJClxb0B2B9ssy/VKRiWp6bsH/0U0=; b=HZPFvVJuWcBTfiJWNm1Q3nOeI5QUIPXP6/F0Rts1Wul6vwJ0UuD/kEE2dFdL3oEA6b G+PYXYbDcMPV7h1GR/AgoTedwVpaF1Kl+8D0hfqfi3wZY+UslGOwqUTwnIAZdAPHDRK0 lMEi6YiTdyAVEQTjmkH620ynvyvFQvonJCOfI/IEy3i+ImsVU66wGP1wITysM6aCYzkM 5Q2EfJJL4u0diuNoxloHNRpWJwuFLKlC08kvFVjggsFl3sTJrSzS8HZx1siqvLOUgoB7 0lr2735oDRYsZ1HhRIhmbhOwbkl0GR310cmvG6tVRWHNvrIRDtJRP2YuHlW3bnvcWWrQ FiUA== X-Gm-Message-State: APjAAAUdXkBHhoR4oItMSzTeSzOGbyMSbsYU1w+jbZBu4IDyjHqFfddd vm9Nuq3wOiPJkgwHQfAmGX5f4a7DKQs= X-Received: by 2002:a62:5286:: with SMTP id g128mr34058692pfb.226.1557164055105; Mon, 06 May 2019 10:34:15 -0700 (PDT) Received: from localhost.localdomain (97-113-189-189.tukw.qwest.net. [97.113.189.189]) by smtp.gmail.com with ESMTPSA id k9sm2268839pfa.180.2019.05.06.10.34.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 May 2019 10:34:14 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Mon, 6 May 2019 10:33:45 -0700 Message-Id: <20190506173353.32206-17-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190506173353.32206-1-richard.henderson@linaro.org> References: <20190506173353.32206-1-richard.henderson@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::444 Subject: [Qemu-devel] [PATCH v4 16/24] linux-user: Remove srand call X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Laurent Vivier Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" We no longer use rand() within linux-user. Cc: Laurent Vivier Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson --- linux-user/main.c | 2 -- 1 file changed, 2 deletions(-) -- 2.17.1 diff --git a/linux-user/main.c b/linux-user/main.c index e05aebe4e1..5d1c6a115b 100644 --- a/linux-user/main.c +++ b/linux-user/main.c @@ -623,8 +623,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);