freebsd-dev/sys
Wojciech A. Koszek 744b947ef8 Improve INCLUDE_CONFIG_FILE support.
This change will let us to have full configuration of a running kernel
available in sysctl:

	sysctl -b kern.conftxt

The same configuration is also contained within the kernel image. It can be
obtained with:

	config -x <kernelfile>

Current functionality lets you to quickly recover kernel configuration, by
simply redirecting output from commands presented above and starting kernel
build procedure. "include" statements are also honored, which means options
and devices from included files are also included.

Please note that comments from configuration files are not preserved by
default. In order to preserve them, you can use -C flag for config(8). This
will bring configuration file and included files literally; however,
redirection to a file no longer works directly.

This commit was followed by discussion, that took place on freebsd-current@.
For more details, look here:

	http://lists.freebsd.org/pipermail/freebsd-current/2007-March/069994.html
	http://lists.freebsd.org/pipermail/freebsd-current/2007-May/071844.html

Development of this patch took place in Perforce, hierarchy:

	//depot/user/wkoszek/wkoszek_kconftxt/

Support from:	freebsd-current@ (links above)
Reviewed by:	imp@
Approved by:	imp@
2007-05-12 19:38:18 +00:00
..
amd64 Do not dereference linux_to_bsd_signal[-1] if userland has 2007-05-11 01:25:51 +00:00
arm Define every architecture as either VM_PHYSSEG_DENSE or 2007-05-05 19:50:28 +00:00
boot Add documentation for the vm.kmem_size_min and vm.kmem_size_max tunables. 2007-05-09 02:37:58 +00:00
bsm Change $P4$ ID strings to P4 ID strings so that they are not auto-expanded 2007-04-17 12:27:08 +00:00
cam Only schedule the xpt_finishconfig_task once. This fixes some potential 2007-04-27 14:23:05 +00:00
cddl Increase debug level - this message is not that important. 2007-05-09 22:32:49 +00:00
coda
compat Share-lock a vnode where possible. 2007-05-02 01:03:10 +00:00
conf Hook wlan_amrr up to the build. 2007-05-10 08:53:57 +00:00
contrib Increase debug level - this message is not that important. 2007-05-09 22:32:49 +00:00
crypto Integrate the Camellia Block Cipher. For more information see RFC 4132 2007-05-09 19:37:02 +00:00
ddb
dev Add missing curly braces. 2007-05-12 05:56:58 +00:00
fs The process lock is held when procfs_ioctl() is called. Assert that this 2007-05-01 12:59:20 +00:00
gdb
geom Write the output parameter (if present) for the add, create, delete 2007-05-09 05:37:53 +00:00
gnu
i4b
i386 Do not dereference linux_to_bsd_signal[-1] if userland has 2007-05-11 01:25:51 +00:00
ia64 Define every architecture as either VM_PHYSSEG_DENSE or 2007-05-05 19:50:28 +00:00
isa When trying to allocate a PnP BIOS memory resource, the code loops trying 2007-04-17 15:14:23 +00:00
kern Improve INCLUDE_CONFIG_FILE support. 2007-05-12 19:38:18 +00:00
libkern
modules Integrate the Camellia Block Cipher. For more information see RFC 4132 2007-05-09 19:37:02 +00:00
net Integrate the Camellia Block Cipher. For more information see RFC 4132 2007-05-09 19:37:02 +00:00
net80211 - Nuke unnecessary header. 2007-05-05 11:07:52 +00:00
netatalk Reduce network stack oddness: implement .pru_sockaddr and .pru_peeraddr 2007-05-11 10:20:51 +00:00
netatm
netgraph Performance optimization of the "encryption without compression" case by 2007-05-11 14:36:02 +00:00
netinet Drop everything that doesn't belong into this new file. 2007-05-11 21:17:53 +00:00
netinet6 Reduce network stack oddness: implement .pru_sockaddr and .pru_peeraddr 2007-05-11 10:20:51 +00:00
netipsec Integrate the Camellia Block Cipher. For more information see RFC 4132 2007-05-09 19:37:02 +00:00
netipx Use ANSI C function declarations throughout netipx. 2007-05-11 10:38:34 +00:00
netkey
netnatm
netncp
netsmb
nfs
nfs4client
nfsclient Various fixes to the NFS Directio support. 2007-04-25 20:34:55 +00:00
nfsserver Remove MAC Framework access control check entry points made redundant with 2007-04-22 15:31:22 +00:00
opencrypto Integrate the Camellia Block Cipher. For more information see RFC 4132 2007-05-09 19:37:02 +00:00
pc98 Add wlan_amrr. ural(4) uses amrr as transmit rate control. 2007-05-10 01:32:17 +00:00
pccard
pci tl(4) appears to support long frames. 2007-05-09 09:02:11 +00:00
powerpc Define every architecture as either VM_PHYSSEG_DENSE or 2007-05-05 19:50:28 +00:00
rpc
security Don't expose #ifdef NOTYET parts to userspace via audit_ioctl.h, just 2007-04-29 16:20:32 +00:00
sparc64 - Add bits for userland profiling. For sun4u this is compile-tested only. 2007-05-11 23:43:55 +00:00
sun4v - Add bits for userland profiling. For sun4u this is compile-tested only. 2007-05-11 23:43:55 +00:00
sys Make the TCP timer callout obtain Giant if the network stack is marked 2007-05-11 20:52:47 +00:00
tools
ufs Add a newline to the printf message. 2007-05-03 22:39:52 +00:00
vm Update stale comment on protecting UMA per-CPU caches: we now use 2007-05-09 22:53:34 +00:00
Makefile