Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2571717pxa; Mon, 24 Aug 2020 19:03:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwJrv/HVrWvlXmBwgL5uhdtNZsxVPODtFrYAZpxUJ8AlFle0KY+mhE8eofeZOgS5DdeMVwd X-Received: by 2002:aa7:c251:: with SMTP id y17mr8364130edo.13.1598320998328; Mon, 24 Aug 2020 19:03:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598320998; cv=none; d=google.com; s=arc-20160816; b=moGVkeSB1UWHCXHvNMDueS05Sn9aTAKEnE0+Zv0sLCx4eD8PymMWphpJ5cImIvNBpp NY8ZA/dSPGklsrUoFuXJXVc80n5K/GMJtqmylnyedenUdgGZ0gLIFPRFImSMVTE8kIjh SwairwW5oVPvE6qNG4kLIp/ILsC2e8ukpd30PXOX9NQBRnn8ISTsS0zALD8JU5u6kBu3 RBggP74/at7KBy+zbMuwJKNgLct6AJ3vMtRK1RKjx5vPqDb3SPp3nwR1JDbA4c/NPkgM RmbwdLyPddBqFC/3SWEv39CJNX3ynJ3BLtd6+4HPMtGmqXEIrdLGZETEAogWnH4svpLv /gvA== 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=OZlRRQdbN6yvVA6qNLakdwH/egWnHjqUkfgz8h+P36lRxd2LgMEB2pzaRZS7bHx/pI H3fP7KuroaIjXWArF1BMdovBGm0bfzdCNcqKi0HNAIQZsZdXcKQPU/xJzk97DiCrV1m/ Zo4JeNER9aNo60jNVIKN/A1LkZSEj8Eqt1r94dqYOw01cIblQLcfIHOoRLJtCfxzhfPX 3LZ63iMOuc1ulgO3YxIEidwcEv9TcQkD7Ci9Abxg8t2lYmMwjtSOdvcmBLD0ctWWDfvk JXirwFUn1cWmZJA1VCH0KmmZ5WDq/BqKsotIsJEytWSpEiU7Wq6FY8Sf86H9GTLymUDG dHFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=AEwEMb9K; 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 bw6si7685402ejb.653.2020.08.24.19.02.54; Mon, 24 Aug 2020 19:03:18 -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=AEwEMb9K; 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 S1726779AbgHYB7u (ORCPT + 99 others); Mon, 24 Aug 2020 21:59:50 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:60449 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725838AbgHYB7t (ORCPT ); Mon, 24 Aug 2020 21:59:49 -0400 X-UUID: 98a7e483496941cebb1de58f45bc043b-20200825 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=AEwEMb9K8jHXQhtm1jmHcpHTtD9AbzKGC1usSQ3WtypOZF91E8I/dhllIU1p5SfTEpIkY/X6Ampw+WyFNU6/Q4iuQvaQJnYbFDxI+pGJ+gozbRiOVp8MQQbmKgXlinFRi2Pnd/72tdJMvCgnKX6pmiDiWHob/9a66pE/o+K3ISk=; X-UUID: 98a7e483496941cebb1de58f45bc043b-20200825 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 389396664; Tue, 25 Aug 2020 09:59:45 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs01n1.mediatek.inc (172.21.101.68) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 25 Aug 2020 09:59:43 +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; Tue, 25 Aug 2020 09:59:44 +0800 From: Walter Wu To: Andrey Ryabinin , Alexander Potapenko , Dmitry Vyukov , Matthias Brugger CC: , , , , wsd_upstream , , Walter Wu , Andrey Konovalov Subject: [PATCH v3 4/6] kasan: add tests for timer stack recording Date: Tue, 25 Aug 2020 09:59:42 +0800 Message-ID: <20200825015942.28005-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 X3RpbWVyX3VhZg0KIA0KIEZyZWVkIGJ5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