Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp10635377imu; Thu, 6 Dec 2018 04:28:52 -0800 (PST) X-Google-Smtp-Source: AFSGD/VXVq5g22HKNeThAeEqsZVppXXS3EYgMq+Xohogv/HjPJEYUjmRH1rHDanzTXCTYtKv6l5N X-Received: by 2002:a17:902:43e4:: with SMTP id j91mr27376883pld.147.1544099332659; Thu, 06 Dec 2018 04:28:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544099332; cv=none; d=google.com; s=arc-20160816; b=WCnGtdsvWvyGQ+9IiRZ352JT0BZxm74h+e6f4FPms7DhiTfaZHBurSL6pa+wyFsCjf iPEG6/fNzAdY4Ok7zggxs1k7XlKPyci/SjiuEPAI+1TljolmIb8RlMl/laFx0csbX3v2 A7A3I2bmKKDBppyYdrAauH7pW5hd+Igw4qdDI2Bbv6aALZqfzvOGBemDQn/yQskx6fxz 8WeOwrs18KMVCoQ1Pdm/vZ87uobqxrnGiZij/PBrfSxxiy3iVZjNIjttwKVphII2AgVq 8vX0rJ1ZUH3qfMbA2qW8lCILXWqtKBnx6a5UbugJjPceooEMzr5aRdzxD6JliDy2Hgbt VRPQ== 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=Kn5CDDyDqdktmueSgYXSsO0zwDwfFFrMoSLJG2Ivw50=; b=q5/hGm2zBBJVgWnTxsECNrtZHcMUfV0nN25N6OQy2kwwb0qf8reUmHc5tGnNTjyEUw cXZiOjpYvTyzqblhajTydjAjJy2THE482liU9uI5qhFC8FL46G7q2tmj+rt9upEawUBq ayo4DnI8GhtIydDkgyGHJj6K3CX3q+qPTXjVa4IwfyGbBHDl5JtqN03PT33RGogLPkUB +PMT3bi/+QLf2T29OZdsJYLqeQfNzTdeXo62Ko6RsEScswIVbFTVFvM390PBdUCCL8j1 TXEKrQA0n4g7pxOz2PODolLGnoVz305v4/Y7NeCBB3nBbdkbEVg2RaEIqqPAwTkFNbNj 0dDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=Pf39mxwR; 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 c6si164998plr.414.2018.12.06.04.28.36; Thu, 06 Dec 2018 04:28:52 -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=Pf39mxwR; 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 S1729596AbeLFMY7 (ORCPT + 99 others); Thu, 6 Dec 2018 07:24:59 -0500 Received: from mail-wr1-f65.google.com ([209.85.221.65]:37628 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729520AbeLFMY4 (ORCPT ); Thu, 6 Dec 2018 07:24:56 -0500 Received: by mail-wr1-f65.google.com with SMTP id j10so305835wru.4 for ; Thu, 06 Dec 2018 04:24:54 -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=Kn5CDDyDqdktmueSgYXSsO0zwDwfFFrMoSLJG2Ivw50=; b=Pf39mxwRcpa7KrX6UwoJEQfz3CfXq5RBMJ6m5aM5/gDD8ItWtZq5G1xjMawUGn+z+T dS+/sMDdEwBB6CM7bHAttpoCEIgFl/kBeGPn3lwT1LywZDgoWZOOLzWJ2RZ2yetGz9o9 lMtnP1mE+kwTeKyEArzQjzOtctZLFx7BLRHSE0CEcCJLYjXIGKOCJ6xwLrKMHD6bes7C 7uOYfXDimhdwWkbB2RWHOR+L5Z59vziD3aEiJFEdoJazqAi7fgF+yBbpulYxf79uEPLu 6Lu2htdc0fEE4NHxlu9JEzcIxCl/CyyVSkHgAm7pbWxdsZHVrmTWKfD28vT5Pk9MVFVa +D/g== 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=Kn5CDDyDqdktmueSgYXSsO0zwDwfFFrMoSLJG2Ivw50=; b=RDj1Op3R5q+U5Ai1CgI6ftY79BjPoFMOx0meoxLpwtXNmRj9OiusnJvzD0R2+P25cM a07F44gQILukZjz1BmBZxXxunoS1Xqhv0urD2Id6A64ShSZCWxmj288qlCN2IROWeCgv sFlOaZkCi6+v+SRiXxlAYfCCrmtZPN1EaWzKrUXx9WBtP7K0L4pAGr5W+GbDvOZMvueY av3DkvOjyIjA+zrP+poRZ9f0qb+V06DrPFAy/OY2R1lMA5bj7/60BigC8fu4Ev/E+FOy eBEntcMWdhjKaFts27snRCBWzK2h8E5QrF/4hPHT7rI2xhXAGcEznB9vBuiBiAaTJyn4 pJIw== X-Gm-Message-State: AA+aEWZyx4GTZV8DqmFgRY3OaVp/8YgJuDUTaggdbqJ2sIupbVc/Sluu Wgv81BUipez+uLHxMDGnTjOOwg== X-Received: by 2002:a5d:4d11:: with SMTP id z17mr24026901wrt.209.1544099094073; Thu, 06 Dec 2018 04:24:54 -0800 (PST) Received: from andreyknvl0.muc.corp.google.com ([2a00:79e0:15:10:3180:41f8:3010:ff61]) by smtp.gmail.com with ESMTPSA id j8sm339988wrt.40.2018.12.06.04.24.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 06 Dec 2018 04:24:53 -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 v13 04/25] kasan: rename source files to reflect the new naming scheme Date: Thu, 6 Dec 2018 13:24:22 +0100 Message-Id: <88c6fd2a883e459e6242030497230e5fb0d44d44.1544099024.git.andreyknvl@google.com> X-Mailer: git-send-email 2.20.0.rc1.387.gf8505762e3-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.rc1.387.gf8505762e3-goog