Date: Thu, 11 Feb 1999 21:46:29 +0000 (GMT) From: Terry Lambert <tlambert@primenet.com> To: dillon@apollo.backplane.com (Matthew Dillon) Cc: peter.jeremy@auss2.alcatel.com.au, tlambert@primenet.com, hackers@FreeBSD.ORG Subject: Re: portability of shm, mmap, pipes and socket IPC Message-ID: <199902112146.OAA14022@usr06.primenet.com> In-Reply-To: <199902110701.XAA88892@apollo.backplane.com> from "Matthew Dillon" at Feb 10, 99 11:01:48 pm
next in thread | previous in thread | raw e-mail | index | archive | help
> :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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199902112146.OAA14022>