From owner-freebsd-current Mon Feb 9 11:56:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA12332 for current-outgoing; Mon, 9 Feb 1998 11:56:14 -0800 (PST) (envelope-from owner-freebsd-current@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 LAA12292 for ; Mon, 9 Feb 1998 11:56:05 -0800 (PST) (envelope-from tlambert@usr09.primenet.com) Received: (from daemon@localhost) by smtp03.primenet.com (8.8.8/8.8.8) id MAA14556; Mon, 9 Feb 1998 12:56:03 -0700 (MST) Received: from usr09.primenet.com(206.165.6.209) via SMTP by smtp03.primenet.com, id smtpd014529; Mon Feb 9 12:56:02 1998 Received: (from tlambert@localhost) by usr09.primenet.com (8.8.5/8.8.5) id MAA29539; Mon, 9 Feb 1998 12:55:59 -0700 (MST) From: Terry Lambert Message-Id: <199802091955.MAA29539@usr09.primenet.com> Subject: Re: Heads up: static -ification To: eivind@yes.no (Eivind Eklund) Date: Mon, 9 Feb 1998 19:55:59 +0000 (GMT) Cc: current@FreeBSD.ORG In-Reply-To: <19980209064733.56080@follo.net> from "Eivind Eklund" at Feb 9, 98 06:47:33 am 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-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I'm just about to commit a change that staticize close to everything that > can be staticized and doesn't look unreasonable to staticize (almost 400 > variables and functions). > > If anybody get problems with undefined symbols in some way, then please > yell at me. > > GENERIC and LINT compiles and links as usual. Remember that functions and variables are exported interfaces in many cases. This includes user space uses for "ps", "w", "netstat", and so on, as well as kernel space uses. For a potential kernel environment, you should be careful to not disallow dynamic replacement of kernel pieces using "generic" loadable modules (ie: if something is a function pointer, it should not be static'ed, unless there is an encapsulation function that can be used to modify its value, and then the encapsulation function should not be static). 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 current" in the body of the message