Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp206186ybg; Sun, 31 May 2020 22:13:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwsR+bzaaskvd3SDyQPBnP7B0xw1kwIdRtmqCG1gfF5L5HJ7EWE501i8jrbNrlDseSYlDbe X-Received: by 2002:a50:fd01:: with SMTP id i1mr20946445eds.32.1590988427547; Sun, 31 May 2020 22:13:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590988427; cv=none; d=google.com; s=arc-20160816; b=JfnGm8kgi6LQaeDum+1VVMAsYl3uSGnyBkA/vn6GWfiiJJ0k7aiqVpeH7Vk0LvQmrV WQKh4SLuuJLmtWUpbuC6r+2WQ0EZIO9j7y6/OVHuUweHPn8jO+XS9VvUOJS0uQPCWaW/ YZuf7Y73We+0539ljGP4ha29IesoOeGzryOiWTj2gbKgBvByBO/CY7pMzmoxJ3RU+bKd 9duSkmYcyoECzHAi+qaGMEQNZBpyrK1HlzqoROj8dqXdshOqW62ocreoo5mLKD5X/48i PnNPFkeQraUuZQF+RKtSUIFbvEkg1fakOzHO9Dp3gz14QSidMQnRea5/bMCf0ERdAycJ 3MLQ== 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=yDR7fBW0w3Clej91Pw1AhT0fTfnOfzcSfnAFnKMCDeY=; b=WnjMzAuR0qwLrJT4GC/N/GYnUb+KCgn/DwWjAsucDQ0vQrWpegcGvRh194ClQybwcg snIdioVN8rZgVwDX1BS7gXbVO5NT62ICF/ennq6Lm4LzHa245hClGnQOWUCfKM3moIVz m6RbhjtOGhC/Q3HB2GzoJS0yiQJXjbYUN5Vm/aGcWLiBk+I/cgv/3XviwHHQKVvp0aQZ /MAgufYauDps01i8yydNFKBI9EV6gCAga6OAov4i0jALrQWPvsg5Q+RHNIEgcZGdHweC L2JenjA1x0ATGSq4qTZy0VEa+6Ol37nK4ussmNbHjDzju11RaH4lLToiZALKTLTEJ4OI 3wzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=DoVUV87u; 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 do22si12952625ejc.79.2020.05.31.22.13.25; Sun, 31 May 2020 22:13:47 -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=DoVUV87u; 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 S1726027AbgFAFKv (ORCPT + 99 others); Mon, 1 Jun 2020 01:10:51 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:18611 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725283AbgFAFKv (ORCPT ); Mon, 1 Jun 2020 01:10:51 -0400 X-UUID: 69160eabfc9d4a57b299d63ae5a5b5a1-20200601 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=yDR7fBW0w3Clej91Pw1AhT0fTfnOfzcSfnAFnKMCDeY=; b=DoVUV87uBxkEMmplz4/xEp9cu/u1MtfoPsZnxc8qj6gmpZbdnqzzt5wyLPDMWDKogyz9GJgBoHlZOwPorARoytXhxe0aeVSrn4toZuDySoMBGbEpYNyGjAdB9IHSLZPLcgksYcX97rLZVdqarAovJ2alQqRnpct0GLhqHwwgBQ8=; X-UUID: 69160eabfc9d4a57b299d63ae5a5b5a1-20200601 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 638810319; Mon, 01 Jun 2020 13:10:49 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs01n2.mediatek.inc (172.21.101.79) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 1 Jun 2020 13:10:41 +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; Mon, 1 Jun 2020 13:10:41 +0800 From: Walter Wu To: Andrey Ryabinin , Alexander Potapenko , Dmitry Vyukov , Matthias Brugger CC: , , , , wsd_upstream , , Walter Wu Subject: [PATCH v7 3/4] kasan: add tests for call_rcu stack recording Date: Mon, 1 Jun 2020 13:10:45 +0800 Message-ID: <20200601051045.1294-1-walter-zh.wu@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: D8A8F87A7EBE82FF4344D1D95091710F4072036184D117EAF9E3DB45434009172000:8 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+DQpSZX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