From owner-cvs-all Sun Jan 31 02:37:00 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA08397 for cvs-all-outgoing; Sun, 31 Jan 1999 02:37:00 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.40.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA08390; Sun, 31 Jan 1999 02:36:53 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.9.1/8.8.5) with ESMTP id LAA13697; Sun, 31 Jan 1999 11:34:44 +0100 (CET) To: Bruce Evans cc: newton@atdot.dotat.org, cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, newton@FreeBSD.ORG Subject: Re: cvs commit: src/sys/kern sys_socket.c kern_exit.c kern_resource.c In-reply-to: Your message of "Sun, 31 Jan 1999 21:00:23 +1100." <199901311000.VAA04835@godzilla.zeta.org.au> Date: Sun, 31 Jan 1999 11:34:43 +0100 Message-ID: <13695.917778883@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk In message <199901311000.VAA04835@godzilla.zeta.org.au>, Bruce Evans writes: >> > > Added comments about non-staticization so it doesn't get un-done next >> > > time someone goes on a staticization binge. >> > ... >> > This is bogus. Candidates for staticization are determined by inspecting >> > all system objects and sources for (lack of) cross references using >> > tools/kernxref and/or grep. >> >>KLDs included? > >Not currently. It supports standard LKMs (ones which were installed in >/lkm), but has rotted. This shouldn't matter because all modules should >be statically compilable and statically compiled into LINT. It can't >support nonstandard modules of course, since a weird module could want >to reference all functions and objects in the kernel. I'm still somewhat in favour of specifically marking non-interfaces with static and interfaces with /* INTERFACE */ or something similar. There are non-static functions in the kernel which should not be used as interfaces. -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." FreeBSD -- It will take a long time before progress goes too far! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message