Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp3144515ybk; Mon, 18 May 2020 19:30:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy+/2xWfp+lkiM7qfggS9jQr5Xv6CS32Fqn68GY+FgyU2CxdVTKww0a26CHsU8mcgRkXLV7 X-Received: by 2002:a17:906:7c4e:: with SMTP id g14mr17350553ejp.353.1589855410181; Mon, 18 May 2020 19:30:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589855410; cv=none; d=google.com; s=arc-20160816; b=h7i/NwRUWrD+PRVKMB5b8mNIX0puM/ZaWBAR+t3lz3fucoWyJxwfzpzH37zSI/OVSh V2MmxgqiaKqimRibn/9+TrJ4R6jLFDJpYTaQOIy1/GH5+DTnjVy/NAXaZGgsTljSf9pt sEEzhXWdSJtBlDPGAD39cDX3dBVUI+CSB1SPCG0fsDgjq6EacFICXu0V/a9Zh85luR6k Kp2zhbKKkMAlqp3OPIky7bLO76PUvVhYv4xbatrpQVPHnX1Pp6FzW4OOrIPo0kw4oGAG YEVr0Ctc0IvMIrcNOmvN4PH471t+H4our8pSaBB5lO2uzYweYi0LLfA0sQVpqNVPgFx7 8phA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=DbdlJu8vuZUyyQAeAhd6YD50kjTkWp9bEKvDh4VAu5A=; b=MndIVKSVk37zDVhaN9eqZ+t82iQZgMo8VTSWOMv34h33Ua8BJxqZxqjrWY3JAY9LBY i0o7CtH/2Zjbxh3/2cwt3eVLD19A39mLJwGfo5OLO6Fqp3lCZNpkiCP1sAiXEbErRPek UAL6DUlenTrv6IMOXlhqNNJc8SNrNMTraKxAvvfcek2sv2F6rZNHSwEqyuVIa6nCqcqX 1VmROFXQOo/YLvUTA4jaaN6oD/dG0nxeTJ/t+G6O0lz5rKfLPaB6jBgOSoGQAg6y8z9a TGEGxg7zTEoKaqxuCrIyN3hNx135oNdEOOFwuwemnSu/zIsjT+98auINMyvXbjf5I0G0 XVSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=QWOlKfMl; 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=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p6si299531edp.173.2020.05.18.19.29.47; Mon, 18 May 2020 19:30:10 -0700 (PDT) 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=@mediatek.com header.s=dk header.b=QWOlKfMl; 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=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728101AbgESC0V (ORCPT + 99 others); Mon, 18 May 2020 22:26:21 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:12042 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726525AbgESC0V (ORCPT ); Mon, 18 May 2020 22:26:21 -0400 X-UUID: 4fddd827095c4bd7b29fcbc0fcd66d20-20200519 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=DbdlJu8vuZUyyQAeAhd6YD50kjTkWp9bEKvDh4VAu5A=; b=QWOlKfMlUH16nT0i1nVifyu0DxyJoU/oUDAkVqfhb0J/oNokWFp2N57U8FhxifApqXBSzZ5H9O5giGPbOm6wAP1P5p2dBScAqlMXbouk3/abNSo76RQXLg2Op2NsHYO9f9abu8PZkowBjOszkoRgXr7UDAL/Eqmi2lNIovKn6tk=; X-UUID: 4fddd827095c4bd7b29fcbc0fcd66d20-20200519 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 446216767; Tue, 19 May 2020 10:26:17 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs01n1.mediatek.inc (172.21.101.68) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 19 May 2020 10:26:03 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Tue, 19 May 2020 10:26:03 +0800 From: Walter Wu To: Andrey Ryabinin , Alexander Potapenko , Dmitry Vyukov , Matthias Brugger CC: , , , , wsd_upstream , , Walter Wu Subject: [PATCH v4 3/4] kasan: add tests for call_rcu stack recording Date: Tue, 19 May 2020 10:26:03 +0800 Message-ID: <20200519022603.24251-1-walter-zh.wu@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org VGVzdCBjYWxsX3JjdSgpIGNhbGwgc3RhY2sgcmVjb3JkaW5nIGFuZCB2ZXJpZnkgd2hldGhlciBp dCBjb3JyZWN0bHkNCmlzIHByaW50ZWQgaW4gS0FTQU4gcmVwb3J0Lg0KDQpTaWduZWQtb2ZmLWJ5 OiBXYWx0ZXIgV3UgPHdhbHRlci16aC53dUBtZWRpYXRlay5jb20+DQpDYzogQW5kcmV5IFJ5YWJp bmluIDxhcnlhYmluaW5AdmlydHVvenpvLmNvbT4NCkNjOi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