From: "Luis R. Rodriguez" Subject: Re: [PATCH v1 15/27] compiler: Option to default to hidden symbols Date: Thu, 12 Oct 2017 22:02:01 +0200 Message-ID: <20171012200201.GW11645@wotan.suse.de> References: <20171011203027.11248-1-thgarnie@google.com> <20171011203027.11248-16-thgarnie@google.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Cc: Nicolas Pitre , Michal Hocko , Radim =?utf-8?B?S3LEjW3DocWZ?= , linux-doc@vger.kernel.org, Daniel Micay , Len Brown , Peter Zijlstra , Christopher Li , Jan H =?iso-8859-1?Q?=2E_Sch=F6nherr?= , Alexei Starovoitov , virtualization@lists.linux-foundation.org, David Howells , Paul Gortmaker , Waiman Long , Pavel Machek , "H . Peter Anvin" , kernel-hardening@lists.openwall.com, Christoph Lameter , Thomas Gleixner , x86@kernel.org, Herbert Xu , Daniel Borkmann , Jonathan Corbet , Peter Foley , Guenter Roeck , Nicholas Piggin Return-path: Content-Disposition: inline In-Reply-To: <20171011203027.11248-16-thgarnie@google.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" List-Id: linux-crypto.vger.kernel.org T24gV2VkLCBPY3QgMTEsIDIwMTcgYXQgMDE6MzA6MTVQTSAtMDcwMCwgVGhvbWFzIEdhcm5pZXIg d3JvdGU6Cj4gUHJvdmlkZSBhbiBvcHRpb24gdG8gZGVmYXVsdCB2aXNpYmlsaXR5IHRvIGhpZGRl biBleGNlcHQgZm9yIGtleQo+IHN5bWJvbHMuIFRoaXMgb3B0aW9uIGlzIGRpc2FibGVkIGJ5IGRl ZmF1bHQgYW5kIHdpbGwgYmUgdXNlZCBieSB4ODZfNjQKPiBQSUUgc3VwcG9ydCB0byByZW1vdmUg ZXJyb3JzIGJldHdlZW4gY29tcGlsYXRpb24gdW5pdHMuCj4gCj4gVGhlIGRlZmF1bHQgdmlzaWJp bGl0eSBpcyBhbHNvIGVuYWJsZWQgZm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