Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp51576rdb; Sun, 28 Jan 2024 13:12:24 -0800 (PST) X-Google-Smtp-Source: AGHT+IG4v4LywSM9uDYh6CJ0UBQ5Rcty/z1MVXMkFdDkrHx75RznD6HPkG1bSoWaJry30SDl+aT5 X-Received: by 2002:a05:6358:e48a:b0:178:623c:2200 with SMTP id by10-20020a056358e48a00b00178623c2200mr3247864rwb.40.1706476343849; Sun, 28 Jan 2024 13:12:23 -0800 (PST) Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id l71-20020a63884a000000b005cdfef90ea6si4664906pgd.336.2024.01.28.13.12.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Jan 2024 13:12:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-41958-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@illinois.edu header.s=campusrelays header.b=KVgrJqh4; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-41958-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-41958-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=illinois.edu Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 22075B2145F for ; Sun, 28 Jan 2024 21:12:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 044273C08E; Sun, 28 Jan 2024 21:12:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=illinois.edu header.i=@illinois.edu header.b="KVgrJqh4" Received: from mx0b-00007101.pphosted.com (mx0b-00007101.pphosted.com [148.163.139.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1EE233C463; Sun, 28 Jan 2024 21:12:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=148.163.139.28 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706476331; cv=fail; b=BKtHNOzNIFI7fXTrPhH6cmwhI0ZRrCqZcPXtUEcz++C3xfkbq7nF7ufOZndaWPYLttq1nj9gPVgaw1ehRGlyrrhHzHkijmW9TNz0zeAZgHMux2jvmHqbJpcAAINpYhn+FihFjhG9nOTl1oSC3kCClGzQcRgJZ7XF8sLXiQ4UCNo= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706476331; c=relaxed/simple; bh=wGPnDMWoHmu6IHP1X/BJYpa2W6zR9Zyo5NdHoE+c9qM=; h=Message-ID:Date:Subject:To:Cc:References:From:In-Reply-To: Content-Type:MIME-Version; b=Pz8f7Cd/JndGvz1HwiJitn+vN5LMiW8zHw9lyKSBChy+6amZ4Y3LzwnMhg946wrSdwW/WL7j10toi59tbPjYhvqUXctE+ZKmCUGq1VGT29FcK6SjzAjATKrsfvQlnfzqosbyxzQTG5eXx6VImTPdKFOujxLgJMFvbWureT7IuxE= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=illinois.edu; spf=pass smtp.mailfrom=illinois.edu; dkim=pass (2048-bit key) header.d=illinois.edu header.i=@illinois.edu header.b=KVgrJqh4; arc=fail smtp.client-ip=148.163.139.28 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=illinois.edu Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=illinois.edu Received: from pps.filterd (m0166258.ppops.net [127.0.0.1]) by mx0b-00007101.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 40SG2ui8030958; Sun, 28 Jan 2024 21:11:16 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=illinois.edu; h=message-id : date : subject : to : cc : references : from : in-reply-to : content-type : mime-version; s=campusrelays; bh=wGPnDMWoHmu6IHP1X/BJYpa2W6zR9Zyo5NdHoE+c9qM=; b=KVgrJqh4oNbBpiDqRTWCjz2tw3B8V5jh/nderVHR4MY+i0f+2MequB0UpFF5F9dw8rnI 9Vl2Zw4iY36DD5f9xkPwjyw+S2RnW1E1Cfn2TLlLXunoqk21MudLpZNC8lpT9/gkoNmr boickxGWOSmniEsZjh2kZwxtadgh55jA8Eno6yj1VURbI3dhzM0fkCJXC7EsvmDK9c+f gi9EuoQmzz4fysfV4FQCth6B+DtYQPB0w7eqAloSzjutZbcFiB8bc8jGiB7Z+Qfsh0N4 zMewi5Ip5XKVGigew1kUUDDBvwSWcocsYRF0bfs/BcrAJkmS904xOwGl89UgXQqfyuVW 2A== Received: from nam10-mw2-obe.outbound.protection.outlook.com (mail-mw2nam10lp2101.outbound.protection.outlook.com [104.47.55.101]) by mx0b-00007101.pphosted.com (PPS) with ESMTPS id 3vvr6sscd5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 28 Jan 2024 21:11:16 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YF/M4AOYj+6QUFKUhrRLWx3JA6Zpus5sL3M3hRNjBl+4hOJup6ObvrWg7avG1MHSPnt3HTHFN1+GD5MrzLM2JZH4pQP/1WIYEIKfk7WBo69KhCHBchCaiekbhGzJCKNHARoS83bUqGJFn7agydGoUIjYmgOwMSkLHtiI7dx4HGulqwxq89FDzrJ21duD/QzmxQRr4rqm3RvAjJy3UGPhbav39nozOtvemSzuAlaWhQr/KlnBpdLG/9/RSREOi6UP/528/4DfCIHOM8SDIH/M1J00ee0Pnfr1Y75Y9k00TyaV2r5kmg4qNC/JqF5BXerSr0xT7LXMskMpDWzGytdVpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=wGPnDMWoHmu6IHP1X/BJYpa2W6zR9Zyo5NdHoE+c9qM=; b=bsYHaOyJMeLMXSORt31G+RInxrijzRjHVPlNEXufhJ8/jWAwUJYfKKetwojtISl1ej0guXQ3vJOU4XjrVC8wd08LnLP9+DQhc7AtPLV14JvH9XqyIYE6OK9sTyGPc4owy/wCC2hGOu1Z4j07opl2MTqN9CBRrorCLiM39SSrKAMmO8LuSWXe5AmFEI9IURxgO6rA3S2c/ZbaG+FWZMc8oDtscde7H2aUqrpURFQ5g56utxdo03bnhQJJ9Yy2n+lDjISYOUSN6gH5YDkGC7f8Az8Blyb9wFRmxN+CJW76aclfLE6iZ7bbTQm1Mms/DTb9cbWgcQiduxxpTHW1pear5g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=illinois.edu; dmarc=pass action=none header.from=illinois.edu; dkim=pass header.d=illinois.edu; arc=none Received: from IA1PR11MB7272.namprd11.prod.outlook.com (2603:10b6:208:428::8) by MW4PR11MB6984.namprd11.prod.outlook.com (2603:10b6:303:22e::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7228.31; Sun, 28 Jan 2024 21:10:55 +0000 Received: from IA1PR11MB7272.namprd11.prod.outlook.com ([fe80::3b5f:2696:825a:bd34]) by IA1PR11MB7272.namprd11.prod.outlook.com ([fe80::3b5f:2696:825a:bd34%5]) with mapi id 15.20.7228.029; Sun, 28 Jan 2024 21:09:52 +0000 Message-ID: <8935a6b8-0853-43ca-84ce-35c87bcc643c@illinois.edu> Date: Sun, 28 Jan 2024 15:09:50 -0600 User-Agent: Mozilla Thunderbird Subject: Re: [RFC PATCH 1/2] x86/kprobes: Prohibit kprobing on INT and UD Content-Language: en-US To: Xin Li , "Masami Hiramatsu (Google)" , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , Peter Zijlstra Cc: linux-trace-kernel@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240127044124.57594-1-jinghao7@illinois.edu> <20240127044124.57594-2-jinghao7@illinois.edu> <30966e59-d757-43f2-a89b-75bf41426611@zytor.com> From: Jinghao Jia Autocrypt: addr=jinghao7@illinois.edu; keydata= xsFNBGJmFCsBEADTCP2WqIboXB/QxPFGOxAhbbstER2dlqRLID5Rh/lYLiRfTiAe23c4vxNy zi+pgSd7aRdmx+OCFZr3YP/SjNDiyI4u1H7RcOe2Zucoh+uWmK2dwrPWSix/ZP91VbHhN12H LnHc9PBCVV+14qMfYgmV/JS2274WjzYYXwG19celZbCZ9RplAQ8RGIc9HtBTFFrphyNoJsNS I0yCCgr8TnmVcXxibsJ+61QA9XrEtIQubAV19XG9by1bK+VNc0Q+e5gn0MZjksbEDHzrJoR9 6Oa3E1xVWVmUaUG6lV1W5FvsX1q3GrULv/meuxgLwpj9sPqgdcybQkNvZbEdeKMoRbfP+RSw M+S4awIIsORlVOrhbdVoBjqJRGUB+FpmVdW6m1Kf1gpCD7d1Kb3+Pj8iF4oF4m/j2AyZLYt2 drYWtqvbc6adYkR2sBoBG6/opZzjMtrKycb7KHwR2y6KG9KXuYUdbeTbmpN0do0Adk3LRBEX rbt7/6pYYGmN00PlmMihWannS/m7O8i0yeoSv1UZzI2K3D8Z8hzExqToIKe4Lo3rdO5tBiAB 9IX6U3pF3KXT4E++cTXuTLtEx5B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pPcWmYfFE5vAUa3Mx+5WBzA+qLb4fUa5VtLomLso+/jf4Vf3epUT8d mLgXMG27L9/eYEDR5/RSkdi8FBzkbOpuFsoeGEFmAFBgBxbNe9KuUQRH1dicnsuRpBmElHeo o7jc2Rfr9CJl5B7wrSs5jC2UbRcmOR8kIWNOebxP2b5tcRLJcU4b//E5hbwkaJTsAwLBNrfy kjbbUMJwLp0QlMt2z2YYHIcx6WkKlaouaPfg06CnTz8cz2dpcbvhi0xfBp8= In-Reply-To: <30966e59-d757-43f2-a89b-75bf41426611@zytor.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------izVobTP9JTJxqmSnH0UHoxG0" X-ClientProxiedBy: CH2PR02CA0011.namprd02.prod.outlook.com (2603:10b6:610:4e::21) To IA1PR11MB7272.namprd11.prod.outlook.com (2603:10b6:208:428::8) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: IA1PR11MB7272:EE_|MW4PR11MB6984:EE_ X-MS-Office365-Filtering-Correlation-Id: 7a60685e-f42f-4c22-6fd8-08dc2045781d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: T939Q4ssHiQLXNRaNJ+2qsWgonFMtucsi+DleT2lnihYQ+MmUwh0CeeTX/IVx2ObJ3aFTuyYb/25OE++t0N/2m0VWutkzb85uTt78On1Dq7L2QZ8A3sh2i8HKz8jHUhWBk8ywvrvME3flU9AS8AN3yE0Hwi/Q8bngVk/UUSD0faoLG7NmSgvdY8UVP9G9npipNqymrG53slnrHVN5tYu5VgG+hPXTqHpbTblD0iiSUt594+r0K9zW4x8JkpYu24U3yYXlln//7g6cw8fm1KT1uMdUze1b8bXjK96txY2bdzcA6g/Va0qKSjvq9eB5lY6AVB1/EZYLpCY0P7cn+DtaXgEUgmkn9yAcLIfVPLgBv0rkfSmvINOz2ZuAE0aPRoWIFalPz77zP0xlMEoRtbFrlFvVh/NoVTpy02dSvwt0cZ0mNiEFSF7wPAL82tL6B6jR2e5dijyFLt6WWkab45QDL07/zzGlirmy+GwPfrqjv3I7iy274XKxqf5qM9xxVmkgV7kzIn/XRjJe+UMByrAOREiiPd1cG9hNakb6gj1ObNnq3tOMfL9TYAYwjXQafWJyBcLEPoyLNLeTOV87LpYHd8Go98H9T/mW2RrjdIFEWUej47rz2gT5/8T/xaEqNXU391h+ZFhR0MZ7ZujdV05Yw== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:IA1PR11MB7272.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(39860400002)(396003)(376002)(136003)(346002)(366004)(230922051799003)(64100799003)(186009)(451199024)(1800799012)(31686004)(2906002)(7416002)(5660300002)(66946007)(316002)(33964004)(66556008)(66476007)(110136005)(53546011)(4326008)(75432002)(786003)(8676002)(8936002)(6506007)(38100700002)(478600001)(235185007)(41300700001)(86362001)(31696002)(36756003)(6512007)(83380400001)(21480400003)(2616005)(6486002)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?YzRXa3h4eXBla01USWNrWmpQSERiUlZBWGtPbldJZnBRK2RrZlNaSXh4c3BW?= =?utf-8?B?VlZOUWtaVzFWemxnN1loWm9sZ3ExS0ZpTm5ZWnQ0clFuSngyZitIMlJDTi9R?= =?utf-8?B?UDVqNUZibHNnblExTE5rK1RWSUhQZXhkTDV4a2VsTGVYY2l0b01WZkpqZGxi?= =?utf-8?B?K3BUVS9RN2hQOUVwbFFLWVhXTlVkMnN5TW5ENXFyWnVMeXBsOEswdlJLUzhr?= =?utf-8?B?RStXdFk3SDdsTjJPYW12ZjByVGcxOXc1V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FibGVOZkU2UXU1YWtLaXFJRFRraEx2OHVPZVRnVDFXSUs5d2tOeHFQ?= =?utf-8?B?bWxPa2J2WWxIZkFBYUc3QWd1WWdMWXkzc0xvZWVZWVpRN2k3THI0ZWhlcmxu?= =?utf-8?Q?7SBR+RSmmCeZ781CrWWnCNP0ruC7dEJhqUr9ysZx9iHM?= X-OriginatorOrg: illinois.edu X-MS-Exchange-CrossTenant-Network-Message-Id: 7a60685e-f42f-4c22-6fd8-08dc2045781d X-MS-Exchange-CrossTenant-AuthSource: IA1PR11MB7272.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Jan 2024 21:09:52.2734 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 44467e6f-462c-4ea2-823f-7800de5434e3 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Ykc6gNd/OI8x5vpKAdQOWpV/TAuhlKATeGuT3s6QKp3PFmpLpaUjcf4ODpTgMcfjwwj50XYbOAmy/cIv59RwdQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR11MB6984 X-Proofpoint-GUID: MSOkoNzGC_mFwNNR2fS57-HVklrkUFoa X-Proofpoint-ORIG-GUID: MSOkoNzGC_mFwNNR2fS57-HVklrkUFoa X-Spam-Details: rule=cautious_plus_nq_notspam policy=cautious_plus_nq score=0 impostorscore=0 spamscore=0 malwarescore=0 priorityscore=1501 clxscore=1011 mlxlogscore=999 phishscore=0 suspectscore=0 lowpriorityscore=0 mlxscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311290000 definitions=main-2401280160 X-Spam-Score: 0 X-Spam-OrigSender: jinghao7@illinois.edu X-Spam-Bar: --------------izVobTP9JTJxqmSnH0UHoxG0 Content-Type: multipart/mixed; boundary="------------PqI2qAe9hIxVz4Ya4iSy6h7a"; protected-headers="v1" From: Jinghao Jia To: Xin Li , "Masami Hiramatsu (Google)" , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , Peter Zijlstra Cc: linux-trace-kernel@vger.kernel.org, linux-kernel@vger.kernel.org Message-ID: <8935a6b8-0853-43ca-84ce-35c87bcc643c@illinois.edu> Subject: Re: [RFC PATCH 1/2] x86/kprobes: Prohibit kprobing on INT and UD References: <20240127044124.57594-1-jinghao7@illinois.edu> <20240127044124.57594-2-jinghao7@illinois.edu> <30966e59-d757-43f2-a89b-75bf41426611@zytor.com> In-Reply-To: <30966e59-d757-43f2-a89b-75bf41426611@zytor.com> --------------PqI2qAe9hIxVz4Ya4iSy6h7a Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 DQoNCk9uIDEvMjcvMjQgMTM6NDcsIFhpbiBMaSB3cm90ZToNCj4gT24gMS8yNi8yMDI0IDg6 NDEgUE0sIEppbmdoYW8gSmlhIHdyb3RlOg0KPj4gQm90aCBJTlRzIChJTlQgbiwgSU5UMSwg SU5UMywgSU5UTykgYW5kIFVEcyAoVUQwLCBVRDEsIFVEMikgc2VydmUNCj4+IHNwZWNpYWwg cHVycG9zZXMgaW4gdGhlIGtlcm5lbCwgZS5nLiwgSU5UMyBpcyB1c2VkIGJ5IEtHREIgYW5k IFVEMiBpcw0KPj4gaW52b2x2ZWQgaW4gTExWTS1LQ0ZJIGluc3RydW1lbnRhdGlvbi4gQXQg dGhlIHNhbWUgdGltZSwgYXR0YWNoaW5nDQo+PiBrcHJvYmVzIG9uIHRoZXNlIGluc3RydWN0 aW9ucyAocGFydGljdWxhcmx5IFVEcykgd2lsbCBwb2xsdXRlIHRoZSBzdGFjaw0KPj4gdHJh Y2UgZHVtcGVkIGluIHRoZSBrZXJuZWwgcmluZyBidWZmZXIsIHNpbmNlIHRoZSBleGNlcHRp b24gaXMgdHJpZ2dlcmVkDQo+PiBpbiB0aGUgY29weSBidWZm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MzM0LDYgQEAgc3RhdGljIGludCBjYW5fcHJvYmUodW5zaWduZWQgbG9uZyBw YWRkcikNCj4+IMKgwqDCoMKgwqDCoMKgwqDCoMKgICogQWxzbywgdGhlc2UgbW92bCBhbmQg YWRkbCBhcmUgdXNlZCBmb3Igc2hvd2luZyBleHBlY3RlZA0KPj4gwqDCoMKgwqDCoMKgwqDC oMKgwqAgKiB0eXBlLiBTbyB0aG9zZSBtdXN0IG5vdCBiZSB0b3VjaGVkLg0KPj4gwqDCoMKg wqDCoMKgwqDCoMKgwqAgKi8NCj4+IC3CoMKgwqDCoMKgwqDCoCBfX2FkZHIgPSByZWNvdmVy X3Byb2JlZF9pbnN0cnVjdGlvbihidWYsIGFkZHIpOw0KPj4gLcKgwqDCoMKgwqDCoMKgIGlm ICghX19hZGRyKQ0KPj4gLcKgwqDCoMKgwqDCoMKgwqDCoMKgwqAgcmV0dXJuIDA7DQo+PiAt DQo+PiAtwqDCoMKgwqDCoMKgwqAgaWYgKGluc25fZGVjb2RlX2tlcm5lbCgmaW5zbiwgKHZv aWQgKilfX2FkZHIpIDwgMCkNCj4+IC3CoMKgwqDCoMKgwqDCoMKgwqDCoMKgIHJldHVybiAw Ow0KPj4gLQ0KPj4gwqDCoMKgwqDCoMKgwqDCoMKgIGlmIChpbnNuLm9wY29kZS52YWx1ZSA9 PSAweEJBKQ0KPj4gwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAgb2Zmc2V0ID0gMTI7DQo+ PiDCoMKgwqDCoMKgwqDCoMKgwqAgZWxzZSBpZiAoaW5zbi5vcGNvZGUudmFsdWUgPT0gMHgz KQ0KPiANCg== --------------PqI2qAe9hIxVz4Ya4iSy6h7a-- --------------izVobTP9JTJxqmSnH0UHoxG0 Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature.asc" -----BEGIN PGP SIGNATURE----- wsF5BAABCAAjFiEE2/ZzTtJDFIshN/BBL9huahcPNUYFAmW2wp4FAwAAAAAACgkQL9huahcPNUYM pw//VdIh1zfJRCMoe1TV+jqCYiJuk5Ovzzvei/NM2AIiAmmPS7cm/geIHaC5aXF87lCIQXwRMf9/ ymMCPSYIz/+4C0O2hKseLsZlk3RcYSEzcd3tGCuUZarCsYat6B8uAt5SVIBXHwn3qrJv24iba4ut rwfUFNVeLUd6sQm8uveP7Wd6lzGU3GD7ot5sQnaS5y+Nvvy7u1oA56RpW0WN4FIuiUb3D4egAFj0 A8xFYY5OwCxpA3uy2YHQ/+Xl1dKml43hVHlbz6v9Nsr/bngMYI2OeWCNc7ohEEAcrvvUP0D7xZW3 fTsaUtYoXRB4HPG66P/SUtwzA1P3Tuo/il96NX9dflqrpdSLFyDYiQPoolYo9pZNb76TzWZMHwb4 FRNdUJMBhl9egjyLZ4287blEjtPIITrvpXqAac0t4hR8Qhs5FL5mXVPlLWWpXjdxC3Z3eUQePC8i Z6GS0TO+x0RiYuzYoijbCxo5VYoz7czSzyMzUJQ2VzRlgNg0zYkVjZAXoV0y0F5NhtGspS/a5/AR Cd0Tdtt9te5QplrOv3KnqJqA8gexoBLM6e60M1gZGby3P4u/IsZmHa5T/2vZodHIw8JdgrTD6hrw E/5np8IGFxErqbW5vcteRuc1Z/1md87H5xg3I8Kw9VvHP6FFlblH/mmrduGbXTG6sRGu3LcSg8JB wKQ= =CV3H -----END PGP SIGNATURE----- --------------izVobTP9JTJxqmSnH0UHoxG0--