From owner-freebsd-hackers Sat May 18 0:59:28 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from kayak.xcllnt.net (209-128-86-226.bayarea.net [209.128.86.226]) by hub.freebsd.org (Postfix) with ESMTP id 5522137B61C; Sat, 18 May 2002 00:58:27 -0700 (PDT) Received: from dhcp01.pn.xcllnt.net (dhcp01.pn.xcllnt.net [192.168.4.201]) by kayak.xcllnt.net (8.11.6/8.11.4) with ESMTP id g4I7wQJ20889; Sat, 18 May 2002 00:58:26 -0700 (PDT) (envelope-from marcel@kayak.pn.xcllnt.net) Received: from dhcp01.pn.xcllnt.net (localhost [127.0.0.1]) by dhcp01.pn.xcllnt.net (8.12.3/8.12.3) with ESMTP id g4I7wm7P002036; Sat, 18 May 2002 00:58:48 -0700 (PDT) (envelope-from marcel@dhcp01.pn.xcllnt.net) Received: (from marcel@localhost) by dhcp01.pn.xcllnt.net (8.12.3/8.12.3/Submit) id g4I7wlkO002035; Sat, 18 May 2002 00:58:47 -0700 (PDT) Date: Sat, 18 May 2002 00:58:47 -0700 From: Marcel Moolenaar To: Reinier Bezuidenhout Cc: freebsd-hackers@FreeBSD.ORG, freebsd-emulation@FreeBSD.ORG Subject: Re: Patches for linprocfs and linux emulation - fix 'ls /proc' bug and ipc's Message-ID: <20020518075847.GA1700@dhcp01.pn.xcllnt.net> References: <20020517153239.98228.qmail@web11104.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020517153239.98228.qmail@web11104.mail.yahoo.com> User-Agent: Mutt/1.3.99i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, May 17, 2002 at 08:32:39AM -0700, Reinier Bezuidenhout wrote: > > 1) linux_ipc.c has a pice of code commented that we can actually use now. I think the other pieces were added later and this didn't get changed. The patch is valid for RELENG_4 and HEAD. The current code will always remove only the first enry from a msg queue even if msgtyp was specified causing incorrect behaviour. It's a one line change in linux_ipc.c in src/sys/compat/linux Committed (-current). Strangely enough, there doesn't seem to be any reason I could see why we hardcoded the message type to 0. des@freebsd.org is the maintainer of linprocfs. You may want to ping him more directly. PS: please break lines around 70 characters or so. It makes your mail so much better to read. -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message