Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1546841pxu; Tue, 24 Nov 2020 03:07:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJz3OqpKMyNeJb/m2MJJkjqBlb7iGM/yogk9MK7c8XJPVa+EtQRNjFN1MlpbvXEYS4Cq/ozX X-Received: by 2002:a05:6402:142f:: with SMTP id c15mr3401812edx.33.1606216032069; Tue, 24 Nov 2020 03:07:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606216032; cv=none; d=google.com; s=arc-20160816; b=xfMMxNlPW3R6AbhW7WZ4+XfE7uH+M8O06vYQd+zl2bzgqXUX50dxl4zQXIKF0Nqf9M UMuuKR+tbh6Qhipymit7Z6y4/5fUsz9b4L7jnmllKTUcI0jv/aoINRX7VRVCPX3pWA7o f48arPFA2hPDjEPEQUlxWdw5ltJr1Zqjd87fMfd1DgxlUiqfrOTYOfvyNLfkymmdoCFx 5/T4rUGuUdwdAoWPadmahb0WE3vx69y0JBl0IMuVMReE+yDYtDw1mh6DQV95U09HZKqB N1S14dcAN2ekUJX4+K2o7HtC0TIxh2v3R55ly9KLR2jPGhCZ221FpBxvWyisa65dPGxG g6dQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:references:mime-version :message-id:in-reply-to:date:sender:dkim-signature; bh=ejkit5vRg/6bjTr9vpzggkXDL+i3cvGQkbbhHweAAWw=; b=xyDs1YiTS1c4wwltn5xqcv/+ACK5dQx2ES8Ww5ANfYbWby8p0PPOXwrz3iumf/b3H2 9L13H0xgauFcLJOcM+sDJDZ8tqOM8tQ+KgPbXDQZYMpQZv0qA+BfiL3ZX1YgiA+musTa 2ZZhA3QcVx7XmIiySBU3Uk6FkBHwcMBKOYDjnUyhZk/Vd6djmq9Mce9PBVPkpvXf4+kK eO9O96ZEJ1qcM1WI9g1ec4BZC5XMlZqOcCeBxeguQhu4RoC6Ro2c4d5DhSZf/xpauZCx X5zDEcHF+Eqwc6GGrp+j+2QrLMNkssyAbIJuhQbv7ODjO1Ib6OAG17rCeDIXSGH2uqkf YD6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=BsMKMOtj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n2si9975270edi.362.2020.11.24.03.06.48; Tue, 24 Nov 2020 03:07:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=BsMKMOtj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732482AbgKXLCW (ORCPT + 99 others); Tue, 24 Nov 2020 06:02:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732466AbgKXLCW (ORCPT ); Tue, 24 Nov 2020 06:02:22 -0500 Received: from mail-wm1-x349.google.com (mail-wm1-x349.google.com [IPv6:2a00:1450:4864:20::349]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 78336C0613D6 for ; Tue, 24 Nov 2020 03:02:20 -0800 (PST) Received: by mail-wm1-x349.google.com with SMTP id e15so746556wme.4 for ; Tue, 24 Nov 2020 03:02:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=sender:date:in-reply-to:message-id:mime-version:references:subject :from:to:cc; bh=ejkit5vRg/6bjTr9vpzggkXDL+i3cvGQkbbhHweAAWw=; b=BsMKMOtjB1k5P51Npe8s3UFKCot7yEPLGhajCO5NAF5rti479sZhhMxLzTR2xE8GOQ /tWORGPLO70ut/Rc9t9Odw3fMtC244qecQcLZh725u93aukLQidqHuaRCL7g/M0RCQvf yCzq2WLgkEZkv1/VaqXZiSrYSEJhlWo8xAqyJUv8qhen2KagOmrkxEDIMN6RMGj76+X7 TpVH9olAyNPX8lSMFr6+UxpqN9volYrvdCV6FkL0BUP/EkpsyP5RHusWZQa9wqB6c4lY xZeAebDZ6ZoZ1EJB2TIrxuZfBpKFARQbEkam0ao0GfYjxImcAlXw14dGmVctHDjaLOT+ IFpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=ejkit5vRg/6bjTr9vpzggkXDL+i3cvGQkbbhHweAAWw=; b=pp4ZcZq0Trlj/Wa6aEeaq+swIR2NkcQVgogx70j50Zb/yZoZNbdvRqtPWhGvh1wXTJ Gj84p3noN5EhtKpGy6j94fXCRlfNHJfV4kVr2LF1mMMKF/ROtS4i0+Xr2KyTduXu3D+S b2PuW7JzD9THK0646C98Q3I+zEzhZtC7ThIq70lSims+X0duYhfwv1SuOD4JNIF1QGQc 4hyCiJ4KJs4gSpyd4GfMssxkfgclSgameNlsOttVux2dFOFF4W5Cyv4wPQBn+ynKo4qu shaqWMmzb8S35JcKYqVABOClrCyAIEU9DgF76ZosdPCgxT3CvINRAqv9yfccvM/G4yM5 AGRg== X-Gm-Message-State: AOAM532Wfh03N3IHRncgAar30l4e2BEBnSToGQryv89jg/9oRmxzqKjJ MqFnLXvjCg4jEN8C1T1t0nn60gbLIQ== Sender: "elver via sendgmr" X-Received: from elver.muc.corp.google.com ([2a00:79e0:15:13:f693:9fff:fef4:2449]) (user=elver job=sendgmr) by 2002:a1c:790b:: with SMTP id l11mr3880480wme.53.1606215739090; Tue, 24 Nov 2020 03:02:19 -0800 (PST) Date: Tue, 24 Nov 2020 12:02:10 +0100 In-Reply-To: <20201124110210.495616-1-elver@google.com> Message-Id: <20201124110210.495616-2-elver@google.com> Mime-Version: 1.0 References: <20201124110210.495616-1-elver@google.com> X-Mailer: git-send-email 2.29.2.454.gaff20da3a2-goog Subject: [PATCH v3 2/2] random32: Re-enable KCSAN instrumentation From: Marco Elver To: elver@google.com, paulmck@kernel.org Cc: will@kernel.org, peterz@infradead.org, tglx@linutronix.de, mingo@kernel.org, mark.rutland@arm.com, boqun.feng@gmail.com, dvyukov@google.com, kasan-dev@googlegroups.com, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Re-enable KCSAN instrumentation, now that KCSAN no longer relies on code in lib/random32.c. Signed-off-by: Marco Elver --- v3: * Add patch to series, since KCSAN no longer needs lib/random32.c. --- lib/Makefile | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/Makefile b/lib/Makefile index ce45af50983a..301020c49533 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -27,9 +27,6 @@ KASAN_SANITIZE_string.o := n CFLAGS_string.o += -fno-stack-protector endif -# Used by KCSAN while enabled, avoid recursion. -KCSAN_SANITIZE_random32.o := n - lib-y := ctype.o string.o vsprintf.o cmdline.o \ rbtree.o radix-tree.o timerqueue.o xarray.o \ idr.o extable.o sha1.o irq_regs.o argv_split.o \ -- 2.29.2.454.gaff20da3a2-goog