NetBSD/distrib
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
..
acorn26 Replace references to local and now no-longer-existing termcap files 2009-09-24 21:04:45 +00:00
acorn32 Replace references to local and now no-longer-existing termcap files 2009-09-24 21:04:45 +00:00
alpha 34 different termcap subsets, plus a couple of ports still using 2009-09-20 23:19:50 +00:00
amd64 Update boot.cfg banner/menu to reflect that installation floppies have 2009-09-23 11:17:58 +00:00
amiga 34 different termcap subsets, plus a couple of ports still using 2009-09-20 23:19:50 +00:00
arc 34 different termcap subsets, plus a couple of ports still using 2009-09-20 23:19:50 +00:00
atari 34 different termcap subsets, plus a couple of ports still using 2009-09-20 23:19:50 +00:00
bebox/floppies 34 different termcap subsets, plus a couple of ports still using 2009-09-20 23:19:50 +00:00
cats 34 different termcap subsets, plus a couple of ports still using 2009-09-20 23:19:50 +00:00
cdrom Only generate SHA512 and MD5 checksums for releases. 2009-09-19 07:09:53 +00:00
cobalt 34 different termcap subsets, plus a couple of ports still using 2009-09-20 23:19:50 +00:00
common Exit with 1 so that we stay in single user mode when sysinst exits with 'x'. 2009-09-25 14:09:27 +00:00
dreamcast 34 different termcap subsets, plus a couple of ports still using 2009-09-20 23:19:50 +00:00
evbarm 34 different termcap subsets, plus a couple of ports still using 2009-09-20 23:19:50 +00:00
evbmips 34 different termcap subsets, plus a couple of ports still using 2009-09-20 23:19:50 +00:00
evbppc Replace references to local and now no-longer-existing termcap files 2009-09-24 21:04:45 +00:00
evbsh3/rom 34 different termcap subsets, plus a couple of ports still using 2009-09-20 23:19:50 +00:00
ews4800mips 34 different termcap subsets, plus a couple of ports still using 2009-09-20 23:19:50 +00:00
hp300 Replace references to local and now no-longer-existing termcap files 2009-09-24 21:04:45 +00:00
hp700 Replace references to local and now no-longer-existing termcap files 2009-09-24 21:04:45 +00:00
hpcarm 34 different termcap subsets, plus a couple of ports still using 2009-09-20 23:19:50 +00:00
hpcmips 34 different termcap subsets, plus a couple of ports still using 2009-09-20 23:19:50 +00:00
hpcsh 34 different termcap subsets, plus a couple of ports still using 2009-09-20 23:19:50 +00:00
i386 Give a chance for dhcpcd to work by mounting a memory backed /var/db and 2009-09-30 00:32:08 +00:00
ibmnws Replace references to local and now no-longer-existing termcap files 2009-09-24 21:04:45 +00:00
landisk 34 different termcap subsets, plus a couple of ports still using 2009-09-20 23:19:50 +00:00
mac68k 34 different termcap subsets, plus a couple of ports still using 2009-09-20 23:19:50 +00:00
macppc Replace references to local and now no-longer-existing termcap files 2009-09-24 21:04:45 +00:00
miniroot remove references to disktab.{preinstall,shadow} 2009-09-20 22:44:06 +00:00
mipsco Replace references to local and now no-longer-existing termcap files 2009-09-24 21:04:45 +00:00
mvme68k 34 different termcap subsets, plus a couple of ports still using 2009-09-20 23:19:50 +00:00
mvmeppc
news68k Replace references to local and now no-longer-existing termcap files 2009-09-24 21:04:45 +00:00
newsmips Replace references to local and now no-longer-existing termcap files 2009-09-24 21:04:45 +00:00
notes Build the "MONOLITHIC" kernel configuration by default and include 2009-10-01 11:51:03 +00:00
ofppc Replace references to local and now no-longer-existing termcap files 2009-09-24 21:04:45 +00:00
playstation2 34 different termcap subsets, plus a couple of ports still using 2009-09-20 23:19:50 +00:00
pmax 34 different termcap subsets, plus a couple of ports still using 2009-09-20 23:19:50 +00:00
prep Replace references to local and now no-longer-existing termcap files 2009-09-24 21:04:45 +00:00
rs6000 34 different termcap subsets, plus a couple of ports still using 2009-09-20 23:19:50 +00:00
sandpoint Replace references to local and now no-longer-existing termcap files 2009-09-24 21:04:45 +00:00
sets First part of secmodel cleanup and other misc. changes: 2009-10-02 18:50:12 +00:00
sgimips 34 different termcap subsets, plus a couple of ports still using 2009-09-20 23:19:50 +00:00
shark 34 different termcap subsets, plus a couple of ports still using 2009-09-20 23:19:50 +00:00
sparc 34 different termcap subsets, plus a couple of ports still using 2009-09-20 23:19:50 +00:00
sparc64 34 different termcap subsets, plus a couple of ports still using 2009-09-20 23:19:50 +00:00
sun2 34 different termcap subsets, plus a couple of ports still using 2009-09-20 23:19:50 +00:00
sun3 Replace references to local and now no-longer-existing termcap files 2009-09-24 21:04:45 +00:00
syspkg
utils In get_descr(), initialize dd_descr to an empty string before probing 2009-10-01 10:41:03 +00:00
vax Replace references to local and now no-longer-existing termcap files 2009-09-24 21:04:45 +00:00
x68k termcap.vt was removed. 2009-09-22 02:50:11 +00:00
zaurus 34 different termcap subsets, plus a couple of ports still using 2009-09-20 23:19:50 +00:00
Makefile
Makefile.inc