NetBSD/sys/modules
elad 53ca19a3b3 First part of secmodel cleanup and other misc. changes:
- Separate the suser part of the bsd44 secmodel into its own secmodel
    and directory, pending even more cleanups. For revision history
    purposes, the original location of the files was

        src/sys/secmodel/bsd44/secmodel_bsd44_suser.c
        src/sys/secmodel/bsd44/suser.h

  - Add a man-page for secmodel_suser(9) and update the one for
    secmodel_bsd44(9).

  - Add a "secmodel" module class and use it. Userland program and
    documentation updated.

  - Manage secmodel count (nsecmodels) through the module framework.
    This eliminates the need for secmodel_{,de}register() calls in
    secmodel code.

  - Prepare for secmodel modularization by adding relevant module bits.
    The secmodels don't allow auto unload. The bsd44 secmodel depends
    on the suser and securelevel secmodels. The overlay secmodel depends
    on the bsd44 secmodel. As the module class is only cosmetic, and to
    prevent ambiguity, the bsd44 and overlay secmodels are prefixed with
    "secmodel_".

  - Adapt the overlay secmodel to recent changes (mainly vnode scope).

  - Stop using link-sets for the sysctl node(s) creation.

  - Keep sysctl variables under nodes of their relevant secmodels. In
    other words, don't create duplicates for the suser/securelevel
    secmodels under the bsd44 secmodel, as the latter is merely used
    for "grouping".

  - For the suser and securelevel secmodels, "advertise presence" in
    relevant sysctl nodes (sysctl.security.models.{suser,securelevel}).

  - Get rid of the LKM preprocessor stuff.

  - As secmodels are now modules, there's no need for an explicit call
    to secmodel_start(); it's handled by the module framework. That
    said, the module framework was adjusted to properly load secmodels
    early during system startup.

  - Adapt rump to changes: Instead of using empty stubs for securelevel,
    simply use the suser secmodel. Also replace secmodel_start() with a
    call to secmodel_suser_start().

  - 5.99.20.

Testing was done on i386 ("release" build). Spearated module_init()
changes were tested on sparc and sparc64 as well by martin@ (thanks!).

Mailing list reference:

	http://mail-index.netbsd.org/tech-kern/2009/09/25/msg006135.html
2009-10-02 18:50:12 +00:00
..
accf_dataready Rename the accept filter modules to make module name match filter name. 2008-11-20 09:58:45 +00:00
accf_httpready Rename the accept filter modules to make module name match filter name. 2008-11-20 09:58:45 +00:00
adosfs Add of bunch of file system modules. 2008-06-28 16:11:35 +00:00
aio Make POSIX AIO loadable as a module. 2008-11-14 23:33:45 +00:00
azalia Add Makefile for building azalia as a kmod 2008-06-02 11:34:07 +00:00
ccd Add work in support for compiling ccd and cgd drivers as a modules. I forgot 2009-06-05 19:21:02 +00:00
cd9660
cgd Add work in support for compiling ccd and cgd drivers as a modules. I forgot 2009-06-05 19:21:02 +00:00
coda Add of bunch of file system modules. 2008-06-28 16:11:35 +00:00
coda5 Add of bunch of file system modules. 2008-06-28 16:11:35 +00:00
compat Provide compatibility for pre-christos-time_t sysv sysctls. 2009-01-19 19:39:41 +00:00
compat_freebsd Convert more MACHINE tests to MACHINE_ARCH 2009-02-14 13:50:50 +00:00
compat_ibcs2 Convert more MACHINE tests to MACHINE_ARCH 2009-02-14 13:50:50 +00:00
compat_irix s/SYSVIPC/SYSVMSG/, for message queues support. 2008-12-08 12:56:00 +00:00
compat_linux Follow up the removal of linux_support.S for amd64 and i386. 2009-02-24 12:17:51 +00:00
compat_linux32 Convert more MACHINE tests to MACHINE_ARCH 2009-02-14 13:50:50 +00:00
compat_netbsd32 Convert more MACHINE tests to MACHINE_ARCH 2009-02-14 13:50:50 +00:00
compat_ossaudio compat_ossaudio module, so others can depend on it. 2008-11-13 10:05:52 +00:00
compat_sunos Convert more MACHINE tests to MACHINE_ARCH 2009-02-14 13:50:50 +00:00
compat_sunos32 Convert more MACHINE tests to MACHINE_ARCH 2009-02-14 13:50:50 +00:00
compat_svr4 Convert more MACHINE tests to MACHINE_ARCH 2009-02-14 13:50:50 +00:00
coredump Also look for sources in sys/arch/x86/x86/ if MACHINE_ARCH is i386 or 2009-03-31 18:41:40 +00:00
dm Add stubs for mirror target, too. This target does nothing for now, but lvm 2009-01-02 11:03:24 +00:00
drm Fix modules build after update of drm(4). 2009-06-22 13:13:08 +00:00
efs Add of bunch of file system modules. 2008-06-28 16:11:35 +00:00
example Add comment about adding module dependiences to MODULE macro. 2009-01-14 00:53:44 +00:00
exec_aout typo 2008-11-20 11:01:54 +00:00
exec_ecoff Make the emulations, exec formats, coredump, NFS, and the NFS server 2008-11-19 18:35:57 +00:00
exec_elf32 Not all platforms can do PaX stuff. The list was derived in private 2009-09-17 23:07:12 +00:00
exec_elf64 Not all platforms can do PaX stuff. The list was derived in private 2009-09-17 23:07:12 +00:00
exec_script Make the emulations, exec formats, coredump, NFS, and the NFS server 2008-11-19 18:35:57 +00:00
ext2fs Add of bunch of file system modules. 2008-06-28 16:11:35 +00:00
fdesc Add of bunch of file system modules. 2008-06-28 16:11:35 +00:00
ffs PR kern/26878 FFSv2 + softdep = livelock (no free ram) 2009-02-22 20:28:05 +00:00
filecore Rename some modules to match their vfs name. 2008-11-24 11:26:49 +00:00
fss Build modular fss driver. 2008-09-23 07:56:59 +00:00
hfs Add of bunch of file system modules. 2008-06-28 16:11:35 +00:00
i915drm add a couple of missing files. pointed out by tron. 2009-06-22 15:34:53 +00:00
kernfs Add of bunch of file system modules. 2008-06-28 16:11:35 +00:00
ksem Add missing ksem makefile. 2008-11-13 10:03:22 +00:00
layerfs PR kern/40110: null, overlay and umap modules loading -> panic (layerfs symbols not there) 2008-12-05 13:05:37 +00:00
lfs +lfs_itimes.c 2008-11-16 15:39:19 +00:00
mfs Add of bunch of file system modules. 2008-06-28 16:11:35 +00:00
miniroot Fail to load if there is no embedded file system image. 2008-11-16 15:47:35 +00:00
mqueue Make POSIX message queues a kernel module. 2009-07-19 02:50:44 +00:00
msdos Rename some modules to match their vfs name. 2008-11-24 11:26:49 +00:00
ndis ndis module. Deliberately not enabled as part of the build. 2008-11-13 12:11:54 +00:00
nfs Make the emulations, exec formats, coredump, NFS, and the NFS server 2008-11-19 18:35:57 +00:00
nfsserver Make the emulations, exec formats, coredump, NFS, and the NFS server 2008-11-19 18:35:57 +00:00
nilfs Import read-only part of the NiLFS (v2) implementation for NetBSD. It has been 2009-07-18 16:31:41 +00:00
ntfs Add of bunch of file system modules. 2008-06-28 16:11:35 +00:00
null Rename some modules to match their vfs name. 2008-11-24 11:26:49 +00:00
overlay Add of bunch of file system modules. 2008-06-28 16:11:35 +00:00
portal Add of bunch of file system modules. 2008-06-28 16:11:35 +00:00
ppp_bsdcomp Build and install the PPP compressors modules deflate and bsdcomp. 2008-11-25 02:42:35 +00:00
ppp_deflate Build and install the PPP compressors modules deflate and bsdcomp. 2008-11-25 02:42:35 +00:00
procfs Add of bunch of file system modules. 2008-06-28 16:11:35 +00:00
pseye kmod reachover glue 2009-02-03 13:32:30 +00:00
ptyfs Add of bunch of file system modules. 2008-06-28 16:11:35 +00:00
puffs Add Makefile for building puffs kmod. 2008-05-19 17:08:57 +00:00
putter Makefile for building putter kmod 2008-05-19 17:00:13 +00:00
radeondrm add a couple of missing files. pointed out by tron. 2009-06-22 15:34:53 +00:00
raidframe Add raidframe module dir. Rf needs some fixes before it can be used as a 2009-08-10 07:19:11 +00:00
secmodel_bsd44 First part of secmodel cleanup and other misc. changes: 2009-10-02 18:50:12 +00:00
secmodel_overlay First part of secmodel cleanup and other misc. changes: 2009-10-02 18:50:12 +00:00
securelevel First part of secmodel cleanup and other misc. changes: 2009-10-02 18:50:12 +00:00
smbfs Add of bunch of file system modules. 2008-06-28 16:11:35 +00:00
solaris Enable taskq which was disabled during testing. 2009-08-10 22:55:08 +00:00
suser First part of secmodel cleanup and other misc. changes: 2009-10-02 18:50:12 +00:00
sysvbfs sysvbfs module 2009-01-05 15:36:51 +00:00
tmpfs Add of bunch of file system modules. 2008-06-28 16:11:35 +00:00
tprof add makefiles for tprof drivers. 2009-03-10 14:49:49 +00:00
tprof_pmi add makefiles for tprof drivers. 2009-03-10 14:49:49 +00:00
uaudio Make uaudio compilable as a kmod. 2008-06-28 09:14:56 +00:00
udf Add of bunch of file system modules. 2008-06-28 16:11:35 +00:00
umap Rename some modules to match their vfs name. 2008-11-24 11:26:49 +00:00
union Add of bunch of file system modules. 2008-06-28 16:11:35 +00:00
unionfs Add of bunch of file system modules. 2008-06-28 16:11:35 +00:00
uvideo kmod support for uvideo(4) 2008-09-18 21:53:32 +00:00
viadrm Add viadrm kmod 2009-09-27 12:44:05 +00:00
vnd Add support for the MODULAR framework to the vnd driver. Enable building of 2009-02-05 17:32:10 +00:00
zfs Remove strange looking -I entries. 2009-08-10 22:38:59 +00:00
Makefile First part of secmodel cleanup and other misc. changes: 2009-10-02 18:50:12 +00:00
Makefile.assym
Makefile.inc
README Add a note: 2008-11-13 10:06:46 +00:00

README

$NetBSD: README,v 1.1 2008/11/13 10:06:46 ad Exp $

Do not automatically install modules that would fundamentally alter system
behaviour or create a security hole, as the system may automatically load
modules.