From owner-freebsd-hackers Thu Feb 11 13:47:14 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA22618 for freebsd-hackers-outgoing; Thu, 11 Feb 1999 13:47:14 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from smtp03.primenet.com (smtp03.primenet.com [206.165.6.133]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA22595 for ; Thu, 11 Feb 1999 13:47:11 -0800 (PST) (envelope-from tlambert@usr06.primenet.com) Received: (from daemon@localhost) by smtp03.primenet.com (8.8.8/8.8.8) id OAA22116; Thu, 11 Feb 1999 14:47:08 -0700 (MST) Received: from usr06.primenet.com(206.165.6.206) via SMTP by smtp03.primenet.com, id smtpd021841; Thu Feb 11 14:46:58 1999 Received: (from tlambert@localhost) by usr06.primenet.com (8.8.5/8.8.5) id OAA14022; Thu, 11 Feb 1999 14:46:29 -0700 (MST) From: Terry Lambert Message-Id: <199902112146.OAA14022@usr06.primenet.com> Subject: Re: portability of shm, mmap, pipes and socket IPC To: dillon@apollo.backplane.com (Matthew Dillon) Date: Thu, 11 Feb 1999 21:46:29 +0000 (GMT) Cc: peter.jeremy@auss2.alcatel.com.au, tlambert@primenet.com, hackers@FreeBSD.ORG In-Reply-To: <199902110701.XAA88892@apollo.backplane.com> from "Matthew Dillon" at Feb 10, 99 11:01:48 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > :EIDRM was added (I believe by sos) sometime after 2.2.6. It's only > :used by sysv_msg.c and sysv_sem.c - and from what I can see, the code > :is all protected by #ifdef EIDRM's, so the code should work correctly, > :whether or not EIDRM is defined. Someone with commit priv's just > :needs to remove the comment saying it doesn't exist. > > I added an #error inside the #ifdef EIDRM and the compile bombed, > so EIDRM is definitely defined from the point of view of the module. It is. This is basically a complaint on the order of the FreeBSD version identification code in the if_de.c driver that prevents you from cross compiling older/newer kernels on newer/older systems. I suppose I should point out the __NetBSD__ tests in various places also count as needless bloat (in if_de.c, but in lots of other places, too). Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message