From owner-freebsd-questions@FreeBSD.ORG Sat Jan 1 21:37:07 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5088110656AA for ; Sat, 1 Jan 2011 21:37:07 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [IPv6:2607:f678:1010::34]) by mx1.freebsd.org (Postfix) with ESMTP id 0F1C88FC14 for ; Sat, 1 Jan 2011 21:37:07 +0000 (UTC) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id p01Lajmb042486 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 1 Jan 2011 13:36:45 -0800 (PST) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id p01LajIH042485; Sat, 1 Jan 2011 13:36:45 -0800 (PST) Received: from fbsd61 by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA06589; Sat, 1 Jan 11 13:32:33 PST Date: Sat, 01 Jan 2011 13:32:26 -0800 From: perryh@pluto.rain.com To: freebsd@edvax.de, bruce@cran.org.uk Message-Id: <4d1f9d6a.0Y9F5EG3I94PNVKJ%perryh@pluto.rain.com> References: <20110101183822.GB66527@libertas.local.camdensoftware.com> <20110101195330.41ca6a26.freebsd@edvax.de> <20110101192311.GE66527@libertas.local.camdensoftware.com> <20110101204401.62602973.freebsd@edvax.de> <20110101200011.00005459@unknown> In-Reply-To: <20110101200011.00005459@unknown> User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: sterling@camdensoftware.com, freebsd-questions@freebsd.org Subject: Re: csup and build question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jan 2011 21:37:07 -0000 Bruce Cran wrote: > On Sat, 1 Jan 2011 20:44:01 +0100 > Polytropon wrote: > > If programs or other components of the world do have to > > be in sync with kernel or system files (sys/*.h), then > > I conclude that world also has to be compiled. In this > > regards, it means a change of the kernel, and if the > > kernel did change, kernel and world are out of sync, > > which implies that both have to be compiled. > The ABI of the kernel sometimes changes, in which case despite > there being no changes in world it still needs to be rebuilt > against the newer header files. For example, recently: > > 20101228: > The TCP stack has been modified to allow Khelp modules to > interact with it via helper hook points and store per-connection > data in the TCP control block. Bump __FreeBSD_version to 900029. > User space tools that rely on the size of struct tcpcb in tcp_var.h > (e.g. sockstat) need to be recompiled. IIUC, things like that are supposed to happen only within -CURRENT, not within a -STABLE or security branch. I would surmise that, if a csup yielded changes only in /usr/src/sys and none of those changes touched a .h file, it should not be necessary to rebuild world.