Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1980938pxa; Mon, 24 Aug 2020 01:17:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwTsfpw2x7gltQFDwqGAosg/RNCrB8SAAIs5dhSw/ULm3u9g0S2hQzcRt3oTQUfRtViFpbO X-Received: by 2002:a50:fa99:: with SMTP id w25mr4461060edr.150.1598257022748; Mon, 24 Aug 2020 01:17:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598257022; cv=none; d=google.com; s=arc-20160816; b=BVmA5bSzdQofWa3NgOug+hgBUav6oNTjHfL7JUVmca75vKCxgpG+YdHyKCM7UKYxIg FG19A1Gd4I2izi1ZtcwJLAbmVJw56/Hy3WWrNI4sy5Eb/zr879hGnMcC2JVdouhBfWgv ypmqkPF84Ds6F+zdYRG9Vmf2Yr/CsjOXt0FUjoDIr8ihKZpS3nvL4I5PsTXOpD5YasyS u+og0lw1iuQiES3lRRDIsQjPbsttwmW/q8t76MY/sSya6BXkEWF88iVTEVNQS0W9uoqu frkzd4C/ef9OExCQmy9be6oU7RqrmqdLwP7jRA2HD/3Hxfxq8RvFD5jzOKmO6v/I7KpU +Xmg== 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=RLktQMk/sCsOeIFh5hlr7a/oirM4D9eSukOk3S3d8+CfBNai3Jvr8bftA878iKB+qY FG5fJAw0b5VZFMVCK+AL7qGuWPh7A+NxADZXYiorUdH30m12G7x+oIS+Xnh5NSMzR6pT jM6LqyaMnIPV/mfs444nOgoJH6RXnQExueI98ZNyHvuLr40lSOGbHg7a6CBqYtU4aWm4 akW4aPRNTXSsVVyNJkFTlNvTSViW1z15pu5q+JA+o4HY8HZhsTbW5jfQzzBg1/vqDKLZ +dO6IvPw6PQj8RZFcAo8WFTqbYjiPamPUsoR2+B5mj+3HjKIozNz7Xw4HF/DMK4VKa0x bjpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=uJ8vU0ro; 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 i8si6755366edj.113.2020.08.24.01.16.39; Mon, 24 Aug 2020 01:17:02 -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=uJ8vU0ro; 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 S1726000AbgHXIOH (ORCPT + 99 others); Mon, 24 Aug 2020 04:14:07 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:41611 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725836AbgHXIOF (ORCPT ); Mon, 24 Aug 2020 04:14:05 -0400 X-UUID: 2ecc87aeceac47838ad5479d78cbd960-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=+uEb+COBoPnYhqxN0aa+Ix9E1vWCkdkDaOsAXwUlrdg=; b=uJ8vU0roc0i8VqruIbe66ieF+3I0FyWDQ1R61Wdcnmn8SyqJYOxEfJIuqoq4f/TfTwSzBuvKCHSPnJZ/1Jk+K0umBir9gQOfc3AylktUZHKHgPJRIRNx0aN/pDGnpqqFzlxUj9cblAyFDgK06fmigPppxxhiva7aO4aljdwbFsM=; X-UUID: 2ecc87aeceac47838ad5479d78cbd960-20200824 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 581680036; Mon, 24 Aug 2020 16:14:02 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs06n2.mediatek.inc (172.21.101.130) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 24 Aug 2020 16:14:00 +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:53 +0800 From: Walter Wu To: Andrey Ryabinin , Alexander Potapenko , Dmitry Vyukov , Matthias Brugger CC: , , , , wsd_upstream , , Walter Wu , Andrey Konovalov Subject: [PATCH v2 5/6] kasan: add tests for workqueue stack recording Date: Mon, 24 Aug 2020 16:13:53 +0800 Message-ID: <20200824081353.25148-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: CFFFFCDCAE5D98C607740B946277915AD6F16FFC3CBDE2FE94B34C4765AF670B2000: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 Y2xlYW5lZCB1cCBzbGlnaHRse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