freebsd-nq/sys
Mike Smith 0b3178a45c Eliminate the use of commons in the kernel and modules,
simplifying the module linking process and eliminating the risks
associated with doubly-defined variables.

Cases where commons were legitimately used (detection of
compiled-in subsystems) have been converted to use sysinits, and
any new code should use this or an equivalent practice as a
matter of course.

Modules can override this behaviour by substituting -fno-common
out of ${CFLAGS} in cases where commons are necessary
(eg. third-party object modules).  Commons will be resolved and
allocated space when the kld is linked as part of the module
build process, so they will not pose a risk to the kernel or
other modules.

Provide a mechanism for controlling the export of symbols from
the module namespace.  The EXPORT_SYMS variable may be set in the
Makefile to NO (export no symbols), a list of symbols to export,
or the name of a file containing a newline-seperated list of
symbols to be exported.  Non-exported symbols are converted to
local symbols.  If EXPORT_SYMS is not set, all global symbols are
currently exported.  This behaviour is expected to change (to
exporting no symbols) once modules have been converted.

Reviewed by:	peter (in principle)
Obtained from:	green (kmod_syms.awk)
2002-01-10 03:52:01 +00:00
..
alpha Use a spare slot in the machine context to identify the context format 2002-01-10 02:36:30 +00:00
amd64 Fix typo in function name. 2002-01-10 03:26:46 +00:00
arm We need machine/{signal,ucontext}.h to build a cross GCC compiler. 2001-12-09 19:39:49 +00:00
boot Increase BSIZEMAX from 8k to 16k, so that we can reliably boot from 2002-01-09 15:46:17 +00:00
cam Define the kern.cam sysctl in the cam layer, rather than multiply in several 2002-01-09 03:39:04 +00:00
coda Staticise the coda vfsop pointer. 2002-01-08 19:33:51 +00:00
compat Gut this header; since physio_proc_init is never called, the code never does 2002-01-08 10:26:44 +00:00
conf Eliminate the use of commons in the kernel and modules, 2002-01-10 03:52:01 +00:00
contrib Import this patch to address user concerns. 2002-01-04 12:32:34 +00:00
crypto fixed the cast128 calculation with a short cipher key length. 2001-11-27 14:11:47 +00:00
ddb Implement a "kill" DDB command which is an interface to psignal() that 2001-11-27 19:56:28 +00:00
dev Implement 2 small helper functions: 2002-01-10 00:56:02 +00:00
fs Add a new sysinit SI_SUB_DEVFS. Devfs hooks into the kernel at SI_ORDER_FIRST, 2002-01-09 04:58:49 +00:00
geom Reduce kernel stack usage of ccdinit() by MAXPATHLEN by using MALLOC(9). 2001-12-30 17:34:19 +00:00
gnu Update to C99, s/__FUNCTION__/__func__/, 2001-12-10 08:09:49 +00:00
i4b Fix some places where the macro L0IFPIUNIT was used instead of the correct 2002-01-02 12:55:04 +00:00
i386 Fix typo in function name. 2002-01-10 03:26:46 +00:00
ia64 Convert a bunch of 1 << PCPU_GET(cpuid) to PCPU_GET(cpumask). 2002-01-05 09:41:37 +00:00
isa Use the new resource_list_print_type() function. 2001-12-21 21:54:56 +00:00
isofs/cd9660 Fix mounting root from a ISO9660 filesystem on a SCSI CDROM. 2001-11-27 03:55:43 +00:00
kern Change dounmount() to return EBUSY in the non-MNT_FORCE case if we 2002-01-10 01:59:30 +00:00
libkern rcsid[]->__FBSDID 2001-11-07 19:55:16 +00:00
modules Remove KMODDEPS, this is not used on -current and should not be left 2002-01-09 21:12:40 +00:00
net - generic Arcnet framework 2002-01-08 20:03:13 +00:00
netatalk Give struct socket structures a ref counting interface similar to 2001-11-17 03:07:11 +00:00
netatm Initialise the intrq_present fields at runtime, not link time. This allows 2002-01-08 10:34:03 +00:00
netgraph Staticise the socket list. 2002-01-08 10:30:34 +00:00
netinet Initialise the intrq_present fields at runtime, not link time. This allows 2002-01-08 10:34:03 +00:00
netinet6 Initialise the intrq_present fields at runtime, not link time. This allows 2002-01-08 10:34:03 +00:00
netipx Initialise the intrq_present fields at runtime, not link time. This allows 2002-01-08 10:34:03 +00:00
netkey Newer SA is prefered for a out-bound packet than old one 2001-12-05 05:40:49 +00:00
netnatm Initialise the intrq_present fields at runtime, not link time. This allows 2002-01-08 10:34:03 +00:00
netncp Update to C99, s/__FUNCTION__/__func__/, 2001-12-10 08:09:49 +00:00
netns Initialise the intrq_present fields at runtime, not link time. This allows 2002-01-08 10:34:03 +00:00
netsmb Spelling fixes. 2001-12-31 19:29:43 +00:00
nfs When the old nfsm_adv() macro was moved to nfsm_adv_xx(), a '>=' 2001-12-31 06:56:31 +00:00
nfsclient Terminate requests in nfs_sigintr() if the filesystem is in the 2002-01-10 02:15:35 +00:00
nfsserver Rename some variables that end up shadowing their namesakes in the NFS client 2002-01-08 19:41:06 +00:00
pc98 Merged from sys/dev/sio/sio.c revisions 1.354 and 1.358. 2002-01-06 09:54:50 +00:00
pccard Avoid doubly defining machdep.pccard 2002-01-08 19:35:27 +00:00
pci Add support for the Intel 82443MX chipset 2001-12-21 01:28:59 +00:00
posix4 KSE Milestone 2 2001-09-12 08:38:13 +00:00
powerpc Modify the critical section API as follows: 2001-12-18 00:27:18 +00:00
rpc
security/lomac s/sonewconn3/sonewconn/ forgotten by the modifier. 2001-12-26 18:31:22 +00:00
sparc64 Add upa.h, which I had previously forgotten, to unbreak the sparc64 2002-01-08 16:25:51 +00:00
svr4
sys Add getcontext, setcontext, makecontext, and swapcontext prototypes 2002-01-10 02:44:30 +00:00
tools Throw the $FreeBSD$s back in, properly escaping them. 2002-01-04 05:27:47 +00:00
ufs Initialise the bioops vector hack at runtime rather than at link time. This 2002-01-08 19:32:18 +00:00
vm Change the preemption code for software interrupt thread schedules and 2002-01-05 08:47:13 +00:00
Makefile