wkoszek
2e673327ec
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
maxim
a0d76ca625
o Fix several style bugs in the previous commit.
...
Prodded by: bde
2007-05-12 16:42:01 +00:00
pav
3d3739b1a4
Talk more about swap backing
...
PR: docs/78041 (inspired by)
Submitted by: Lars Kristiansen <lars+lister.freebsd@adventuras.no>
MFC after: 1 week
2007-05-12 15:33:18 +00:00
pav
15acba9364
Fix crash when using 'du' capability: NULL return of strpbrk was not handled
...
PR: bin/108368
Reported by: Ivo Hazmuk <ivo@vutbr.cz>
Submitted by: rdivacky
MFC after: 2 weeks
2007-05-12 13:36:13 +00:00
pav
36a46e2d9f
Remove cred argument, which was removed from code by phk two years ago
...
PR: docs/110200
Submitted by: Jamie Jones <jamie@bishopston.net>
MFC after: 1 week
2007-05-12 13:10:55 +00:00
pav
c2655594fb
Correct two typos
...
PR: docs/66771
Submitted by: Michel Lavondes <fox@vader.aacc.cc.md.us>
MFC after: 1 week
2007-05-12 12:42:00 +00:00
pav
587620304d
Remove %m formatter, it's ifdef 0'ed in the code from the very beginning
...
MFC after: 1 week
2007-05-12 12:26:25 +00:00
pav
c4339791e9
Expand documentation for LD_TRACE_LOADED_OBJECTS_FMT? variables
...
PR: docs/66265 (inspired by)
Submitted by: Michel Lavondes <fox@vader.aacc.cc.md.us>
MFC after: 1 week
2007-05-12 12:24:49 +00:00
pav
f50136d51b
Expand documentation of -f option
...
PR: docs/66265
Submitted by: Michel Lavondes <fox@vader.aacc.cc.md.us>
MFC after: 1 week
2007-05-12 12:23:40 +00:00
pav
1285169f3a
Document /boot/mbr (non-interactive boot block)
...
PR: doc/111840
Submitted by: Warren Block <wblock@wonkity.com>
MFC after: 1 week
2007-05-12 10:40:20 +00:00
pav
3831aebc4a
Fix -D description to read debug_options
...
PR: doc/97939
Submitted by: Serg Podtynnyi <n-ice@yandex.ru>
MFC after: 1 week
2007-05-12 10:25:31 +00:00
maxim
639e269d14
o Make iostat -Ix work: print per-interval I/O extended statistics.
...
PR: bin/112559
Submitted by: Dan Nelson
MFC after: 2 weeks
2007-05-12 09:28:34 +00:00
brueffer
1766b236a5
Add missing .El.
...
Found by: man2hwnotes.pl
2007-05-12 06:41:41 +00:00
brueffer
ef87577b40
Add missing .El.
...
Found by: man2hwnotes.pl
2007-05-12 06:33:52 +00:00
brueffer
3785bba0c5
axe(4) supports altq now.
2007-05-12 05:59:15 +00:00
brueffer
732cb0f9fd
Add missing curly braces.
...
Approved by: rwatson (mentor)
2007-05-12 05:56:58 +00:00
brueffer
3df1233c91
ALTQify.
...
Submitted by: J.R. Oldroyd
Reviewed by: mlaier
Approved by: rwatson (mentor)
MFC after: 1 week
2007-05-12 05:56:10 +00:00
brueffer
974acaa2d8
Remove compat ifdefs for FreeBSD versions < 500014, makes the code
...
quite a bit easier to read.
Approved by: rwatson (mentor)
MFC after: 1 weeks
2007-05-12 05:53:53 +00:00
marius
6d578f19e4
- Add bits for userland profiling. For sun4u this is compile-tested only.
...
- Replace magic 14 with PIL_TICK.
2007-05-11 23:43:55 +00:00
brueffer
ec4492c785
Autogenerate hardware notes for hptiop(4).
2007-05-11 22:58:09 +00:00
brueffer
937298488c
Connect hptiop(4) to the build. Only install hptmv(4) on i386 and amd64.
2007-05-11 22:53:09 +00:00
brueffer
ff16554f78
Manpage for the hptiop(4) driver. Could use a little more content.
2007-05-11 22:52:19 +00:00
brueffer
92b3862208
New release notes:
...
- vm.kmem_size_min tunable added
- fdisk -p
- ipfw RH0 and MIPv6 RH2 filtering
- pw -M
- Camellia cipher added
Modified release notes:
- twa(4) was actually updated to version 3.70.03.006
2007-05-11 21:50:32 +00:00
jfv
16e081d626
Mistake in the logic deciding what adapters need
...
to map the IO BAR. Causing the driver to fail on
th 82542.
Reviewed by:pdeuskar
Approved by:pdeuskar
2007-05-11 21:36:08 +00:00
andre
d500dd8585
Drop everything that doesn't belong into this new file.
...
It's neither functional not connected to the build yet.
2007-05-11 21:17:53 +00:00
andre
016aa91a14
Drop everything that doesn't belong into this new file.
...
It's neither functional nor connected to the build yet.
2007-05-11 21:04:57 +00:00
andre
14d6d7db44
Make the TCP timer callout obtain Giant if the network stack is marked
...
as non-mpsafe.
This change is to be removed when all protocols are mp-safe.
2007-05-11 20:52:47 +00:00
andre
a968d55db3
Forced commit to note repo copy from sys/netinet/tcp_input.c rev. 1.349.
2007-05-11 20:31:23 +00:00
andre
a8351fec8e
Forced commit to note repo copy from sys/netinet/tcp_subr.c rev. 1.280.
2007-05-11 20:30:09 +00:00
andre
f33463108a
Add the timestamp offset to struct tcptw so we can generate proper
...
ACKs in TIME_WAIT state that don't get dropped by the PAWS check
on the receiver.
2007-05-11 18:29:39 +00:00
simokawa
50e0c5dd7b
- Initialize login->id and fix problem for non-zero login id.
...
- Increase maxopenings for multiple lun/initiators.
MFC after: 3 days
2007-05-11 14:51:13 +00:00
mav
f1c1aa5c90
Performance optimization of the "encryption without compression" case by
...
avoiding memory allocation and data copying.
Encrypting directly at the original mbuf chain.
Approved by: glebius (mentor)
2007-05-11 14:36:02 +00:00
mjacob
3caf7b6340
Bad merge.
2007-05-11 13:47:28 +00:00
rwatson
3cf529ac1e
Remove more one more stale comment regarding unpcb type-safety.
2007-05-11 12:28:45 +00:00
rwatson
144e902f6c
Clarify and update quite a few comments to reflect locking optimizations,
...
the addition of unpcb refcounts, and bug fixes. Some of these fixes are
appropriate for MFC.
MFC after: 3 days
2007-05-11 12:10:45 +00:00
rwatson
05369787fc
Coalesce two identical UCB licenses into a single license instance with
...
one set of copyright years.
White space and comment cleanup.
Export $FreeBSD$ via __FBSDID.
2007-05-11 11:21:43 +00:00
des
719c87d1ee
strlcpy() may be faster than snprintf(), but it is less portable, and this
...
is not performance critical code anyway. Also, avoid using strlen() to
obtain information which we already have.
MFC after: 3 weeks
2007-05-11 11:10:05 +00:00
rwatson
185e8c8867
Minor white space and style cleanups.
2007-05-11 11:05:30 +00:00
rwatson
cf57d2e44c
White space and style cleanup.
2007-05-11 11:00:48 +00:00
rwatson
777066ed3b
Minor white space/style normalization.
2007-05-11 10:50:31 +00:00
rwatson
073fe95b38
Normalize style a bit: reduce pseudo-randomness of comment layout and
...
white space. Remove 'register'.
2007-05-11 10:48:30 +00:00
rwatson
972aaf598c
Use ANSI C function declarations throughout netipx.
...
Remove 'register' use.
2007-05-11 10:38:34 +00:00
rwatson
47d37a80be
Reduce network stack oddness: implement .pru_sockaddr and .pru_peeraddr
...
protocol entry points using functions named proto_getsockaddr and
proto_getpeeraddr rather than proto_setsockaddr and proto_setpeeraddr.
While it's true that sockaddrs are allocated and set, the net effect is
to retrieve (get) the socket address or peer address from a socket, not
set it, so align names to that intent.
2007-05-11 10:20:51 +00:00
rwatson
46a4c44c3b
Remove unneeded wrappers for in_setsockaddr() and in_setpeeraddr(), which
...
used to exist so pcbinfo locks could be acquired, but are no longer
required as a result of socket/pcb reference model refinements.
2007-05-11 09:54:53 +00:00
mjacob
2f7d5b8b3f
Fix pointy-hat problem with BUS_DMA_ROOTARG macro that caused problems for sparc64.
...
Candidate for immediate MFC.
Noticed by: Everyone-maxim contacted.
2007-05-11 06:28:26 +00:00
kan
ea141892dc
Do not dereference linux_to_bsd_signal[-1] if userland has
...
passed zero as exit signal.
GCC 4.2 changes the kernel data segment layout not to have 0
in that memory location. This code ran by luck before and now
the luck has run out.
2007-05-11 01:25:51 +00:00
andre
f6d9987afe
Fix an incorrect replace of a timer reference made during the TCP timer
...
rewrite in rev. 1.132. This unmasked yet another bug that causes certain
connections to get indefinately stuck in LAST_ACK state.
2007-05-10 23:11:29 +00:00
des
4503779c68
Fix typo.
...
Submitted by: Bård Skaflestad <bardsk@math.ntnu.no>
2007-05-10 18:15:30 +00:00
rwatson
a25f94b5ae
Move universally to ANSI C function declarations, with relatively
...
consistent style(9)-ish layout.
2007-05-10 15:58:48 +00:00
des
a55a869714
Bump __FreeBSD_version for the addition of flopen(3) to libutil.
...
Requested by: delphij
2007-05-10 15:37:27 +00:00