freebsd-skq/sys/i386/conf
Marcel Moolenaar c6dfea0ebd Add sysctl variables for the Linuxulator. These reside under `compat.linux' as
discussed on current.

The following variables are defined (for now):

    osname (defaults to "Linux")
        Allow users to change the name of the OS as returned by uname(2),
        specially added for all those Linux Netscape users and statistics
        maniacs :-) We now have what we all wanted!

    osrelease (defaults to "2.2.5")
        Allow users to change the version of the OS as returned by uname(2).
        Since -current supports glibc2.1 now, change the default to 2.2.5
        (was 2.0.36).

    oss_version (defaults to 198144 [0x030600])
        This one will be used by the OSS_GETVERSION ioctl (PR 12917) which I
        can commit now that we have the MIB. The default version number is the
        lowest version possible with the current 'encoding'.

A note about imprisoned processes (see jail(2)):
  These variables are copy-on-write (as suggested by phk). This means that
  imprisoned processes will use the system wide value unless it is written/set
  by the process. From that moment on, a copy local to the prison will be
  used.

A note about the implementation:
  I choose to add a single pointer to struct prison, because I didn't like the
  idea of changing struct prison every time I come up with a new variable. As
  a side effect, the extra storage is only needed when a variable is set from
  within the prison. This also minimizes kernel bloat when the Linuxulator is
  not used; both compiled in or as a module.

Reviewed by: bde (first version only) and phk
1999-08-27 19:47:41 +00:00
..
devices.i386 Add majors for new ATA/ATAPI driver. 1999-03-16 12:50:02 +00:00
files.i386 Add sysctl variables for the Linuxulator. These reside under `compat.linux' as 1999-08-27 19:47:41 +00:00
GENERIC This commit adds device driver support for the Sundance Technologies ST201 1999-08-21 18:34:58 +00:00
kernel.script Remove a rather bogus search path reference.. 1999-06-03 22:07:41 +00:00
LINT This commit adds device driver support for the Sundance Technologies ST201 1999-08-21 18:34:58 +00:00
majors.i386 Reserve bdev/cdev entries for i2o driver. 1999-08-11 05:28:06 +00:00
Makefile.i386 Delete the 'device-driver' suffix. It's been meaningless for a long time. 1999-07-03 19:19:34 +00:00
NOTES This commit adds device driver support for the Sundance Technologies ST201 1999-08-21 18:34:58 +00:00
options.i386 The "LINUX" option isn't actually used or referenced anywhere. The stuff 1999-08-18 11:28:36 +00:00
PCCARD Give if_tun the "almost clone" makeover. 1999-08-15 09:54:57 +00:00