From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sog-mx-1.v43.ch3.sourceforge.com ([172.29.43.191] helo=mx.sourceforge.net) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1bCEHq-0005jZ-Ao for user-mode-linux-devel@lists.sourceforge.net; Sun, 12 Jun 2016 22:55:22 +0000 Received: from b.ns.miles-group.at ([95.130.255.144] helo=radon.swed.at) by sog-mx-1.v43.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) id 1bCEHo-0004xW-Ap for user-mode-linux-devel@lists.sourceforge.net; Sun, 12 Jun 2016 22:55:22 +0000 References: <6AAB4FAC-99C2-4B3C-88CA-C210193E74EF@m3y3r.de> <575DCE83.9090203@nod.at> From: Richard Weinberger Message-ID: <575DE851.4080206@nod.at> Date: Mon, 13 Jun 2016 00:55:13 +0200 MIME-Version: 1.0 In-Reply-To: Subject: Re: [uml-devel] current_thread_info() returns invalid pointer in early UML boot code List-Id: The user-mode Linux development list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: user-mode-linux-devel-bounces@lists.sourceforge.net To: Vegard Nossum Cc: user-mode-linux-devel , Thomas Meyer Am 12.06.2016 um 23:41 schrieb Vegard Nossum: > I see... nice and hacky ;-) I'll try the same for snprintf and see if > that works around my bug. > >> A much better approach would be having a real linker scope. >> Some time ago I posted some thoughts on that: >> https://lkml.org/lkml/2015/11/19/758 >> >> Due to -ENOTIME this never materialized, though. ;-( > > Cool, objcopy -G/--keep-global-symbol(s) seems like a good solution. > Doesn't look like it should be too difficult. I might give it a try. Not really difficult but unpleasant. ;-) IIRC last time I looked I figured that UML's source structure and build process would need a big rework to achieve that. Would be cool if you could work on it, I'll happily assist as far as my spare time permits. Thanks, //richard ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel