Go to file
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
bin Make sure that numerical signals and pids are in range for their types. 2009-10-01 09:24:38 +00:00
common Wipe out the last vestiges of POOL_INIT with one swift stroke. In 2009-09-13 18:45:10 +00:00
compat "regenerate" this based on the non-compat version updating. 2009-09-11 22:36:39 +00:00
crypto Remove -I line for no longer extant directory. The OpenSSL libraries 2009-09-23 04:02:28 +00:00
dist Fix pcap_lookupnet(): reset ifr before SIOCGIFNETMASK. Without it we get 2009-09-29 19:00:45 +00:00
distrib First part of secmodel cleanup and other misc. changes: 2009-10-02 18:50:12 +00:00
doc acpiwmi(4): Add a driver for the ACPI WMI Mapper interface. 2009-10-02 16:57:22 +00:00
etc don't create xkb/compiled as a directory any more. 2009-10-02 00:00:59 +00:00
external mdnsd enhancements and fixes: 2009-10-01 16:36:20 +00:00
games Disable writing scores when built for /rescue. PR 42009 2009-09-08 13:38:01 +00:00
gnu If TARGET_FLOAT_FORMAT is not IEEE_FLOAT_FORMAT (i.e. we have no NaNs), 2009-10-01 20:07:09 +00:00
include Introduce allocaddrinfo(3) to make writing getaddrinfo() nss plugins easier. 2009-10-02 02:45:28 +00:00
lib * allow callers to store a private data pointer behind the ukfs handle 2009-10-02 09:32:01 +00:00
libexec ld.elf_so grew more PLABELS with dlinfo so bump HPPA_PLABEL_PRE. 2009-09-25 17:49:56 +00:00
regress Add a note saying that new tests should use ATF. 2009-09-14 17:15:32 +00:00
rescue kill ldd_aout. it didn't work anyway...not since i don't know when. 2009-08-22 06:52:15 +00:00
sbin First part of secmodel cleanup and other misc. changes: 2009-10-02 18:50:12 +00:00
share First part of secmodel cleanup and other misc. changes: 2009-10-02 18:50:12 +00:00
sys First part of secmodel cleanup and other misc. changes: 2009-10-02 18:50:12 +00:00
tests Add regression test to verify that linksets work correctly with rump. 2009-09-24 21:36:42 +00:00
tools split all the password and group translation functions into individual 2009-10-02 18:03:19 +00:00
usr.bin change initialization from non const of regular variables to c99 instead of 2009-10-02 18:17:16 +00:00
usr.sbin - add newer VIA C7 core and VIA Nano. 2009-10-02 13:54:01 +00:00
x11 add -n to gzip invocation 2009-03-31 21:12:51 +00:00
build.sh Replace try_set_TOOLDIR with a new function, print_tooldir_make, 2009-09-27 22:02:41 +00:00
BUILDING * Use a more robust method of creating the top level object directory. 2009-09-27 18:08:24 +00:00
Makefile build & install librumpdev_netsmb and librumpfs_smbfs components 2009-09-04 17:21:33 +00:00
Makefile.inc don't set KERNSRCDIR here; pull in <bsd.kernobj.mk> if you need it 2002-04-10 14:53:43 +00:00
UPDATING add a note about accidental compiled/xkb symlinks appearing 2009-10-02 03:13:23 +00:00