opnsense-src/sys/modules
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
..
atapi Sample initial set of kld-ified modules. Not all have been completely 1998-10-16 04:30:52 +00:00
ax Convert the VIA Rhine driver to newbus and set it up to be compiled as 1999-08-10 17:15:20 +00:00
bktr Change perl5 to perl (same change as made in the fxp module) 1999-06-12 15:08:50 +00:00
ccd Sample initial set of kld-ified modules. Not all have been completely 1998-10-16 04:30:52 +00:00
cd9660 Sample initial set of kld-ified modules. Not all have been completely 1998-10-16 04:30:52 +00:00
coda Clean up the KLD/LKM goop a bit. 1999-01-17 20:25:22 +00:00
coff Make this work now; fixing the kstack overflow allows the dependency to 1998-11-06 16:02:14 +00:00
fdesc Sample initial set of kld-ified modules. Not all have been completely 1998-10-16 04:30:52 +00:00
fdescfs Sample initial set of kld-ified modules. Not all have been completely 1998-10-16 04:30:52 +00:00
fpu Sample initial set of kld-ified modules. Not all have been completely 1998-10-16 04:30:52 +00:00
fxp Rename bpfilter to bpf. 1999-07-06 19:23:32 +00:00
gnufpu Sample initial set of kld-ified modules. Not all have been completely 1998-10-16 04:30:52 +00:00
ibcs2 Reference kld(4). 1999-04-23 16:12:44 +00:00
if_disc Rename bpfilter to bpf. 1999-07-06 19:23:32 +00:00
if_ppp Rename bpfilter to bpf. 1999-07-06 19:23:32 +00:00
if_sl Rename bpfilter to bpf. 1999-07-06 19:23:32 +00:00
if_tun Rename bpfilter to bpf. 1999-07-06 19:23:32 +00:00
ip_mroute_mod Sample initial set of kld-ified modules. Not all have been completely 1998-10-16 04:30:52 +00:00
ipfw No need to use a magic IPFIREWALL_MODULE - the build system supplies 1999-04-20 14:31:23 +00:00
joy Reference kld(4). 1999-04-23 16:12:44 +00:00
kernfs Sample initial set of kld-ified modules. Not all have been completely 1998-10-16 04:30:52 +00:00
linux Add sysctl variables for the Linuxulator. These reside under `compat.linux' as 1999-08-27 19:47:41 +00:00
mfs Don't forget to remove opt_mfs.h. 1998-11-11 03:06:46 +00:00
mii Update these Makefiles; add mlphy and tlphy to the mii module, add 1999-08-27 19:45:19 +00:00
msdos Sample initial set of kld-ified modules. Not all have been completely 1998-10-16 04:30:52 +00:00
msdosfs Sample initial set of kld-ified modules. Not all have been completely 1998-10-16 04:30:52 +00:00
mx Convert the VIA Rhine driver to newbus and set it up to be compiled as 1999-08-10 17:15:20 +00:00
nfs Sample initial set of kld-ified modules. Not all have been completely 1998-10-16 04:30:52 +00:00
nfsclient Sample initial set of kld-ified modules. Not all have been completely 1998-10-16 04:30:52 +00:00
nfsserver Sample initial set of kld-ified modules. Not all have been completely 1998-10-16 04:30:52 +00:00
ntfs First version. 1999-02-03 04:01:27 +00:00
nullfs Sample initial set of kld-ified modules. Not all have been completely 1998-10-16 04:30:52 +00:00
pcic Update for pcic for kld modules and activate 1999-01-19 00:41:17 +00:00
pn Add a module Makefile for the PNIC driver. 1999-07-28 02:21:56 +00:00
portal Sample initial set of kld-ified modules. Not all have been completely 1998-10-16 04:30:52 +00:00
portalfs Sample initial set of kld-ified modules. Not all have been completely 1998-10-16 04:30:52 +00:00
procfs Add procfs_rlimit.c so the kernel actually compiles. 1999-05-04 21:08:58 +00:00
sf Convert the VIA Rhine driver to newbus and set it up to be compiled as 1999-08-10 17:15:20 +00:00
sk Convert the VIA Rhine driver to newbus and set it up to be compiled as 1999-08-10 17:15:20 +00:00
splash Use the correct value for banksize so splash_pcx works in LFB modes. 1999-06-28 13:52:29 +00:00
ste This commit adds device driver support for the Sundance Technologies ST201 1999-08-21 18:34:58 +00:00
streams Oops. Adding a Makefile might help anyone who wants to use streams 1999-02-22 14:02:42 +00:00
svr4 Initial checkin 1999-07-30 12:50:48 +00:00
syscons The second phase of syscons reorganization. 1999-06-22 14:14:06 +00:00
ti Convert the VIA Rhine driver to newbus and set it up to be compiled as 1999-08-10 17:15:20 +00:00
tl Update these Makefiles; add mlphy and tlphy to the mii module, add 1999-08-27 19:45:19 +00:00
umapfs Sample initial set of kld-ified modules. Not all have been completely 1998-10-16 04:30:52 +00:00
union Sample initial set of kld-ified modules. Not all have been completely 1998-10-16 04:30:52 +00:00
unionfs Sample initial set of kld-ified modules. Not all have been completely 1998-10-16 04:30:52 +00:00
vesa Unifdef VM86. 1999-06-01 18:20:36 +00:00
vinum Change asf function to use the new name of the list in kern_linker.c. 1999-08-26 04:01:37 +00:00
vn Oops, I accidently had devfs enabled in the vn module.. 1999-01-21 17:23:30 +00:00
vr Convert the VIA Rhine driver to newbus and set it up to be compiled as 1999-08-10 17:15:20 +00:00
wb Convert the Winbond driver to newbus and have it compiled as a module. 1999-08-10 21:09:12 +00:00
xl Convert the VIA Rhine driver to newbus and set it up to be compiled as 1999-08-10 17:15:20 +00:00
Makefile This commit adds device driver support for the Sundance Technologies ST201 1999-08-21 18:34:58 +00:00
Makefile.inc Missed this file. 1998-10-16 04:31:35 +00:00