[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SYSV MSG IPC SEM bug fixed
- To: John Beukema <jbeukema@xxxxxxxxxxxx>
- Subject: Re: SYSV MSG IPC SEM bug fixed
- From: David Greenman <davidg@xxxxxxxx>
- Date: Thu, 29 Dec 1994 21:40:03 -0800
- Cc: FreeBSD-hackers <freebsd-hackers@xxxxxxxxxxxxxxxxxx>, FreeBSD-questions <FreeBSD-questions@xxxxxxxxxxxxxxxxxx>
- In-reply-to: Your message of "Fri, 30 Dec 94 13:21:22 +0800." <Pine.SUN.3.91.941230130743.3992A-100000@xxxxxxxxxxxxxxxx>
- Reply-to: davidg@xxxxxxxx
- Sender: questions-owner@xxxxxxxxxxx
>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