From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-20.4 required=3.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT,USER_IN_DEF_DKIM_WL autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 56856C2D0E3 for ; Mon, 14 Sep 2020 17:31:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0046820771 for ; Mon, 14 Sep 2020 17:31:50 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="L3Rqn405" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726035AbgINRbt (ORCPT ); Mon, 14 Sep 2020 13:31:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37582 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726350AbgINR2l (ORCPT ); Mon, 14 Sep 2020 13:28:41 -0400 Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 18665C061225 for ; Mon, 14 Sep 2020 10:28:30 -0700 (PDT) Received: by mail-wr1-x444.google.com with SMTP id e16so540115wrm.2 for ; Mon, 14 Sep 2020 10:28:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=g9asLkQ3OEMA9W3/GEGNRUW1iZejtpJzTvLvCBaNFqA=; b=L3Rqn405GYhI0a/LIy0yLk69eNTGI09w8kK3GusLAgD2VDqrXLtU0QNtSaL3E2jnJl aS9V/1Ro1pV9zT8KpI+i624XrTJBd2gg/r8uQFwVfpXG+MpZa0bIA2MWLSvZK3m7cUlb HzbBUvIql160nVCPNlIZEkaeXxZAoh9ib5Wq8qddUg5N8BFHAy3BANe7Ewvg3428P7P5 0iUqBEhudOH/vLy73PmHEYdX5AmRKrjarZzGyKMseTtOquPD/o6H1j9mgPUQryGi9J6M AqxmR2pfAlDQpRKkGpdaofGPTEPO/SXB7XcE2rogZG7gtfQNXkNYutC/7Ds7WU6ZOgU5 70ZA== 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=g9asLkQ3OEMA9W3/GEGNRUW1iZejtpJzTvLvCBaNFqA=; b=lYex/Rw5hAdilf1kKrGKl+DIs5DrYqfOVgfr599nWA8F0Q9PT7gSRgydDy6UWL95v8 HmosinZy+Z4GE0S7A/pvchrjg17lss6A6QsKDL/UUDfYr7cOVK3veFAceBclbf12kb/a 87ukY4Bp2C6XsF+YExMpjXoJEBYBdgCJ9aMH7k7uPMxk0SmI/nQZ0AGQZv1n4ZH5y+8D j+LzCSm2zjlTuTqRMzPBPhAC1uwlQG/s3tJCiBxypfVE6bEf0Ee/mjLMSIsDtj1QcP62 HfRuh76SfG8HmjdCzC9qW28CeZX0CDWpLPX19TVWethIu06JI6c2ptegjAh2V6YEErXM xD1w== X-Gm-Message-State: AOAM531PJwHgGMDO4yArO5qTQh8rEQq/ic/TtsKbdAs1P2tk06JXwGJl +MbYOjeyT/BRmPr4T/+kQF1cwQ== X-Google-Smtp-Source: ABdhPJyuPd0Fs24xYDGYgLUyicl3WMGGQSI7fVgvHIQWca5SpyYpUi5fPphE0FqVU4DtkZnfl8xKwA== X-Received: by 2002:adf:fec7:: with SMTP id q7mr17052167wrs.293.1600104508663; Mon, 14 Sep 2020 10:28:28 -0700 (PDT) Received: from localhost (49.222.77.34.bc.googleusercontent.com. [34.77.222.49]) by smtp.gmail.com with ESMTPSA id o6sm22778704wrm.76.2020.09.14.10.28.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 14 Sep 2020 10:28:27 -0700 (PDT) From: George-Aurelian Popescu To: maz@kernel.org, catalin.marinas@arm.com, will@kernel.org, masahiroy@kernel.org, michal.lkml@markovi.net Cc: linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org, clang-built-linux@googlegroups.com, james.morse@arm.com, julien.thierry.kdev@gmail.com, suzuki.poulose@arm.com, natechancellor@gmail.com, ndesaulniers@google.com, dbrazdil@google.com, broonie@kernel.org, maskray@google.com, ascull@google.com, keescook@chromium.org, akpm@linux-foundation.org, dvyukov@google.com, elver@google.com, tglx@linutronix.de, arnd@arndb.de, George Popescu Subject: [PATCH 14/14] DO NOT MERGE: Enable configs to test the patch series Date: Mon, 14 Sep 2020 17:27:50 +0000 Message-Id: <20200914172750.852684-15-georgepope@google.com> X-Mailer: git-send-email 2.28.0.618.gf4bc123cb7-goog In-Reply-To: <20200914172750.852684-1-georgepope@google.com> References: <20200914172750.852684-1-georgepope@google.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: George Popescu Enable configs from Kconfig.ubsan to test the buffer and the ubsan_handlers. Signed-off-by: George Popescu --- lib/Kconfig.ubsan | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/Kconfig.ubsan b/lib/Kconfig.ubsan index 774315de555a..f72b8a564a8c 100644 --- a/lib/Kconfig.ubsan +++ b/lib/Kconfig.ubsan @@ -1,9 +1,11 @@ # SPDX-License-Identifier: GPL-2.0-only config ARCH_HAS_UBSAN_SANITIZE_ALL bool + default y menuconfig UBSAN bool "Undefined behaviour sanity checker" + default y help This option enables the Undefined Behaviour sanity checker. Compile-time instrumentation is used to detect various undefined @@ -82,7 +84,8 @@ config UBSAN_ALIGNMENT config TEST_UBSAN tristate "Module for testing for undefined behavior detection" - depends on m + depends on UBSAN + default m help This is a test module for UBSAN. It triggers various undefined behavior, and detect it. -- 2.28.0.618.gf4bc123cb7-goog