From owner-freebsd-emulation Sat Jul 20 14:44:59 2002 Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1D08F37B400 for ; Sat, 20 Jul 2002 14:44:58 -0700 (PDT) Received: from saturn.home.ben.com (12-224-234-131.client.attbi.com [12.224.234.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7538143E58 for ; Sat, 20 Jul 2002 14:44:57 -0700 (PDT) (envelope-from ben@ben.com) Received: from pulsar.home.ben.com (pulsar.home.ben.com [172.17.42.9]) by saturn.home.ben.com (8.12.3/8.12.3) with ESMTP id g6KLhsZu084385 for ; Sat, 20 Jul 2002 14:44:57 -0700 (PDT) Received: (from bjj@localhost) by pulsar.home.ben.com (8.11.6/8.6.12) id g6KLhqH02998 for freebsd-emulation@freebsd.org; Sat, 20 Jul 2002 14:43:52 -0700 (PDT) Date: Sat, 20 Jul 2002 14:43:52 -0700 From: Ben Jackson To: freebsd-emulation@freebsd.org Subject: anyone working on IPC_64 for compat/linux? Message-ID: <20020720214350.GA2991@pulsar.home.ben.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.27i Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I'm trying to use the Qtopia dev env (for Sharp Zaurus) under FreeBSD. The qpe app comes up under qvfb fine, but I can't launch things because they use SYSV SHM segs to attach and I get: linux: 'ipc' typ=258 not implemented because the apps are compiled using the IPC_64 interfaces. In a nutshell you get the same shmctl syscall but the cmd has 0x100 set to indicate that the caller expects a bunch of 64 bit data structures instead of the old ones. Looks like linux_ipc.c just needs to recognize that flag and have 64 bit cases in all the bsd_to_linux_ipc_* and linux_to_bsd_ipc_* functions. Has anyone done this or does anyone see anything I'm missing? If not I'll do it myself... [not on the list, pls cc me, thx] -- Ben Jackson http://www.ben.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message