Date: Thu, 29 Dec 1994 21:40:03 -0800 From: David Greenman <davidg@Root.COM> To: John Beukema <jbeukema@HK.Super.NET> Cc: FreeBSD-hackers <freebsd-hackers@freefall.cdrom.com>, FreeBSD-questions <FreeBSD-questions@freefall.cdrom.com> Subject: Re: SYSV MSG IPC SEM bug fixed Message-ID: <199412300540.VAA04547@corbin.Root.COM> In-Reply-To: Your message of "Fri, 30 Dec 94 13:21:22 %2B0800." <Pine.SUN.3.91.941230130743.3992A-100000@is1.hk.super.net>
next in thread | previous in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199412300540.VAA04547>