Subject: Re: Can't apply SA2003-008 security patch
To: David Maxwell <david@vex.net>
From: Miroslav Urbanek <m.urbanek@sh.cvut.cz>
List: netbsd-users
Date: 03/30/2003 20:38:40
On Fri, Mar 28, 2003 at 01:48:23PM -0500, David Maxwell wrote:
> On Fri, Mar 28, 2003 at 03:23:53AM +0100, Miroslav Urbanek wrote:
> > 
> > Hmmm, libc.so has some undefined symbols. The compilation ended with no error
> > messages but there are run-time problems.
> > 
> > There is one more file to update:
> > 
> > # cvs update -d -P -r netbsd-1-6 lib/libc/include/namespace.h
> 
> That file has not changed (on the 1-6 branch) since the NetBSD-1.6 release.
> Updating it from a 1.6 source set as you show could not have changed the
> file at all.
> 

Really? So what is this:

etc:/usr/src> cvs diff -u -rnetbsd-1-6-RELEASE -rnetbsd-1-6 lib/libc/include/namespace.h
Index: lib/libc/include/namespace.h
===================================================================
RCS file: /cvsroot/src/lib/libc/include/namespace.h,v
retrieving revision 1.71
retrieving revision 1.71.2.1
diff -u -r1.71 -r1.71.2.1
--- lib/libc/include/namespace.h        2002/04/17 16:23:08     1.71
+++ lib/libc/include/namespace.h        2003/01/06 04:50:00     1.71.2.1
@@ -1,4 +1,4 @@
-/*     $NetBSD: namespace.h,v 1.71 2002/04/17 16:23:08 kleink Exp $    */
+/*     $NetBSD: namespace.h,v 1.71.2.1 2003/01/06 04:50:00 jmc Exp $   */
 
 /*-
  * Copyright (c) 1997-2002 The NetBSD Foundation, Inc.
@@ -381,6 +381,7 @@
 #define rpc_broadcast          _rpc_broadcast
 #define rpc_broadcast_exp      _rpc_broadcast_exp
 #define rpc_call               _rpc_call
+#define rpc_control            _rpc_control
 #define rpc_reg                        _rpc_reg
 #define rpcb_getmaps           _rpcb_getmaps
 #define rpcb_gettime           _rpcb_gettime
etc:/usr/src>

> > After recompiling & installing libc, everything seems all right now.
> > Those "accurate" security advisories are really beautiful ;-)
> 
> You're welcome.
> 
> -- 
> David Maxwell, david@vex.net|david@maxwell.net -->
> Any sufficiently advanced Common Sense will seem like magic... 
> 					      - me