Home | History | Annotate | Download | only in conf
History log of /src/sys/conf/std
RevisionDateAuthorComments
 1.24  26-Mar-2024  riastradh conf/std: Update comment over rnd(4) to reflect current reality.

PR kern/46728
 1.23  27-Jan-2019  pgoyette Merge the [pgoyette-compat] branch
 1.22  02-Nov-2016  pgoyette branches: 1.22.14; 1.22.16;
* Split sys/kern/sys_process.c into three parts:
1 - ptrace(2) syscall for native emulation
2 - common ptrace(2) syscall code (shared with compat_netbsd32)
3 - support routines that are shared with PROCFS and/or KTRACE

* Add module glue for #1 and #2. Both modules will be built-in to the
kernel if "options PTRACE" is included in the config file (this is
the default, defined in sys/conf/std).

* Mark the ptrace(2) syscall as modular in syscalls.master (generated
files will be committed shortly).

* Conditionalize all remaining portions of PTRACE code on a new kernel
option PTRACE_HOOKS.

XXX Instead of PROCFS depending on 'options PTRACE', we should probably
just add a procfs attribute to the sys/kern/sys_process.c file's
entry in files.kern, and add PROCFS to the "#if defineds" for
process_domem(). It's really confusing to have two different ways
of requiring this file.
 1.21  14-Nov-2015  pgoyette branches: 1.21.2;
Always include the "vfs" attribute (module). Although all of the
ufs/xxx file systems depend on the vfs attribute, it is not required
that any file system actually be built-in to the kernel. (At least
on some architectures, file system modules can be loaded at boot
time.)
 1.20  31-Oct-2014  uebayasi branches: 1.20.2;
config(1), config(5): Introduce "select"

o Introduce a new selection directive "select" to select an attribute (as a
module) and its dependencies.
o Support "no select" too.
o Stop abusing "options" to select an attribute.
o Bump config(1) version.
 1.19  10-Oct-2014  uebayasi Define net attribute. Always select it for now.
 1.18  10-Oct-2014  uebayasi Use option dependency to always select KERN (and its dependencies).
 1.17  10-Oct-2014  uebayasi Define "machdep" attribute and mark files (in amd64 and x86).
 1.16  10-Oct-2014  uebayasi Define "uvm" attribute and mark files.
 1.15  10-Oct-2014  uebayasi Define "kern" attribute (a.k.a module). Mark kern_*.c (and some others) as
"kern". Always select "kern" in sys/conf/std.
 1.14  22-Nov-2011  tls branches: 1.14.8;

The rnd pseudo-device is not really optional, because it is in the same
source file as the entropy-pool code itself. Move it to std. This
will be cleaned up more when I split the sources up as they should be.

This fixes build breaks on several ports. Thanks to Havard Eidnes for
pointing them out.
 1.13  21-Oct-2009  rmind branches: 1.13.2; 1.13.12;
Remove uarea swap-out functionality:

- Addresses the issue described in PR/38828.
- Some simplification in threading and sleepq subsystems.
- Eliminates pmap_collect() and, as a side note, allows pmap optimisations.
- Eliminates XS_CTL_DATA_ONSTACK in scsipi code.
- Avoids few scans on LWP list and thus potentially long holds of proc_lock.
- Cuts ~1.5k lines of code. Reduces amd64 kernel size by ~4k.
- Removes __SWAP_BROKEN cases.

Tested on x86, mips, acorn32 (thanks <mpumford>) and partly tested on
acorn26 (thanks to <bjh21>).

Discussed on <tech-kern>, reviewed by <ad>.
 1.12  10-Aug-2009  simonb Tab police.
 1.11  09-Aug-2009  matt Add [default] option to make UAREAs swappable. Disabling the option makes
them unswappable and therefore allocatable using KSEG/BAT/etc.
 1.10  14-Nov-2008  ad - Conditionalise POSIX aio and mqueue, but include them by default.
- Add a COMPAT_NETBSD attribute. Emit if any compat options are used.
 1.9  04-Aug-2007  ad branches: 1.9.22; 1.9.26; 1.9.32; 1.9.34; 1.9.36;
Add cpuctl(8). For now this is not much more than a toy for debugging and
benchmarking that allows taking CPUs online/offline.
 1.8  17-May-2007  yamt branches: 1.8.2; 1.8.6;
merge yamt-idlelwp branch. asked by core@. some ports still needs work.

from doc/BRANCHES:

idle lwp, and some changes depending on it.

1. separate context switching and thread scheduling.
(cf. gmcgarry_ctxsw)
2. implement idle lwp.
3. clean up related MD/MI interfaces.
4. make scheduler(s) modular.
 1.7  08-Sep-2006  elad branches: 1.7.6; 1.7.10; 1.7.12;
First take at security model abstraction.

- Add a few scopes to the kernel: system, network, and machdep.

- Add a few more actions/sub-actions (requests), and start using them as
opposed to the KAUTH_GENERIC_ISSUSER place-holders.

- Introduce a basic set of listeners that implement our "traditional"
security model, called "bsd44". This is the default (and only) model we
have at the moment.

- Update all relevant documentation.

- Add some code and docs to help folks who want to actually use this stuff:

* There's a sample overlay model, sitting on-top of "bsd44", for
fast experimenting with tweaking just a subset of an existing model.

This is pretty cool because it's *really* straightforward to do stuff
you had to use ugly hacks for until now...

* And of course, documentation describing how to do the above for quick
reference, including code samples.

All of these changes were tested for regressions using a Python-based
testsuite that will be (I hope) available soon via pkgsrc. Information
about the tests, and how to write new ones, can be found on:

http://kauth.linbsd.org/kauthwiki

NOTE FOR DEVELOPERS: *PLEASE* don't add any code that does any of the
following:

- Uses a KAUTH_GENERIC_ISSUSER kauth(9) request,
- Checks 'securelevel' directly,
- Checks a uid/gid directly.

(or if you feel you have to, contact me first)

This is still work in progress; It's far from being done, but now it'll
be a lot easier.

Relevant mailing list threads:

http://mail-index.netbsd.org/tech-security/2006/01/25/0011.html
http://mail-index.netbsd.org/tech-security/2006/03/24/0001.html
http://mail-index.netbsd.org/tech-security/2006/04/18/0000.html
http://mail-index.netbsd.org/tech-security/2006/05/15/0000.html
http://mail-index.netbsd.org/tech-security/2006/08/01/0000.html
http://mail-index.netbsd.org/tech-security/2006/08/25/0000.html

Many thanks to YAMAMOTO Takashi, Matt Thomas, and Christos Zoulas for help
stablizing kauth(9).

Full credit for the regression tests, making sure these changes didn't break
anything, goes to Matt Fleming and Jaime Fournier.

Happy birthday Randi! :)
 1.6  29-Aug-2006  matt branches: 1.6.2;
Make PTRACE and COREDUMP optional. Make the default (status quo) by putting
them in conf/std.
 1.5  05-May-2006  rpaulo branches: 1.5.6;
Add support for RFC 3542 Adv. Socket API for IPv6 (which obsoletes 2292).
* RFC 3542 isn't binary compatible with RFC 2292.
* RFC 2292 support is on by default but can be disabled.
* update ping6, telnet and traceroute6 to the new API.

From the KAME project (www.kame.net).
Reviewed by core.
 1.4  11-Dec-2005  christos branches: 1.4.4; 1.4.6; 1.4.8; 1.4.10; 1.4.12;
merge ktrace-lwp.
 1.3  26-Sep-2005  yamt branches: 1.3.6;
- defflag bufq_fcfs and bufq_disksort.
- make them on by default.
 1.2  17-Sep-2005  yamt enable VMSWAP by default.
 1.1  17-Sep-2005  yamt add conf/std for MI standard options. currently empty.
 1.3.6.2  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.3.6.1  26-Sep-2005  skrll file std was added on branch ktrace-lwp on 2005-11-10 14:01:40 +0000
 1.4.12.1  24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.4.10.1  11-May-2006  elad sync with head
 1.4.8.3  14-Sep-2006  yamt sync with head.
 1.4.8.2  03-Sep-2006  yamt sync with head.
 1.4.8.1  24-May-2006  yamt sync with head.
 1.4.6.1  01-Jun-2006  kardel Sync with head.
 1.4.4.1  09-Sep-2006  rpaulo sync with head
 1.5.6.4  03-Sep-2007  yamt sync with head.
 1.5.6.3  30-Dec-2006  yamt sync with head.
 1.5.6.2  21-Jun-2006  yamt sync with head.
 1.5.6.1  05-May-2006  yamt file std was added on branch yamt-lazymbuf on 2006-06-21 15:00:01 +0000
 1.6.2.1  18-Nov-2006  ad Sync with head.
 1.7.12.1  11-Jul-2007  mjf Sync with head.
 1.7.10.2  20-Aug-2007  ad Sync with HEAD.
 1.7.10.1  08-Jun-2007  ad Sync with head.
 1.7.6.1  21-Feb-2007  yamt define SCHED_4BSD in conf/std for now.
 1.8.6.1  04-Aug-2007  jmcneill Sync with HEAD.
 1.8.2.1  15-Aug-2007  skrll Sync with HEAD.
 1.9.36.1  19-Jan-2009  skrll Sync with HEAD.
 1.9.34.2  04-Aug-2007  ad Add cpuctl(8). For now this is not much more than a toy for debugging and
benchmarking that allows taking CPUs online/offline.
 1.9.34.1  04-Aug-2007  ad file std was added on branch matt-mips64 on 2007-08-04 11:03:01 +0000
 1.9.32.1  13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.9.26.3  11-Mar-2010  yamt sync with head
 1.9.26.2  19-Aug-2009  yamt sync with head.
 1.9.26.1  04-May-2009  yamt sync with head.
 1.9.22.2  17-Jan-2009  mjf Sync with HEAD.
 1.9.22.1  05-Apr-2008  mjf - add "file-system DEVFS" and "pseudo-device devfsctl" to conf/std seeing
as these are always needed.

- convert many, many drivers over to the New Devfs World Order. For a
list of device drivers yet to be converted see,
http://www.netbsd.org/~mjf/devfs-todo.html.

- add a new device_unregister_all(device_t) function to remove all device
names associated with a device_t, which saves us having to construct
device names when the driver is detached.

- add a DEV_AUDIO type for devices.
 1.13.12.1  17-Apr-2012  yamt sync with head
 1.13.2.2  28-Feb-2010  uebayasi Don't always enable XIP on this branch to prepare the merge. Fix build
without XIP in places.
 1.13.2.1  08-Feb-2010  uebayasi Add XIP flag and globally enable it on this branch.
 1.14.8.1  03-Dec-2017  jdolecek update from HEAD
 1.20.2.2  05-Dec-2016  skrll Sync with HEAD
 1.20.2.1  27-Dec-2015  skrll Sync with HEAD (as of 26th Dec)
 1.21.2.1  04-Nov-2016  pgoyette Sync with HEAD
 1.22.16.1  10-Jun-2019  christos Sync with HEAD
 1.22.14.3  28-Sep-2018  pgoyette Revert previous commit. There are still random unidentified references
to these utility routings.
 1.22.14.2  27-Sep-2018  pgoyette This should no longer be needed
 1.22.14.1  06-Mar-2018  pgoyette Include utilities required by compat stuff

RSS XML Feed