From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4393010E08D for ; Wed, 22 Nov 2023 12:41:02 +0000 (UTC) From: Lukasz Laguna To: igt-dev@lists.freedesktop.org Date: Wed, 22 Nov 2023 13:40:52 +0100 Message-Id: <20231122124052.16906-2-lukasz.laguna@intel.com> In-Reply-To: <20231122124052.16906-1-lukasz.laguna@intel.com> References: <20231122124052.16906-1-lukasz.laguna@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [igt-dev] [PATCH i-g-t 1/1] lib/igt_core: initialize srandom seed on startup List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" List-ID: Init seed for random number generator on IGT startup. Signed-off-by: Lukasz Laguna --- lib/igt_core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/igt_core.c b/lib/igt_core.c index 041e4b328..1abe3d337 100644 --- a/lib/igt_core.c +++ b/lib/igt_core.c @@ -1283,6 +1283,7 @@ out: bind_fbcon(false); igt_kmsg(KMSG_INFO "%s: executing\n", command_str); print_version(); + igt_srandom(); sync(); oom_adjust_for_doom(); -- 2.40.0