Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp21935046ybl; Mon, 6 Jan 2020 14:27:29 -0800 (PST) X-Google-Smtp-Source: APXvYqxqftAxplkpkGT1aNJbz36hFiviSupKvpurrJiXyNgwoRIJX/OBRd6o7xNdF5THUg9k/kVL X-Received: by 2002:a9d:65cf:: with SMTP id z15mr121872341oth.238.1578349649375; Mon, 06 Jan 2020 14:27:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578349649; cv=none; d=google.com; s=arc-20160816; b=K9FZax5wdwpDXc/W4iw0lW1xlvhNkbtxFUj0S8kl6NmkTQ0nAYDOgPmRjQKM5qu3Cn TnYS/ihyp0XcARrWN2riZf8+4xuqVhirguVQ+DpxuDHV4JNwfh10mX3nko1gyQN+QiGb QQ0na51IjkqKK0AX3uxGHxTIeezvEGznuxi50cYSKiPNr5wMhtnrz9GQILyDnQDxkWyP 9vhzkiENKH+ik+P3JDCgzkA/e+ah+bhMqKi1ATlbYSf63OocKkEshY/bhpH7v+Dqu8RD mbHSy9RL1/6/+rikrl+OdApXx/WOz/WANrFu7ncIjpq2Wc4r9OB7JjN35sE3xfitDHHI 1HdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from; bh=Cx5kB3fgEJhiuXsbCY5JG6bYSShgRo5rxC9vStMXPyk=; b=Pj1qjIpdaLdRV0obotz6UN2jamNJ95is3hXDm3r2xWsB0JEh85tEg852GxPFrxqUIO JLJn50eKBaOvHNB+ckeVAAdxmjt3FRHUb8DbX6j/IiAQcCaHc573wFts/D/YXJuq8XCK C9qC0hBKJ/SSTEykREjUjWKeKFr1WFIzdZXbJ25NK8R19el9o27wl4gcHEVatVSoWxhF 2nMSmyFLOjbxqI747jLvjAMsL6iPgod60d7bC95xCMTkFTMf5wxLlDl1+McqwnLEFHme uFuLatkgaJp6QUdZq3pT+j/Pk6LlkwJAB2bNL0DI3PRtc2hdE2oHgtW39Zyjn5HSZUIY Z6jg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t7si38627818otl.133.2020.01.06.14.27.17; Mon, 06 Jan 2020 14:27:29 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727046AbgAFWZb (ORCPT + 99 others); Mon, 6 Jan 2020 17:25:31 -0500 Received: from mga18.intel.com ([134.134.136.126]:46983 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726721AbgAFWZb (ORCPT ); Mon, 6 Jan 2020 17:25:31 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Jan 2020 14:25:30 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,403,1571727600"; d="scan'208";a="253509785" Received: from orsmsx106.amr.corp.intel.com ([10.22.225.133]) by fmsmga002.fm.intel.com with ESMTP; 06 Jan 2020 14:25:29 -0800 Received: from orsmsx116.amr.corp.intel.com (10.22.240.14) by ORSMSX106.amr.corp.intel.com (10.22.225.133) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 6 Jan 2020 14:25:28 -0800 Received: from orsmsx112.amr.corp.intel.com ([169.254.3.41]) by ORSMSX116.amr.corp.intel.com ([169.254.7.30]) with mapi id 14.03.0439.000; Mon, 6 Jan 2020 14:25:28 -0800 From: "Edgecombe, Rick P" To: "kpsingh@chromium.org" , "luto@amacapital.net" CC: "songliubraving@fb.com" , "linux-kernel@vger.kernel.org" , "bpf@vger.kernel.org" , "keescook@chromium.org" , "ast@kernel.org" , "daniel@iogearbox.net" , "kuznet@ms2.inr.ac.ru" , "jannh@google.com" , "mjg59@google.com" , "thgarnie@chromium.org" , "linux-security-module@vger.kernel.org" , "x86@kernel.org" , "revest@chromium.org" , "jackmanb@chromium.org" , "kafai@fb.com" , "yhs@fb.com" , "davem@davemloft.net" , "yoshfuji@linux-ipv6.org" , "mhalcrow@google.com" , "andriin@fb.com" Subject: Re: [PATCH bpf-next] bpf: Make trampolines W^X Thread-Topic: [PATCH bpf-next] bpf: Make trampolines W^X Thread-Index: AQHVwpjLpCzVLdPZ5Em9CS0HIZ/iOKfewVwA Date: Mon, 6 Jan 2020 22:25:27 +0000 Message-ID: <21bf6bb46544eab79e792980f82520f8fbdae9b5.camel@intel.com> References: <20200103234725.22846-1-kpsingh@chromium.org> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.54.75.11] Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gU2F0LCAyMDIwLTAxLTA0IGF0IDA5OjQ5ICswOTAwLCBBbmR5IEx1dG9taXJza2kgd3JvdGU6 DQo+ID4gT24gSmFuIDQsIDIwMjAsIGF0IDg6NDcgQU0sIEtQIFNpbmdoIDxrcHNpbmdoQGNocm9t aX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