Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2572001pxa; Mon, 24 Aug 2020 19:03:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwmuyMVUTXhVV9ULyM9r7q6j19qqWNwG2fyCl5xBu4TIaJK+AsToP/4VOVjsuMEMb5Rddtt X-Received: by 2002:a17:906:4dd4:: with SMTP id f20mr8799225ejw.170.1598321034203; Mon, 24 Aug 2020 19:03:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598321034; cv=none; d=google.com; s=arc-20160816; b=cSPHRFL0fqV5cApTe1CLPWhKrrbim3zCmHP4GjHJzmRB18DUj8iuhTuDY5jmhsh9NI Gv/yrx+iqqThJ/qhwFpTt0kNqwAURr2ShvRwHg2iWSLBNqJ+bInhNz5Mqry2k7KVgWfG h9v2TlLSeRdkBPX0fgPLG6fC2KGTvFBEjTPp+OP43R1iVVJ85dXgYBMgeJ+AVZUmXD8d UerwMikRSIaADDxxEhW7ivwhANSmRbpQRQXn/V2BzZLv1UbNFbXmgwDc5S4T/S5TXpG1 gs1oT1OyDmhL0z6OTZIb3+9guDGTLe2NbTq1eOJq+AhLche1CLLg842YJJQrONyTESlp ouMA== 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=+uEb+COBoPnYhqxN0aa+Ix9E1vWCkdkDaOsAXwUlrdg=; b=M5L0Hj2qV2nU+xo+dOjJUDxy2D2N7qb7himn1o/7F+gznfC8i8nYly0e/C6TEzakmV mgcxWUZ09ayeLp1bGEUiG15o2o6X6ts3Xam1U4FRzimq0FaENqPdgbHDJQbRI2pEP4TL qjBQhUSzCpPvC4RnbaEmmzHxFQu94ujwi4TJdCoQpR5w8BV2+EVHD9t/o0cboAseXX6M f3oBGHeDVtbsl4fjjWYDK3GUH0lufoj4H1Slwv97usj6yXZOuLI+j2/b8zF7MDzcymrz /qphI6EVdX/JZpJiG/B10BYIa/TQSGzP3garxorDKC4v+WddxCFS3/mkDnmIeCMKRabg a+nQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=snlOgSvp; 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 n23si8577762eja.606.2020.08.24.19.03.31; Mon, 24 Aug 2020 19:03:54 -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=snlOgSvp; 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 S1726934AbgHYCAR (ORCPT + 99 others); Mon, 24 Aug 2020 22:00:17 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:61819 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725838AbgHYCAP (ORCPT ); Mon, 24 Aug 2020 22:00:15 -0400 X-UUID: da200875e771434fb8ea2e4074119a4e-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=+uEb+COBoPnYhqxN0aa+Ix9E1vWCkdkDaOsAXwUlrdg=; b=snlOgSvp6Ydfa9GQsyZ0okgQarXlwCKKK0WFjIUGHC/csH+0BLUWNMK+Fkztw2CgANdzNJmSsWwe0pWEizJ4+AYsTZGfFL3eUCS59qQPWjQLi63O5jinLFRMDX99A9hvK8jKhR3lm9seKXi1sQBQLTeWGUm6JohUr33nVOPq/ac=; X-UUID: da200875e771434fb8ea2e4074119a4e-20200825 Received: from mtkcas11.mediatek.inc [(172.21.101.40)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 555672964; Tue, 25 Aug 2020 10:00:12 +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; Tue, 25 Aug 2020 10:00:11 +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 10:00:11 +0800 From: Walter Wu To: Andrey Ryabinin , Alexander Potapenko , Dmitry Vyukov , Matthias Brugger CC: , , , , wsd_upstream , , Walter Wu , Andrey Konovalov Subject: [PATCH v3 5/6] kasan: add tests for workqueue stack recording Date: Tue, 25 Aug 2020 10:00:08 +0800 Message-ID: <20200825020008.28682-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: 6777E2A49D633339955E856E650F8D381A2BE95487C4F41DF024165C8168C8D82000: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 QWRkcyBhIHRlc3QgdG8gdmVyaWZ5IHdvcmtxdWV1ZSBzdGFjayByZWNvcmRpbmcgYW5kIHByaW50 IGl0IGluDQpLQVNBTiByZXBvcnQuDQoNClRoZSBLQVNBTiByZXBvcnQgd2FzIGFzIGZvbGxvd3Mo Y2xlYW5lZCB1cCBzbGlnaHRseSk6DQoNCiBCVUc6IEtB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