Warner Losh
372e256ad0
In order to print out the dump dates correctly, the date and ddate fields
...
also need to be convereted for old tapes for records of type TAPE.
2005-03-18 21:06:54 +00:00
Poul-Henning Kamp
55f776914c
Typo.
...
Submitted by: Hiroharu Tamaru <tamaru@myn.rcast.u-tokyo.ac.jp>
2005-03-18 20:21:46 +00:00
Warner Losh
ecdd99f852
Sync usage and man page with reality. There's no '-c' command line
...
flag today. Maybe we should still retain it, but I'll let others fight
that windmill.
2005-03-18 17:49:08 +00:00
Hartmut Brandt
cedc4e46c2
Cleanup handling of colons in variable substitutions.
...
Patch: 7.126
Submitted by: Max Okumoto <okumoto@ucsd.edu>
2005-03-18 16:52:46 +00:00
Warner Losh
3eafe746ab
Need to initialize the resource list that we keep for our children.
...
STAILQ's require this, while it is optional for SLIST (well, as long
as the memory is bzeroed).
Noticed by: phk's crash
2005-03-18 16:37:51 +00:00
Hartmut Brandt
af0b17b173
Unfold parsing of single letter modifiers from multi-letter ones.
...
Patch: 7.125
Submitted by: Max Okumoto <okumoto@ucsd.edu>
2005-03-18 15:51:04 +00:00
Hartmut Brandt
2ae8b5b5f6
Style: fix indentation and <space><tab>.
...
Patch: 7.124
Submitted by: Max Okumoto <okumoto@ucsd.edu>
2005-03-18 15:44:23 +00:00
Hartmut Brandt
e524dd1162
Split out the 'S' modifier into its own function.
...
Patch: 7.122,7.123
Submitted by: Max Okumoto <okumoto@ucsd.edu>
2005-03-18 15:37:31 +00:00
Hartmut Brandt
1753011e3f
Convert Var_Parse to a wrapper function.
...
Reduce the number of arguments passed between these functions by
creating a special-purpose struct.
Patch: 7.120,7.121
Submitted by: Max Okumoto <okumoto@ucsd.edu>
2005-03-18 15:34:07 +00:00
Hartmut Brandt
6ea1a0dc21
Replace Lst_Find calls with LST_FOREACH loops. This helps in
...
constification und simplifies the code because the one-liner
predicates can be inlined into the code.
2005-03-18 15:25:23 +00:00
Murray Stokely
991f5121f0
Add a comment to note that pseudo-device bpf is required for DHCP.
...
This is mentioned in the Handbook but it is not as obvious to new
users why bpf is needed compared to the other largely self-explanatory
items in GENERIC.
PR: conf/40855
MFC after: 1 week
2005-03-18 15:24:00 +00:00
Hartmut Brandt
2559e71404
Replace a bogus use of Lst_Find with explicite LST_FOREACH calls
...
and remove the unneeded second argument to ReadMakefile.
2005-03-18 15:23:49 +00:00
Hartmut Brandt
7ea59d002e
Fix a bug in matching suffixes. Under certain circumstances the code
...
would access memory before the beginning of the string to match (the
suffix match starts at the end of both the string and the suffix and
proceedes to the begin until either the start of the suffix is hit
or the character does not match). This could lead to a memcpy copying
into random memory. Fix this by checking the length of the string to
match too and replacing the Lst_Find calls with LST_FOREACH loops
(last part by me).
Submitted by: Matt Dillon <dillon@apollo.backplane.com> (in principle)
2005-03-18 15:16:09 +00:00
Gleb Smirnoff
ee6f227017
If vhid exists return more informative EEXIST instead of EINVAL. While here
...
remove redundant brackets.
2005-03-18 13:41:38 +00:00
Maxim Sobolev
2322a0a77d
Impose the upper limit on signals that are allowed between kernel threads
...
in set[ug]id program for compatibility with Linux. Linuxthreads uses
4 signals from SIGRTMIN to SIGRTMIN+3.
Pointed out by: rwatson
2005-03-18 13:33:18 +00:00
Gleb Smirnoff
9860bab349
Fix a potential crash that could occur when CARP_LOG is being used.
...
Obtained from: OpenBSD (pat)
2005-03-18 13:18:34 +00:00
Colin Percival
8b0bf216d6
Run "make obj" before "make build-tools" in the directories used for
...
building the rescue binary. This fixes a problem with NO_TCSH, where
the "make obj" stage of buildworld doesn't recurse into bin/csh,
resulting in csh build-tools being put into /usr/src/bin/csh.
Pointed out by: dougb (on hackers@)
2005-03-18 12:55:07 +00:00
Poul-Henning Kamp
1ea7a6f806
Use subr_unit to allocate thread ID's with.
...
Tested by: davidxu
2005-03-18 12:34:14 +00:00
Poul-Henning Kamp
be1bf4d2b8
s/SLIST/STAILQ/
...
/imp/a\
pointy hat
.
2005-03-18 11:57:44 +00:00
Maxim Sobolev
f9cd63d436
Linuxthreads uses not only signal 32 but several signals >= 32.
...
PR: kern/72922
Submitted by: Andriy Gapon <avg@icyb.net.ua>
2005-03-18 11:08:55 +00:00
Poul-Henning Kamp
60c5621a8d
makebdev() is long gone.
2005-03-18 10:57:11 +00:00
Christian Brueffer
597236e44b
- autofs was removed some time ago and libautofs is not hooked up to
...
the build. Remove both from here.
- acpi_snc was renamed to acpi_sony some time ago.
2005-03-18 10:21:35 +00:00
Hiroki Sato
88639e75ce
New release notes:
...
acpi_fujitsu driver added.
2005-03-18 09:47:50 +00:00
Ian Dowse
60719a1a44
Split configure() into 3 separate steps like we do on other
...
architectures. This makes it possible to insert hooks before and
after the device attachment step.
Tested thanks to: marcel
2005-03-18 09:45:43 +00:00
Philip Paeps
a7b1b2b6ca
Hook acpi_fujitsu up to the build.
...
Forgotten by: philip
2005-03-18 09:34:52 +00:00
Philip Paeps
9a8b554fc2
Add acpi_fujitsu for handling acpi-controlled buttons on Fujitsu laptops.
...
Submitted by: Anish Mistry <mistry.7 -at- osu.edu>
Reviewed by: njl
X-MFC after: 5.4-RELEASE
2005-03-18 08:48:10 +00:00
Poul-Henning Kamp
f7e6cbd933
Fix off-by-one (too little!) array size problem.
...
Detected by: Coverity (ID#661)
2005-03-18 07:13:35 +00:00
Poul-Henning Kamp
cb7ff8b71d
g_read_data() can return NULL, check for it.
...
Found by: Coverity (ID#258)
2005-03-18 07:03:56 +00:00
Poul-Henning Kamp
b3fd9b46bb
After rejecting the bio request early, return instead of panicing.
...
Found by: Coverity (ID#450)
2005-03-18 07:01:31 +00:00
Poul-Henning Kamp
b3b21113a5
Avoid null pointer dereference.
2005-03-18 06:57:58 +00:00
Poul-Henning Kamp
a1e1d551d8
Fix a bad copy&paste mistake I made.
...
Spotted by: truckman
2005-03-18 06:01:21 +00:00
David Schultz
730eb84011
If mlx_attach() returns an error, don't free sc again.
...
Spotted by: Ted Unangst using the Coverity Prevent static analysis tool
Reviewed by: scottl
2005-03-18 05:43:37 +00:00
David Schultz
14f1a8cc08
Don't read past the end of pVDevice[]. (Previously, we would iterate
...
twice as many times as there were entries in the array.)
Spotted by: Ted Unangst using the Coverity Prevent static analysis tool
Reviewed by: scottl
2005-03-18 05:43:34 +00:00
David Schultz
844b51308e
Don't write past the end of the VendorId field (and into the ProductId
...
field).
Spotted by: Ted Unangst using the Coverity Prevent static analysis tool
Reviewed by: scottl
2005-03-18 05:43:31 +00:00
Warner Losh
36fed96550
Use STAILQ in preference to SLIST for the resources. Insert new resources
...
last in the list rather than first.
This makes the resouces print in the 4.x order rather than the 5.x order
(eg fdc0 at 0x3f0-0x3f5,0x3f7 is 4.x, but 0x3f7,0x3f0-0x3f5 is 5.x). This
also means that the pci code will once again print the resources in BAR
ascending order.
2005-03-18 05:19:50 +00:00
Peter Grehan
b1fab0ffc0
Split configure into 3 steps ala sparc64
...
Obtained from: iedowse, sparc64
2005-03-18 03:29:39 +00:00
Christian Brueffer
d2fcaa75b1
Autogenerate device listings for sr(4) and rc(4).
...
MFC after: 3 days
2005-03-18 03:12:47 +00:00
Christian Brueffer
24b00c94dc
Further refine information about supported hardware (from the hardware notes).
2005-03-18 02:49:43 +00:00
Christian Brueffer
214f899220
- move supported hardware information into a HARDWARE section
...
- consistently capitalize RISCom
- fix typo
- bump .Dd
MFC after: 3 days
2005-03-18 02:38:03 +00:00
David Schultz
2c2435825a
Fix the double rounding problem with subnormals, and
...
remove the XXX comments, which no longer apply.
2005-03-18 02:27:59 +00:00
Christian Brueffer
eb784d51c9
- add a HARDWARE section
...
- correct a language nit
- remove outdated FILES section
- bump .Dd
MFC after: 3 days
2005-03-18 02:26:05 +00:00
Bernd Walter
3d98dde1c5
Reflect devnode naming change from /dev/ubser?.? to /dev/ttyy??
2005-03-18 02:25:45 +00:00
David Schultz
21122bea01
Add missing prototypes for fma() and fmaf(), and remove an inaccurate
...
comment.
2005-03-18 01:47:42 +00:00
John-Mark Gurney
c4c44d2935
fix aio+kq... I've been running ambrisko's test program for much longer
...
w/o problems than I was before... This simply brings back the knote_delete
as knlist_delete which will also drop the knote's, instead of just clearing
the list and seeing _ONESHOT...
Fix a race where if a note was _INFLUX and _DETACHED, it could end up being
modified... whoopse..
MFC after: 1 week
Prodded by: ambrisko and dwhite
2005-03-18 01:11:39 +00:00
Murray Stokely
912faad0ea
Use the correct variable name for the description of multi-volume
...
support in cdrom.inf. Should be CD_VOLUME.
2005-03-18 01:05:46 +00:00
Murray Stokely
06060d5d6d
Recover gracefully if the user puts in the wrong CD volume after being
...
prompted to insert another CD for a package.
MFC After: 3 days
2005-03-18 00:55:12 +00:00
Olivier Houchard
3ea9d07445
Bring back some of the cleanups and fixes jmg did in the TS7200 port.
2005-03-17 23:01:15 +00:00
Bernd Walter
65a5e4be3d
initialize pp->p_sc so it can be referenced later.
...
dynamicaly allocate the per port array.
allow up to 32 serials per USB device.
ask the device for correct pipe sizes.
2005-03-17 22:47:18 +00:00
Nate Lawson
8f76495941
Introduce a general name for the previously cmbat-only ioctls. It has the
...
same value as the previous ioctls so no binary change. Also, make a few
style changes to reduce diffs to my tree.
Loosely based on code from: Hans Petter Selasky
2005-03-17 22:42:49 +00:00
Nate Lawson
8971569ca1
Remove the 'usbd' keyword (it isn't necessary for mixer). Also, use
...
BEFORE instead of REQUIRE.
Probably ok by: jhb
MFC after: 3 days
2005-03-17 22:36:16 +00:00