Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp58245imu; Tue, 27 Nov 2018 09:00:42 -0800 (PST) X-Google-Smtp-Source: AFSGD/VghCtUg0K0jwlVlOVkMbFUJUZ8nknKCmO8hsgP8Gg/CwIbMTdmCwEs779df9mFfgODfJ9Q X-Received: by 2002:a63:5907:: with SMTP id n7mr29718834pgb.435.1543338042832; Tue, 27 Nov 2018 09:00:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543338042; cv=none; d=google.com; s=arc-20160816; b=lQ4WHhhBAxd8REuDd7sKkpCYYt0E0Kx4xHbWMEa9Tfb59TnvacHMGdyp9Wqx3lXZqO NWQxtSqyDo/YaQzcN2UxMx8oDqjgDVXRplR6yw0utdCwJM3x6CqHphFqCNoGTWCyikZz cPgle4KbvjA/btwoV4iuBNxsP0JRpw3Nr73HgwqXYvfwbNiUbLBZ5I16fb/XwuiFxQt9 J4B0uqbdR0x1xrDa7k7t1LeEFcJLeuYMmFVq8YpFNmZcqV9aSDeuxPBGZ2msZMzgrv3f C1ONgw04oF+qO9X0NIOsRbzsZUGJnVV0CDNCgJ+6PrrcUEutVGyNkqV4gK9dS07MqQVc V8GQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=9dHZ8S+aXQverKkY9zPXDntt+u3jEBNyQXkWLj8HFag=; b=p4Lcm84TBzSb5BXA7I1b4++Y+9w5QCvZ4eB6e7Z31nPjNaRoOtd+JqAv/LIRjzKpJZ MhKVOvGq+wehWkBFm2/wqY+ZLcuME1sZGAUkkv5RcUEcULoxz0R9hGM6lqJBlMAQT5Xg H1k93CV/8E+EwsLdLsD6xLMZHJpSw7zy1txLsh/acwKYZQa0S7hFIVh6E5r2szNylxKS osaON6L+Eq/ISLmUdZ0dRJ7dntcrQZhJEE+KGH2g7i0GGlCrepzBsZDE4xn+16LehaCX WjnUpijVPwqs8EWW0zKGRxObvTWKRbl3k50BOY8/fWWidb2ZLt6cmUq2zJv8M6Q/pMKy nAJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=h4b6yJLu; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id m142si4785334pfd.171.2018.11.27.09.00.24; Tue, 27 Nov 2018 09:00:42 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=h4b6yJLu; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1731561AbeK1Dy3 (ORCPT + 99 others); Tue, 27 Nov 2018 22:54:29 -0500 Received: from mail-wm1-f66.google.com ([209.85.128.66]:37111 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729695AbeK1Dy2 (ORCPT ); Tue, 27 Nov 2018 22:54:28 -0500 Received: by mail-wm1-f66.google.com with SMTP id g67so9508834wmd.2 for ; Tue, 27 Nov 2018 08:55:56 -0800 (PST) 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=9dHZ8S+aXQverKkY9zPXDntt+u3jEBNyQXkWLj8HFag=; b=h4b6yJLum0eMnzXMvBzkeSRQ8LHm7k1FjgBW2udsyFDjw+uZtUe6MkbTPWyvgw2RIq B4gc1vfeKlBDo/vrTNe8s7rCUXIB36UrMpV8+SebqCgnHfUgzULzwYjNnZ2+UjGbgj3p +8KAMsOBjeqw3GFRTxskIkWm4zjf3iPC7H6DvYaJEXdPlX1AGzWlbYqr6n6+Pg8GBdKb 8Z7/tmDjexFinDc5Q5DseAbVzZ6G2/DX9qR0qM2XvQEBe1qUiiYK42LoCU5ztSenxHBo WNNToPCtNyYpUb6GVr1vViuXPcoQpSaOQrcdHdJUf66asvaUUzfXyy1Q2A/snH8qQdHp qsGw== 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=9dHZ8S+aXQverKkY9zPXDntt+u3jEBNyQXkWLj8HFag=; b=eQodJzdDi5W+9q0slJ4kICTECHju1sTAZmiBOYV5Idi/8Z/hJLk5xvWvoUP/blwBZ3 gkQjFsE/lMvn8xyxY/zjE94vDRDszsvCXc6FJPqDZq1LgBKl7dZPCzPJ+GEd17QAkJwk tBMyZwVEYElz5B4rWxuX+asOyWM9FG5Tjj2SoFd48mC+R+3Mw6yA36km9YhPblY5Tufe RM8GWZPEm1U9lUN1ycFTXHO3zfzT4cElHVXsRq+qM9Y/FlpajJQ0tcpDvXi1miBg0N8+ roJ7CEJgK//W/CT0f1piJ6QYpTdm2Hj7Ft2kqOPwe/YBtlSoVYRUhtrtXlQuChfqJkl5 3eqA== X-Gm-Message-State: AA+aEWa3mgbQLSjK6JRBiH0k8/8xXt/9EdpwMXxyQV4mtmEBRegKB7tF ZA7JRLEGCDQRoDUjyxnUe7sgJg== X-Received: by 2002:a1c:c2d5:: with SMTP id s204mr18111130wmf.144.1543337755358; Tue, 27 Nov 2018 08:55:55 -0800 (PST) Received: from andreyknvl0.muc.corp.google.com ([2a00:79e0:15:10:3180:41f8:3010:ff61]) by smtp.gmail.com with ESMTPSA id k73sm6383099wmd.36.2018.11.27.08.55.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 27 Nov 2018 08:55:54 -0800 (PST) From: Andrey Konovalov To: Andrey Ryabinin , Alexander Potapenko , Dmitry Vyukov , Catalin Marinas , Will Deacon , Christoph Lameter , Andrew Morton , Mark Rutland , Nick Desaulniers , Marc Zyngier , Dave Martin , Ard Biesheuvel , "Eric W . Biederman" , Ingo Molnar , Paul Lawrence , Geert Uytterhoeven , Arnd Bergmann , "Kirill A . Shutemov" , Greg Kroah-Hartman , Kate Stewart , Mike Rapoport , kasan-dev@googlegroups.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sparse@vger.kernel.org, linux-mm@kvack.org, linux-kbuild@vger.kernel.org Cc: Kostya Serebryany , Evgeniy Stepanov , Lee Smith , Ramana Radhakrishnan , Jacob Bramley , Ruben Ayrapetyan , Jann Horn , Mark Brand , Chintan Pandya , Vishwath Mohan , Andrey Konovalov Subject: [PATCH v12 04/25] kasan: rename source files to reflect the new naming scheme Date: Tue, 27 Nov 2018 17:55:22 +0100 Message-Id: X-Mailer: git-send-email 2.20.0.rc0.387.gc7a69e6b6c-goog In-Reply-To: References: 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 We now have two KASAN modes: generic KASAN and tag-based KASAN. Rename kasan.c to generic.c to reflect that. Also rename kasan_init.c to init.c as it contains initialization code for both KASAN modes. Reviewed-by: Andrey Ryabinin Reviewed-by: Dmitry Vyukov Signed-off-by: Andrey Konovalov --- mm/kasan/Makefile | 8 ++++---- mm/kasan/{kasan.c => generic.c} | 0 mm/kasan/{kasan_init.c => init.c} | 0 3 files changed, 4 insertions(+), 4 deletions(-) rename mm/kasan/{kasan.c => generic.c} (100%) rename mm/kasan/{kasan_init.c => init.c} (100%) diff --git a/mm/kasan/Makefile b/mm/kasan/Makefile index a6df14bffb6b..d643530b24aa 100644 --- a/mm/kasan/Makefile +++ b/mm/kasan/Makefile @@ -1,14 +1,14 @@ # SPDX-License-Identifier: GPL-2.0 KASAN_SANITIZE := n UBSAN_SANITIZE_common.o := n -UBSAN_SANITIZE_kasan.o := n +UBSAN_SANITIZE_generic.o := n KCOV_INSTRUMENT := n -CFLAGS_REMOVE_kasan.o = -pg +CFLAGS_REMOVE_generic.o = -pg # Function splitter causes unnecessary splits in __asan_load1/__asan_store1 # see: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63533 CFLAGS_common.o := $(call cc-option, -fno-conserve-stack -fno-stack-protector) -CFLAGS_kasan.o := $(call cc-option, -fno-conserve-stack -fno-stack-protector) +CFLAGS_generic.o := $(call cc-option, -fno-conserve-stack -fno-stack-protector) -obj-y := common.o kasan.o report.o kasan_init.o quarantine.o +obj-y := common.o generic.o report.o init.o quarantine.o diff --git a/mm/kasan/kasan.c b/mm/kasan/generic.c similarity index 100% rename from mm/kasan/kasan.c rename to mm/kasan/generic.c diff --git a/mm/kasan/kasan_init.c b/mm/kasan/init.c similarity index 100% rename from mm/kasan/kasan_init.c rename to mm/kasan/init.c -- 2.20.0.rc0.387.gc7a69e6b6c-goog