From patchwork Tue Sep 15 21:16:02 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrey Konovalov X-Patchwork-Id: 11777753 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8881F59D for ; Tue, 15 Sep 2020 21:17:16 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 4BC4020770 for ; Tue, 15 Sep 2020 21:17:16 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=google.com header.i=@google.com header.b="ujKP7f36" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4BC4020770 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id D0D1C900088; Tue, 15 Sep 2020 17:17:13 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id CBCBB900012; Tue, 15 Sep 2020 17:17:13 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id BAD38900088; Tue, 15 Sep 2020 17:17:13 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0098.hostedemail.com [216.40.44.98]) by kanga.kvack.org (Postfix) with ESMTP id A5B94900012 for ; Tue, 15 Sep 2020 17:17:13 -0400 (EDT) Received: from smtpin27.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id 6759D181AEF09 for ; Tue, 15 Sep 2020 21:17:13 +0000 (UTC) X-FDA: 77266556346.27.mint87_0b0799827114 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin27.hostedemail.com (Postfix) with ESMTP id 3B85A3D668 for ; Tue, 15 Sep 2020 21:17:13 +0000 (UTC) X-Spam-Summary: 1,0,0,95c34396a203edfe,d41d8cd98f00b204,3vy9hxwokcdwylbpcwiltjemmejc.amkjglsv-kkityai.mpe@flex--andreyknvl.bounces.google.com,,RULES_HIT:41:152:355:379:541:800:960:967:968:973:988:989:1260:1277:1313:1314:1345:1359:1431:1437:1516:1518:1535:1542:1593:1594:1711:1730:1747:1777:1792:1801:1981:2194:2199:2393:2525:2559:2563:2682:2685:2693:2859:2933:2937:2939:2942:2945:2947:2951:2954:3022:3138:3139:3140:3141:3142:3152:3353:3865:3866:3867:3868:3870:3871:3934:3936:3938:3941:3944:3947:3950:3953:3956:3959:4250:4321:4605:5007:6261:6653:6742:9025:9969:10004:10400:11026:11232:11473:11657:11658:11914:12043:12048:12296:12297:12438:12555:12679:12698:12737:12895:12986:14096:14097:14181:14394:14659:14721:21080:21365:21444:21451:21627:30054,0,RBL:209.85.221.73:@flex--andreyknvl.bounces.google.com:.lbl8.mailshell.net-62.18.0.100 66.100.201.100;04y88jrwmph78wt5aefxj6hs9ukr3yppb6eohid4acbyiqddz8nripgsr6bnr3i.47d7esjbmh8apkqamrjj1i6e3j6r9ebah886a6anknddst8yx11apukzowmtxb8.g-lbl8.mails hell.net X-HE-Tag: mint87_0b0799827114 X-Filterd-Recvd-Size: 5981 Received: from mail-wr1-f73.google.com (mail-wr1-f73.google.com [209.85.221.73]) by imf07.hostedemail.com (Postfix) with ESMTP for ; Tue, 15 Sep 2020 21:17:12 +0000 (UTC) Received: by mail-wr1-f73.google.com with SMTP id r16so1692922wrm.18 for ; Tue, 15 Sep 2020 14:17:12 -0700 (PDT) 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=esxSXj6mlAjehqEnyoU+Xpp5A2AelPI+Y2Gwz7MtjPo=; b=ujKP7f3676l72cWSInq5T3BbJ1ePrrsTWesoXaljrb3jzdEAOeQg9Ap8DBJKkPTnUA VB2vx3VHlei3rH+0RnjabUY/ixqcWjZw2y5lzkCfx6MzmDOroHPawZJt6uInPJMXU90j HS6aIT/g4L1kJ6E4mb0/xDt6scUTaOJLSlt6KsAcBNpmndBLe6TcTof0Ua5de0FMqqg6 5diX4jZZDu07mSajtmyv2OaNR6lFEHkV2YtbhwvqUzaLDUjpVRbX1qGkErZiFgQUD5ZV S61AucVPy0W2K8hGiDP20CYQAC5uzNXI/s5l/IYVSWE8QZ4SEAbKQQmJl02QArsG9u2C oEFg== 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=esxSXj6mlAjehqEnyoU+Xpp5A2AelPI+Y2Gwz7MtjPo=; b=iNd/RdtLhg8OKOodBVfBd4pEqpbUbLfi/HCuKgOkI+Vlm1lFbp2xgIf8gElXBrmAiz RKWnJ6Z5qmrp8IKPnBw7co7UMlfjHF8RPKphWeSonEBqc4O+joN917vu/DN39ZzUSGtL TtmcQEh5Vmg4Wc0JjQ7pnWZFNNRK+vJJ/ynvytS/rIuG9EuCjLBjIxqjj/eReudtXsP8 /mMLhqIpqtpX6Rl9lbKT/S0rG70Mh+EsXhq5XSCbqgMucRP96iYgYJ1aF0k8dzhw/li+ O9LtQ6TWEw8kuTIY4nmraENCOrvnCtBdQqclOIQISFRpxzR0VYgKBme0RURrOvpu8kwk 16Mg== X-Gm-Message-State: AOAM53234Tg+a56M/qy2A8XSvbnJQyiXXyIrgZcfW8f2y3Iojr8qm4tn Ynr+19trV9JAaOHjDTEPfilYfo7cRBHAljDv X-Google-Smtp-Source: ABdhPJxcytv3DgzuyYcVFGJMlv8Oz2ucCD3HgDMSQ5j66wJnUEU9r4DqngEjJLt07XY6hdWbMt1ObH6FNDSH9bD8 X-Received: from andreyknvl3.muc.corp.google.com ([2a00:79e0:15:13:7220:84ff:fe09:7e9d]) (user=andreyknvl job=sendgmr) by 2002:a1c:e256:: with SMTP id z83mr1249442wmg.33.1600204631443; Tue, 15 Sep 2020 14:17:11 -0700 (PDT) Date: Tue, 15 Sep 2020 23:16:02 +0200 In-Reply-To: Message-Id: <28d17537bbd029104cf7de4f7ca92246449efa50.1600204505.git.andreyknvl@google.com> Mime-Version: 1.0 References: X-Mailer: git-send-email 2.28.0.618.gf4bc123cb7-goog Subject: [PATCH v2 20/37] kasan: rename tags.c to tags_sw.c From: Andrey Konovalov To: Dmitry Vyukov , Vincenzo Frascino , Catalin Marinas , kasan-dev@googlegroups.com Cc: Andrey Ryabinin , Alexander Potapenko , Marco Elver , Evgenii Stepanov , Elena Petrova , Branislav Rankov , Kevin Brodsky , Will Deacon , Andrew Morton , linux-arm-kernel@lists.infradead.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Andrey Konovalov X-Rspamd-Queue-Id: 3B85A3D668 X-Spamd-Result: default: False [0.00 / 100.00] X-Rspamd-Server: rspam01 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: This is a preparatory commit for the upcoming addition of a new hardware tag-based (MTE-based) KASAN mode. Hardware tag-based KASAN will also be using tag-based approach, so rename tags.c to tags_sw.c and report_tags.c to report_tags_sw.c to avoid confusion once the new mode is added Signed-off-by: Andrey Konovalov Signed-off-by: Vincenzo Frascino --- Change-Id: I922ab246c5903e8ce3dd3766b923aaf250599850 --- mm/kasan/Makefile | 10 +++++----- mm/kasan/{report_tags.c => report_tags_sw.c} | 0 mm/kasan/{tags.c => tags_sw.c} | 0 3 files changed, 5 insertions(+), 5 deletions(-) rename mm/kasan/{report_tags.c => report_tags_sw.c} (100%) rename mm/kasan/{tags.c => tags_sw.c} (100%) diff --git a/mm/kasan/Makefile b/mm/kasan/Makefile index b2596512421a..0789f9023884 100644 --- a/mm/kasan/Makefile +++ b/mm/kasan/Makefile @@ -10,9 +10,9 @@ CFLAGS_REMOVE_init.o = $(CC_FLAGS_FTRACE) CFLAGS_REMOVE_quarantine.o = $(CC_FLAGS_FTRACE) CFLAGS_REMOVE_report.o = $(CC_FLAGS_FTRACE) CFLAGS_REMOVE_report_generic.o = $(CC_FLAGS_FTRACE) -CFLAGS_REMOVE_report_tags.o = $(CC_FLAGS_FTRACE) +CFLAGS_REMOVE_report_tags_sw.o = $(CC_FLAGS_FTRACE) CFLAGS_REMOVE_shadow.o = $(CC_FLAGS_FTRACE) -CFLAGS_REMOVE_tags.o = $(CC_FLAGS_FTRACE) +CFLAGS_REMOVE_tags_sw.o = $(CC_FLAGS_FTRACE) # Function splitter causes unnecessary splits in __asan_load1/__asan_store1 # see: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63533 @@ -27,10 +27,10 @@ CFLAGS_init.o := $(CC_FLAGS_KASAN_RUNTIME) CFLAGS_quarantine.o := $(CC_FLAGS_KASAN_RUNTIME) CFLAGS_report.o := $(CC_FLAGS_KASAN_RUNTIME) CFLAGS_report_generic.o := $(CC_FLAGS_KASAN_RUNTIME) -CFLAGS_report_tags.o := $(CC_FLAGS_KASAN_RUNTIME) +CFLAGS_report_tags_sw.o := $(CC_FLAGS_KASAN_RUNTIME) CFLAGS_shadow.o := $(CC_FLAGS_KASAN_RUNTIME) -CFLAGS_tags.o := $(CC_FLAGS_KASAN_RUNTIME) +CFLAGS_tags_sw.o := $(CC_FLAGS_KASAN_RUNTIME) obj-$(CONFIG_KASAN) := common.o report.o obj-$(CONFIG_KASAN_GENERIC) += init.o generic.o report_generic.o shadow.o quarantine.o -obj-$(CONFIG_KASAN_SW_TAGS) += init.o report_tags.o shadow.o tags.o +obj-$(CONFIG_KASAN_SW_TAGS) += init.o report_tags_sw.o shadow.o tags_sw.o diff --git a/mm/kasan/report_tags.c b/mm/kasan/report_tags_sw.c similarity index 100% rename from mm/kasan/report_tags.c rename to mm/kasan/report_tags_sw.c diff --git a/mm/kasan/tags.c b/mm/kasan/tags_sw.c similarity index 100% rename from mm/kasan/tags.c rename to mm/kasan/tags_sw.c