From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1ILi9O-0003uC-Kw for user-mode-linux-devel@lists.sourceforge.net; Thu, 16 Aug 2007 09:24:48 -0700 Received: from saraswathi.solana.com ([198.99.130.12]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1ILi9M-00057q-3i for user-mode-linux-devel@lists.sourceforge.net; Thu, 16 Aug 2007 09:24:46 -0700 Date: Thu, 16 Aug 2007 12:24:28 -0400 From: Jeff Dike Message-ID: <20070816162428.GA8128@c2.user-mode-linux.org> Mime-Version: 1.0 Content-Disposition: inline Subject: [uml-devel] [PATCH] UML - Add a .note.SuSE section 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 Sender: user-mode-linux-devel-bounces@lists.sourceforge.net Errors-To: user-mode-linux-devel-bounces@lists.sourceforge.net To: Andrew Morton , stable@kernel.org Cc: Alberto Pires de Oliveira Neto , giedrius@su.lt, LKML , uml-devel [ This is both 2.6.24 and -stable material ] SuSE seems to require that binaries have a .note.SuSE section. Without it, UML segfaults if any parameters are passed on the command line. Signed-off-by: Jeff Dike -- arch/um/kernel/dyn.lds.S | 1 + 1 file changed, 1 insertion(+) Index: linux-2.6.22/arch/um/kernel/dyn.lds.S =================================================================== --- linux-2.6.22.orig/arch/um/kernel/dyn.lds.S 2007-08-15 10:39:39.000000000 -0400 +++ linux-2.6.22/arch/um/kernel/dyn.lds.S 2007-08-15 12:07:10.000000000 -0400 @@ -10,6 +10,7 @@ SECTIONS PROVIDE (__executable_start = START); . = START + SIZEOF_HEADERS; .interp : { *(.interp) } + .note.SuSE : { *(.note.SuSE) } __binary_start = .; . = ALIGN(4096); /* Init code and data */ _text = .; ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933736AbXHPQ0k (ORCPT ); Thu, 16 Aug 2007 12:26:40 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1764869AbXHPQ0c (ORCPT ); Thu, 16 Aug 2007 12:26:32 -0400 Received: from saraswathi.solana.com ([198.99.130.12]:51197 "EHLO saraswathi.solana.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1764833AbXHPQ0b (ORCPT ); Thu, 16 Aug 2007 12:26:31 -0400 Date: Thu, 16 Aug 2007 12:24:28 -0400 From: Jeff Dike To: Andrew Morton , stable@kernel.org Cc: LKML , uml-devel , Alberto Pires de Oliveira Neto , giedrius@su.lt Subject: [PATCH] UML - Add a .note.SuSE section Message-ID: <20070816162428.GA8128@c2.user-mode-linux.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org [ This is both 2.6.24 and -stable material ] SuSE seems to require that binaries have a .note.SuSE section. Without it, UML segfaults if any parameters are passed on the command line. Signed-off-by: Jeff Dike -- arch/um/kernel/dyn.lds.S | 1 + 1 file changed, 1 insertion(+) Index: linux-2.6.22/arch/um/kernel/dyn.lds.S =================================================================== --- linux-2.6.22.orig/arch/um/kernel/dyn.lds.S 2007-08-15 10:39:39.000000000 -0400 +++ linux-2.6.22/arch/um/kernel/dyn.lds.S 2007-08-15 12:07:10.000000000 -0400 @@ -10,6 +10,7 @@ SECTIONS PROVIDE (__executable_start = START); . = START + SIZEOF_HEADERS; .interp : { *(.interp) } + .note.SuSE : { *(.note.SuSE) } __binary_start = .; . = ALIGN(4096); /* Init code and data */ _text = .;