Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1980120pxa; Mon, 24 Aug 2020 01:14:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxdEbQslr9ZsI0GAjtf5NgRWGdVk8U1HCcK2yi6YZvuCb5OJ109YWPWUKV5UAXEt/zDXEbG X-Received: by 2002:a17:907:262e:: with SMTP id aq14mr4734263ejc.79.1598256888846; Mon, 24 Aug 2020 01:14:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598256888; cv=none; d=google.com; s=arc-20160816; b=turd3wpPFliUNUDNntkxNW66jNRqAKN3bfSqipcbPTKVeo00uea2biiLcTkEpmbBvR xohQXnTjn7gUSwrOcx7gk/LkSwNnlIJ0sAh0D2UU24xVn9jN/vZczp/BtWsI5DC6I8Ni OqZ4bYS9NDnke0HKm69InIb17ubF/EetiovHt/fO5Vwjfqw8UrPTGvBn3kMZIjL+Ukpo qnUofCtM3cEsDYLJ/eAVEwzPXVfJMAe2vF6kOJc6SbAuKyLf/yvXcJBNz4qH1zukxZ9/ q4ZVEe8yPd+gjR2iDMS1mJb/G4uvrc0yQqSWlwRYMEEVVgeoSspC//7EUKnKXBSp46vF mKxg== 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=epF31PMWeocflqrG14ZTfXrn/tbNID2roIzjg+E6Ras=; b=RctZmKBpIIwAOHCG/YUuqSUSJD+wOvfPATTConx+FpAdVssxH3mNhkv3A/tlrCWJQG Llf4sHfT+Y5l7tT3dHLPBu4Jto8VY3mtRzY0965wM2Q5RFHCql0B9GcpmA9T40yMEJEH hwmkpQmY9XYmo26oTGY8HCll3vHLOJYuqQZWMWKzBWX52ekDj1H0LQaCem5bhwM6rNw4 UnVrK7YpXP2020TJj+Pwi1oe20TrOgyccQLU0qlvD8bSCsx6/pxFDdvnC6W2JutA19Xv uTddLGTHrIrdcQxlWCVD7UAE728MtTn/5v/w2AqnY9CS0uSjBet6e2h8yJ1GMoHP3ZeM Egfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b="rA/byCzr"; 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 lv10si6820132ejb.215.2020.08.24.01.14.26; Mon, 24 Aug 2020 01:14:48 -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="rA/byCzr"; 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 S1726243AbgHXINS (ORCPT + 99 others); Mon, 24 Aug 2020 04:13:18 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:5515 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725730AbgHXINS (ORCPT ); Mon, 24 Aug 2020 04:13:18 -0400 X-UUID: 9c950f80946c46fbae63dea326b723a3-20200824 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=epF31PMWeocflqrG14ZTfXrn/tbNID2roIzjg+E6Ras=; b=rA/byCzrHWm2LRJdWHSOwDe0afU8MzZkAN2l1L4fJRqvdg8axYzDTPBZGPRGXFqQ2gxnvqVvLL7ejE9UEUuJrbWPDRYQzDLO87wizm1tmaGAD564UWPi961UjNISRkhbXeXGOUNXjiN5qy+WtOkL4BHFGX6OsfqtglamYSD6G/4=; X-UUID: 9c950f80946c46fbae63dea326b723a3-20200824 Received: from mtkcas08.mediatek.inc [(172.21.101.126)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1057839245; Mon, 24 Aug 2020 16:13:16 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs01n1.mediatek.inc (172.21.101.68) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 24 Aug 2020 16:13:13 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Mon, 24 Aug 2020 16:13:13 +0800 From: Walter Wu To: Andrey Ryabinin , Alexander Potapenko , Dmitry Vyukov , Matthias Brugger CC: , , , , wsd_upstream , , Walter Wu , Andrey Konovalov Subject: [PATCH v2 4/6] kasan: add tests for timer stack recording Date: Mon, 24 Aug 2020 16:13:12 +0800 Message-ID: <20200824081312.24972-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 QWRkcyBhIHRlc3QgdG8gdmVyaWZ5IHRpbWVyIHN0YWNrIHJlY29yZGluZyBhbmQgcHJpbnQgaXQN CmluIEtBU0FOIHJlcG9ydC4NCg0KVGhlIEtBU0FOIHJlcG9ydCB3YXMgYXMgZm9sbG93cyhjbGVh bmVkIHVwIHNsaWdodGx5KToNCg0KIEJVRzogS0FTQU46IHVzZS1hZnRlci1mcmVlIGluIGthc2Fu X3RpbWVyX3VhZg0KIA0KIEZyZWVkIGJ5IHRh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