From owner-freebsd-hackers Thu Dec 29 21:39:08 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id VAA12735 for hackers-outgoing; Thu, 29 Dec 1994 21:39:08 -0800 Received: from Root.COM (implode.Root.COM [198.145.90.1]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id VAA12729; Thu, 29 Dec 1994 21:39:01 -0800 Received: from corbin.Root.COM (corbin.Root.COM [198.145.90.18]) by Root.COM (8.6.8/8.6.5) with ESMTP id VAA06259; Thu, 29 Dec 1994 21:38:41 -0800 Received: from localhost (localhost [127.0.0.1]) by corbin.Root.COM (8.6.9/8.6.5) with SMTP id VAA04547; Thu, 29 Dec 1994 21:40:04 -0800 Message-Id: <199412300540.VAA04547@corbin.Root.COM> X-Authentication-Warning: corbin.Root.COM: Host localhost didn't use HELO protocol To: John Beukema cc: FreeBSD-hackers , FreeBSD-questions Subject: Re: SYSV MSG IPC SEM bug fixed In-reply-to: Your message of "Fri, 30 Dec 94 13:21:22 +0800." From: David Greenman Reply-To: davidg@Root.COM Date: Thu, 29 Dec 1994 21:40:03 -0800 Sender: hackers-owner@freebsd.org Precedence: bulk >I finally tracked down the bug causing ipc_perm, messages and semaphores >not to work properly. > >In /usr/include/sys/ipc.h >After >#define IPC_R 0400 > >#define IPC_M 10000 (decimal) should be > ^^ >#define IPC_M 010000 (octal) > ^^ >This caused (mode & IPC_M) to always return true and >msg_perm.mode was never evaluated. > >As changed, it works fine. Thanks, I just committed the change to CVS. -DG