freebsd-dev/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
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
compat
conf Eliminate the use of commons in the kernel and modules, 2002-01-10 03:52:01 +00:00
contrib
crypto
ddb
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
gnu
i4b
i386 Fix typo in function name. 2002-01-10 03:26:46 +00:00
ia64
isa
isofs/cd9660
kern Change dounmount() to return EBUSY in the non-MNT_FORCE case if we 2002-01-10 01:59:30 +00:00
libkern
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
netatm
netgraph
netinet
netinet6
netipx
netkey
netnatm
netncp
netns
netsmb
nfs
nfsclient Terminate requests in nfs_sigintr() if the filesystem is in the 2002-01-10 02:15:35 +00:00
nfsserver
pc98
pccard
pci
posix4
powerpc
rpc
security/lomac
sparc64
svr4
sys Add getcontext, setcontext, makecontext, and swapcontext prototypes 2002-01-10 02:44:30 +00:00
tools
ufs
vm
Makefile