Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp26401pxk; Wed, 23 Sep 2020 21:08:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwqF/evJltNW6o0YY1bh1bs/8SSbJwSRWGNeFyS1S3oz4EuARTySVlYZKNNhrB+vWon4aiy X-Received: by 2002:aa7:d403:: with SMTP id z3mr2581605edq.310.1600920539116; Wed, 23 Sep 2020 21:08:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600920539; cv=none; d=google.com; s=arc-20160816; b=bExpwMcBpSKsdig8pk1QxugCBPb5QbnofI6inlL9qa2AQVz4KgB2i73OJdXpku+GiV X4AHGeWQno/nPX2aYT3l4CQnJVe4SNoHmg76SG48GParFtN6QIozKSTcF/v90O8OTmNt YWkfqPqbGAWZs3Kyzk/2yaH9er4eBFnMk7nh0pjD0spGXtcaXR0niVK+wSA3qsI0heRG tjQFhjjdz0PStJoG7n+dezT8WgQ0+gZ5+XmxMOk/Npe8y302HEua232tSvnGyzCJoUfv 6tWimNUOrcAiONOGzk8umK4TBtiePRMyXh63RZ3WNgjkiCNHrLjwXJ2ZCzyxyZvOQBHI Wyeg== 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=IVo58NkQ33GGKE0b3jzyWWKlUmdeJt6uk543PzI5rcE=; b=HTLGXp6ydC35zqxwqMhVnXlFfjWyEncOLVbvmaW/gd6DzvJe1WR648tCuBFKg1elHn ksXSUEWrquOkTOGMnXZtibYiLIVqsSMk6sSh4qS8aO2kXp6jCnUctrHgpeTULnff4+Pd V82N8FNHLWc9uQjiRu47cROYNHOO7UcAouHhHul2+0eK7p8EiXu/PCc0qeG1vVjyoHS5 gFr3natCCsvwgXTTLoPeflr+mkGhb/Icde/Bg8nJlvE/vwYcfHChZ0SE5gudeOyOdSPO DnoRuWo5Y8hcpbrry9fZ+ljWtIQ+zGLsKN8oqKUZjFqzlwfdWr2nnakIH7Q3oYiJHnqZ ebmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=BU628Vj8; 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 l23si1284258ejq.411.2020.09.23.21.08.35; Wed, 23 Sep 2020 21:08:59 -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=BU628Vj8; 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 S1726826AbgIXEG0 (ORCPT + 99 others); Thu, 24 Sep 2020 00:06:26 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:60136 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726477AbgIXEG0 (ORCPT ); Thu, 24 Sep 2020 00:06:26 -0400 X-UUID: 888a959d97b549a499044dc089591337-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=IVo58NkQ33GGKE0b3jzyWWKlUmdeJt6uk543PzI5rcE=; b=BU628Vj8PgwskSfSxzEK0siuGLaRpCuuQVU6AnGoF3pXFNW5myjXYZ4xIm9OiK9j2A78f6ihmbWuM1M/ZCqFeMnhc0GGl937ZiRF+ToLI+udnv+cB4OjAWDcr/ES1gTElmYUWLpPmgAN5PGzeZC13vti+901pWlQvkcZON2pB5k=; X-UUID: 888a959d97b549a499044dc089591337-20200924 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] 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 1807994880; Thu, 24 Sep 2020 12:06:23 +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:06:22 +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:06:21 +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 5/6] kasan: add tests for workqueue stack recording Date: Thu, 24 Sep 2020 12:06:21 +0800 Message-ID: <20200924040621.31164-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 QWRkcyBhIHRlc3QgdG8gdmVyaWZ5IHdvcmtxdWV1ZSBzdGFjayByZWNvcmRpbmcgYW5kIHByaW50 IGl0IGluDQpLQVNBTiByZXBvcnQuDQoNClRoZSBLQVNBTiByZXBvcnQgd2FzIGFzIGZvbGxvd3Mo Y2xlYW5lZCB1cCBzbGlnaHRseSk6DQoNCiBCVUc6IEtBU0FOOiB1c2UtYWZ0ZXItZnJlZSBpbiBr YXNhbl93b3JrcXVldWVfdWFmDQoNCiB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