From owner-freebsd-current Fri May 29 20:05:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA03146 for freebsd-current-outgoing; Fri, 29 May 1998 20:05:07 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA03124 for ; Fri, 29 May 1998 20:05:04 -0700 (PDT) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.8.8/8.8.8) id XAA09419; Fri, 29 May 1998 23:04:54 -0400 (EDT) (envelope-from wollman) Date: Fri, 29 May 1998 23:04:54 -0400 (EDT) From: Garrett Wollman Message-Id: <199805300304.XAA09419@khavrinen.lcs.mit.edu> To: Mike Smith Cc: current@FreeBSD.ORG Subject: Re: Fix for undefined "__error" and discussion of shared object versioning In-Reply-To: <199805292157.OAA01107@dingo.cdrom.com> References: <199805292122.OAA15162@usr04.primenet.com> <199805292157.OAA01107@dingo.cdrom.com> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG < said: > Fix the (broken) code in the kernel that depends on zero terminators in > "magic" locations. Um, no. It's not broken. The API is very clear: You Shall Zero The Structure First. There is a very good reason for this -- the routing code doesn't know a damn thing about where the holes are in fifteen random address families' sockaddrs are, and shouldn't need to. Otherwise, comparison of two sockaddrs would require an outcall to a family-specific function -- and all of my researcher friends would laugh at me and tell me what an idiot the implementor of that idea was. -GAWollman -- Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the same wollman@lcs.mit.edu | O Siem / The fires of freedom Opinions not those of| Dance in the burning flame MIT, LCS, CRS, or NSA| - Susan Aglukark and Chad Irschick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message