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
accf_httpready
adosfs
aio
azalia
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
coda5
compat
compat_freebsd
compat_ibcs2
compat_irix
compat_linux Follow up the removal of linux_support.S for amd64 and i386. 2009-02-24 12:17:51 +00:00
compat_linux32
compat_netbsd32
compat_ossaudio
compat_sunos
compat_sunos32
compat_svr4
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
drm Fix modules build after update of drm(4). 2009-06-22 13:13:08 +00:00
efs
example
exec_aout
exec_ecoff
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
ext2fs
fdesc
ffs PR kern/26878 FFSv2 + softdep = livelock (no free ram) 2009-02-22 20:28:05 +00:00
filecore
fss
hfs
i915drm add a couple of missing files. pointed out by tron. 2009-06-22 15:34:53 +00:00
kernfs
ksem
layerfs
lfs
mfs
miniroot
mqueue Make POSIX message queues a kernel module. 2009-07-19 02:50:44 +00:00
msdos
ndis
nfs
nfsserver
nilfs Import read-only part of the NiLFS (v2) implementation for NetBSD. It has been 2009-07-18 16:31:41 +00:00
ntfs
null
overlay
portal
ppp_bsdcomp
ppp_deflate
procfs
pseye
ptyfs
puffs
putter
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
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
tmpfs
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
udf
umap
union
unionfs
uvideo
viadrm Add viadrm kmod 2009-09-27 12:44:05 +00:00
vnd
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

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.