From owner-freebsd-arch Wed May 8 1:18:26 2002 Delivered-To: freebsd-arch@freebsd.org Received: from phoenix.infradead.org (imladris.infradead.org [194.205.184.45]) by hub.freebsd.org (Postfix) with ESMTP id BE08037B404 for ; Wed, 8 May 2002 01:18:20 -0700 (PDT) Received: from hch by phoenix.infradead.org with local (Exim 3.35 #5) id 175MdE-0003Ov-00; Wed, 08 May 2002 09:17:04 +0100 Date: Wed, 8 May 2002 09:17:04 +0100 From: Christoph Hellwig To: Peter Wemm Cc: Nathan Hawkins , arch@FreeBSD.ORG Subject: Re: syscall changes to deal with 32->64 changes. Message-ID: <20020508091704.A12628@infradead.org> References: <3CD823E8.2010809@quic.net> <20020508062837.696D738CC@overcee.wemm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020508062837.696D738CC@overcee.wemm.org>; from peter@wemm.org on Tue, May 07, 2002 at 11:28:37PM -0700 Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, May 07, 2002 at 11:28:37PM -0700, Peter Wemm wrote: > syscall. For linux, ELF executables started up in "SVR4 mode" and the > personality syscall changed it to "linux". That's wrong. On Linux ELF binaries start as normal linux processes. Depending on whether binary emulation is enabled and certain hints are found (SCO elfmark branding, different interpreter) they are forced to be foreign personalities. Also if binaries issues syscalls on foreign syscalls vectors (e.g. lcall27 for Solaris/ix86 or lcall7 for the i386 SVR3/SVR4 derivates.). To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message