freebsd-nq/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 Make insmntque() externally visibile and allow it to fail (e.g. during 2007-03-13 01:50:27 +00:00
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 Use FOREACH_PROC_IN_SYSTEM instead of using its unrolled form. 2007-01-17 15:05:52 +00:00
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 Change #include <machine/pcpu.h> to #include <sys/pcpu.h> 2007-04-01 12:48:10 +00:00
i4b Tell the user when the setup of the interrupt handler failed and return 2007-04-01 16:52:54 +00:00
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 strchr() and strrchr() are already present in the kernel, but with less 2007-04-10 21:42:12 +00:00
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 Fix use after free bug: use temporary variable to hold next entry in linked 2007-04-03 12:45:10 +00:00
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 s/destory/destroy/ (except for the code in contrib/). 2007-04-16 12:31:35 +00:00
netncp Use pause() rather than tsleep() on stack variables and function pointers. 2007-02-27 17:23:29 +00:00
netsmb Replace custom file descriptor array sleep lock constructed using a mutex 2007-04-04 09:11:34 +00:00
nfs NFSv4 client: 2006-11-28 19:33:28 +00:00
nfs4client Rename some functions and variables from nfs_* to nfs4_* to avoid 2007-01-25 14:33:13 +00:00
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 Move rpc/types.h under sys/, as this is used by ZFS kernel module. 2007-04-10 22:10:16 +00:00
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 Catch up with ACPI-CA 20070320 import. 2007-03-22 18:16:43 +00:00
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 o Add bsm and security to a list of cscope dirs. 2007-04-14 16:29:15 +00:00