From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.20; helo=mga02.intel.com; envelope-from=jiewen.yao@intel.com; receiver=edk2-devel@lists.01.org Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 7AACE22135D4C for ; Tue, 6 Mar 2018 20:07:30 -0800 (PST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Mar 2018 20:13:44 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,434,1515484800"; d="scan'208";a="39818136" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by orsmga002.jf.intel.com with ESMTP; 06 Mar 2018 20:13:44 -0800 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 6 Mar 2018 20:13:44 -0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.124]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.116]) with mapi id 14.03.0319.002; Wed, 7 Mar 2018 12:13:42 +0800 From: "Yao, Jiewen" To: "Wang, Jian J" , "Ni, Ruiyu" , "Wu, Hao A" , "edk2-devel@lists.01.org" CC: "Zeng, Star" , "Dong, Eric" Thread-Topic: [PATCH v2 0/2] Resolve feature conflict between NX and Stack guard Thread-Index: AQHTtU+pcXWjeNho9E6R3aR07eDrUaPDlLQAgAAGcgCAAI8qoA== Date: Wed, 7 Mar 2018 04:13:42 +0000 Message-ID: <74D8A39837DF1E4DA445A8C0B3885C503AADF3FF@shsmsx102.ccr.corp.intel.com> References: <20180306133303.14772-1-hao.a.wu@intel.com> In-Reply-To: Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMDQ0NTdlNDktYmJlNS00MmJkLThmMTQtYWM2NTQyYzlmZTY3IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjIuNS4xOCIsIlRydXN0ZWRMYWJlbEhhc2giOiJqUUR2WDNIWjJ6MGM1QkpIVG4rclg5UUdZNFpab1ZUTHJ5aWh3M2puQTBwQTNjTmtMQzNuVmJOemJvNFZ2TjdYIn0= x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [PATCH v2 0/2] Resolve feature conflict between NX and Stack guard X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2018 04:07:30 -0000 Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 SSB0aGluayB0aGUgb3JpZ2luYWwgcGF0Y2ggaXMgZmluZS4NCg0KU3RhY2tCYXNlIGlzIGFscmVh ZHkgY2hlY2tlZCBieSB1c2luZyBBU1NFUlQgYmVmb3JlLg0KPiArICAgICAgICBBU1NFUlQgKChT dGFja0Jhc2UgJiBFRklfUEFHRV9NQVNLKSA9PSAwKTsNCg0KTWVtTWFwIGVudHJ5IG11c3QgYmUg cGFnZSBhbGlnbmVkLg0KDQpObyBhZGRpd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