Date: Fri, 30 Dec 1994 13:21:22 +0800 (HKT) From: John Beukema <jbeukema@HK.Super.NET> To: FreeBSD-hackers <freebsd-hackers@freefall.cdrom.com> Cc: FreeBSD-questions <FreeBSD-questions@freefall.cdrom.com> Subject: SYSV MSG IPC SEM bug fixed Message-ID: <Pine.SUN.3.91.941230130743.3992A-100000@is1.hk.super.net>
next 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. jbeukema
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SUN.3.91.941230130743.3992A-100000>