Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp673394ybt; Fri, 10 Jul 2020 09:29:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwp3yPcj4e+rjEbvvzsPkWRQoiKWafBoEYxBvN67ZN+51leJDQQhJ0frZQE1EUfd9IzDEOU X-Received: by 2002:a17:906:3b01:: with SMTP id g1mr26018203ejf.353.1594398540063; Fri, 10 Jul 2020 09:29:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594398540; cv=none; d=google.com; s=arc-20160816; b=PuphdZjv4Yxu/SYr0CAremWMPkGpx+FGW++8r7z3kGFfJUw6lSJyPjl/XDSBKj+IT4 qV7l3IpcqUIduABALnqCPomRiKvJSOXU+tfxY0sUHZHxlYlogKg+NcgJ91BAi3ouHgZq XrFlujTYQkExurypLY24yFeD3QzJ2hsiytnWlUx1bcgDxserx/JaEt3UikTSgHajaE9R ezIUg/PCl0WFgE9HCApYnAwDM9K7cbaYsWb/gdJvTlMf+6UYcvzcOoFfDgGqLuQYxiWa XbbO9gag0XzXuLFpzEvUIuffBiIX/7CjTohQSC6BAo+3l5fqqTGx6J7cPUX8yOoMtu2a aI1A== 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=T/bb2L+DYElzGJiaIsja+gV/hYrCs+j9XyndfVACmsjMcfRJs6Dq8YOHXzZVZVtloR a4J95iUoN793KA9KfswBonVh2YJcVIf2JmAsJv6yyWZg2eEWs7AQAHJviwkSoCVWOXaz OGtDoeM6kseX0uLNxpXZjzt+aPAAyEmLIFsQhn7+pSITomlYkE9Op1jpfvdmOXzxbmTQ j2Z28tOGh2ZQq99hM2LGrRBUuThwU+A7UsfvBIezqarX9gtejcW6AV096qLxYN5YqfXq vJi5xg5jINM94ciihy73ilnV6NDdlIbfz+2SjmvlIflO5UqWmJTam8NIyFw4o6B/oDEY CHKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=iLrQCvjy; 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 v23si4199785ejo.738.2020.07.10.09.28.36; Fri, 10 Jul 2020 09:29:00 -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=iLrQCvjy; 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 S1727978AbgGJQZg (ORCPT + 99 others); Fri, 10 Jul 2020 12:25:36 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:2871 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1727097AbgGJQZf (ORCPT ); Fri, 10 Jul 2020 12:25:35 -0400 X-UUID: 449741279a264ec09dd6c8f9f91b75e2-20200711 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=iLrQCvjyGvEjMTYqheHbgD1/iWQeaJjmtdaYfzkSM+68kMJDSXIj9Bri/MQGY5dW88nbe2G6iPS3Ym0YfdyZpTyS4lufqeVBMFDxrJfQh/sJPmMn/ZinhJjg6CuQUZc1w64u/Sbgj4f6FhD6iqhDMRHuCXur1ipILlrGpA02q1A=; X-UUID: 449741279a264ec09dd6c8f9f91b75e2-20200711 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1693831338; Sat, 11 Jul 2020 00:25:32 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs06n2.mediatek.inc (172.21.101.130) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sat, 11 Jul 2020 00:25:30 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Sat, 11 Jul 2020 00:25:31 +0800 From: Walter Wu To: Andrew Morton CC: Andrey Ryabinin , Alexander Potapenko , Dmitry Vyukov , Matthias Brugger , Andrey Konovalov , , , , wsd_upstream , , Walter Wu Subject: [PATCH v8 3/4] kasan: add tests for call_rcu stack recording Date: Sat, 11 Jul 2020 00:25:30 +0800 Message-ID: <20200710162530.23946-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: 53B2DD615C83A942F010BB7AB01C3816F92969F87FE2014CDD6135BC1A8E54872000: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 OiBXYWx0ZXIgV3UgPHdhbHRlci16aC53dU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