Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp25962pxk; Wed, 23 Sep 2020 21:07:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwFORhUmuQsrV4O+LbGavjUoNavbxfUaHXiBOZPAxLaLvt0b4MtfwAyLL64q9UhdQ7BRL0Y X-Received: by 2002:a17:906:a947:: with SMTP id hh7mr2627361ejb.126.1600920478904; Wed, 23 Sep 2020 21:07:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600920478; cv=none; d=google.com; s=arc-20160816; b=GrQ4DZksXY7RrkGSU9MNx4M/sfsXgkUwPpKhCWD8CM1qJpRLDgP23wR1Qe2qTZrwq8 ELwvlkoiJzbuA0uR9NyeEjOT3gvWqWOn+k8NKJHPVqpZv/A298boss2YOuicLVEUPjcl PF0V9Ifg0/4TY1mHQHrHgPo33xoMEjJBL6x95S4pTWbY35SjYKIxGpoPkXuJBsisrLXz zHOjdSkN4ALl/41C8FFHDBYr1Am7lFvkm6npzzUyMUZPGt0kdoNqvnkdf3w6S5D5RXVx l82aO/loJ/t503ycBYhlbzZTRbddu/lBeGsYHnDBPEkSm8QVuaNX+Ub4aprVig27KRGc F7tQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=PimmuaElZUMsgbQjwJ8de8rcFyaYrVbSXAmqAq7D2xA=; b=NNXkc9+LTQf0VOZzqIt0FfW1fJb0bkSVlGN1ginrt0ypWZFspKQzX78kjB13DJD+Wr 23zxIFd2BBk7NullpkWMa1k4ml+0fFj2yDXukbs1+YrkxIl6GH0O5DiylpG8t1/Elo1H lVMevoDDRmXAYoaMf2cVS2FOuar7v2DxbDNK9uogHOMCmdCpAlWyK/xfQ7AAIh6zTuug x2pJsPC0h1MVCxxzKAlG4LMHrW5H8wjqLCc2OS8JVRWECNKo6Q5BH4HvsdLTOqF9lVO/ C2905jNuU4aPC3npBG8k87GSdpDJBYUesYUNa7TRWUY1NEf1VmclsAl9D8mgq+44kp0i dOAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=rzaNtTpR; 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 lx24si1155094ejb.89.2020.09.23.21.07.19; Wed, 23 Sep 2020 21:07:58 -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=rzaNtTpR; 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 S1726760AbgIXEFx (ORCPT + 99 others); Thu, 24 Sep 2020 00:05:53 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:59694 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726477AbgIXEFx (ORCPT ); Thu, 24 Sep 2020 00:05:53 -0400 X-UUID: 4f037dcdbe284f00a0fd594db2bdaf24-20200924 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=PimmuaElZUMsgbQjwJ8de8rcFyaYrVbSXAmqAq7D2xA=; b=rzaNtTpRz2b66QfQkp+d00sFmLYUTxrf4XZqzY99dEM1uCJaiK/bM1iAr3NgYm3rKxxDMCi5VntKi+bt5mdLm6Z6F4FgZOtxm+5DLc/0AVHPJWdyYDZ9LTETxcJ/GygoLL4urp8WGmiqNl9Vqg4MzjNOQB2/6NjMmAvHp4A50kA=; X-UUID: 4f037dcdbe284f00a0fd594db2bdaf24-20200924 Received: from mtkcas08.mediatek.inc [(172.21.101.126)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.14 Build 0819 with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1895011425; Thu, 24 Sep 2020 12:05:50 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs06n1.mediatek.inc (172.21.101.129) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 24 Sep 2020 12:05:49 +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; Thu, 24 Sep 2020 12:05:47 +0800 From: Walter Wu To: Andrew Morton , Marco Elver , Andrey Ryabinin , Alexander Potapenko , Dmitry Vyukov , Andrey Konovalov , Matthias Brugger CC: , , , , wsd_upstream , , Walter Wu Subject: [PATCH v4 4/6] kasan: add tests for timer stack recording Date: Thu, 24 Sep 2020 12:05:48 +0800 Message-ID: <20200924040548.31112-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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org QWRkcyBhIHRlc3QgdG8gdmVyaWZ5IHRpbWVyIHN0YWNrIHJlY29yZGluZyBhbmQgcHJpbnQgaXQN CmluIEtBU0FOIHJlcG9ydC4NCg0KVGhlIEtBU0FOIHJlcG9ydCB3YXMgYXMgZm9sbG93cyhjbGVh bmVkIHVwIHNsaWdodGx5KToNCg0KIEJVRzogS0FTQU46IHVzZS1hZnRlci1mcmVlIGluIGthc2F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