openbsd
16 years agoo use definitions from cd.h
fgsch [Fri, 8 Aug 2008 07:26:40 +0000 (07:26 +0000)]
o use definitions from cd.h
o remove unused function prototype

16 years ago'prey' -> 'pray' in comment as prayer rather than predation seems
krw [Fri, 8 Aug 2008 01:05:20 +0000 (01:05 +0000)]
'prey' -> 'pray' in comment as prayer rather than predation seems
the intended meaning.

16 years agorevert
martynas [Fri, 8 Aug 2008 00:41:17 +0000 (00:41 +0000)]
revert

16 years agomake _digittoint static
martynas [Fri, 8 Aug 2008 00:32:47 +0000 (00:32 +0000)]
make _digittoint static

16 years agoRemove workaround used for the 4.4 release. More route prio stuff is comming
claudio [Thu, 7 Aug 2008 21:32:08 +0000 (21:32 +0000)]
Remove workaround used for the 4.4 release. More route prio stuff is comming
soon.

16 years agoUse %sys_tick to generate clock interrupts on systems that have it.
kettenis [Thu, 7 Aug 2008 21:25:47 +0000 (21:25 +0000)]
Use %sys_tick to generate clock interrupts on systems that have it.

16 years agoFix a typo, inteface -> interface.
brad [Thu, 7 Aug 2008 19:26:57 +0000 (19:26 +0000)]
Fix a typo, inteface -> interface.

From Gleydson Soares <gsoares at gmail dot com>

16 years agoGive each CPU its own `struct intrhand' for %tick interrupts. Fixes a
kettenis [Thu, 7 Aug 2008 18:46:04 +0000 (18:46 +0000)]
Give each CPU its own `struct intrhand' for %tick interrupts.  Fixes a
problem where the clock would stop ticking on some CPUs because of lost
ticks.

16 years agosmall cleanup of error/warning strings
otto [Thu, 7 Aug 2008 18:41:47 +0000 (18:41 +0000)]
small cleanup of error/warning strings

16 years agogrow MINCLSIZE to MHLEN + MLEN + 1 again. we shrinked it just before the
henning [Thu, 7 Aug 2008 18:33:49 +0000 (18:33 +0000)]
grow MINCLSIZE to MHLEN + MLEN + 1 again. we shrinked it just before the
release to be on the safe side, now we have 6 months to find remaining
offenders misusing MINCLSIZE

16 years agocorrectly copy the log interface spec when expanding an antispoof rule that
henning [Thu, 7 Aug 2008 18:29:32 +0000 (18:29 +0000)]
correctly copy the log interface spec when expanding an antispoof rule that
covers loopback addresses. ok ryan
problem report from Harald Dunkel <harald.dunkel@aixigo.de>

16 years agoaccount spanning tree frames in if_obytes and if_omcasts.
damien [Thu, 7 Aug 2008 18:09:22 +0000 (18:09 +0000)]
account spanning tree frames in if_obytes and if_omcasts.

ok henning@

16 years agodo not touch m after IFQ_ENQUEUE()+if_start().
damien [Thu, 7 Aug 2008 18:06:17 +0000 (18:06 +0000)]
do not touch m after IFQ_ENQUEUE()+if_start().

ok brad@, mpf@, henning@, reyk@

16 years ago- Enable ALTQ support.
brad [Thu, 7 Aug 2008 17:56:51 +0000 (17:56 +0000)]
- Enable ALTQ support.
- Let the VLAN driver know that the hw can send and receive full size
VLAN tagged packets.

Tested by maja@

16 years agodon't wait for a free mbuf cluster in sosend() and enter the existing
reyk [Thu, 7 Aug 2008 17:43:37 +0000 (17:43 +0000)]
don't wait for a free mbuf cluster in sosend() and enter the existing
error handler that was never used before.  this fixes a bug that a
userland process might hang if the system ran out of mbuf clusters or
even other unexpected behaviour in the network drivers.

this bug is very old - it is also found in rev 1.1/stevens v2/44lite2/...

discussed with many
ok markus@ thib@ dlg@

16 years agospacing.
sobrado [Thu, 7 Aug 2008 17:37:37 +0000 (17:37 +0000)]
spacing.

16 years agowe are at 4.4-current
deraadt [Thu, 7 Aug 2008 17:18:03 +0000 (17:18 +0000)]
we are at 4.4-current

16 years agoAdd a little section about ACPI, explaining that disabling ACPI might help
miod [Thu, 7 Aug 2008 06:18:42 +0000 (06:18 +0000)]
Add a little section about ACPI, explaining that disabling ACPI might help
troubleshooting interrupt problems on some machines, and insist people
should report such problems or they'll never get fixed. Final commit to
the installation notes for this release.
ok deraadt@

16 years agoIn the upgrade blurb, mention xetc won't be selectable as well, and mention
miod [Wed, 6 Aug 2008 20:50:48 +0000 (20:50 +0000)]
In the upgrade blurb, mention xetc won't be selectable as well, and mention
sysmerge can help you upgrade etc and xetc afterwards.

16 years agoOops, the new sets size computation script does not work correctly on
miod [Wed, 6 Aug 2008 20:43:44 +0000 (20:43 +0000)]
Oops, the new sets size computation script does not work correctly on
symbolic links.

16 years agoUpdate sets sizes.
miod [Wed, 6 Aug 2008 20:42:54 +0000 (20:42 +0000)]
Update sets sizes.

16 years agoFold text in 80 columns.
miod [Wed, 6 Aug 2008 20:30:08 +0000 (20:30 +0000)]
Fold text in 80 columns.

16 years agoMention onboard USB might be disabled on XP1000 and close relatives, and how
miod [Wed, 6 Aug 2008 20:29:49 +0000 (20:29 +0000)]
Mention onboard USB might be disabled on XP1000 and close relatives, and how
to enable it if necessary. From FreeBSD.

16 years agoMinor random tweaks and fixes.
miod [Wed, 6 Aug 2008 18:23:51 +0000 (18:23 +0000)]
Minor random tweaks and fixes.

16 years agoSync machine list with the web page.
miod [Wed, 6 Aug 2008 18:23:29 +0000 (18:23 +0000)]
Sync machine list with the web page.

16 years agoDon't bother mentioning FreeBSD ports or NetBSD pkgsrc only on the
miod [Wed, 6 Aug 2008 18:22:13 +0000 (18:22 +0000)]
Don't bother mentioning FreeBSD ports or NetBSD pkgsrc only on the
architectures FreeBSD or NetBSD runs on too: if a third-party application
is missing from the OpenBSD ports tree, it is worth looking at the
neighbours' regardless of the platform.

16 years agoForeign partition on MBR partition tables are put in default disklabels
miod [Wed, 6 Aug 2008 18:20:53 +0000 (18:20 +0000)]
Foreign partition on MBR partition tables are put in default disklabels
from partition `i' onwards, not `h' onwards.

16 years agoUnconditionnaly disable -fcse-skip-blocks at -O2 on m68k, for it causes NULL
miod [Wed, 6 Aug 2008 18:04:26 +0000 (18:04 +0000)]
Unconditionnaly disable -fcse-skip-blocks at -O2 on m68k, for it causes NULL
derefs in at least one case and I do not have time to debug this before the
release.
ok deraadt@

16 years agoJumbo update of installation notes for alpha:
miod [Wed, 6 Aug 2008 17:22:14 +0000 (17:22 +0000)]
Jumbo update of installation notes for alpha:
- mention more models supported by each floppy
- mention more supported and unsupported models
- sync cdrom boot instructions with reality
- update ftp urls, ftp.digital.com no longer exist (but I resisted whining
  at HP which does not provide all the contents formerly available from
  ftp.digital.com and which you have to pick from educational sites which
  have mirrored them)
- various little rewording

with help from sobrado@

16 years agofix trunk breakage that sneaked in with the lacp diff:
reyk [Wed, 6 Aug 2008 17:04:28 +0000 (17:04 +0000)]
fix trunk breakage that sneaked in with the lacp diff:

- don't use in-kernel IFMEDIA ioctls in lacp and remove two KASSERTs
that caused reliable panics - the lacp key can be locally assigned and
we don't need to query the media subtype here.

- unbreak failover/loadbalance/broadcast status handling.

Reported by brad@
ok deraadt@

16 years agoBackout the acpicpu_setpdc code and the code to allow est to use acpicpu
gwk [Wed, 6 Aug 2008 05:24:44 +0000 (05:24 +0000)]
Backout the acpicpu_setpdc code and the code to allow est to use acpicpu
on amd64.
Evaluating the _PDC seems to lead to instability (PR5878 and a report by
jmc@) on lower end machines its too close to release and I don't have
enough nickels.

ok deraadt@

16 years agowe are no longer in -beta
deraadt [Wed, 6 Aug 2008 03:56:53 +0000 (03:56 +0000)]
we are no longer in -beta

16 years agoVarious tweaks and clarifications, and drop obsolete information regarding
miod [Tue, 5 Aug 2008 23:05:12 +0000 (23:05 +0000)]
Various tweaks and clarifications, and drop obsolete information regarding
last century's hard disks on this century's platforms.

16 years agoIt's eiher ... or, not either ... and
miod [Tue, 5 Aug 2008 23:03:50 +0000 (23:03 +0000)]
It's eiher ... or, not either ... and

16 years agotypo
miod [Tue, 5 Aug 2008 23:03:35 +0000 (23:03 +0000)]
typo

16 years agouncomment cardbus stuff.
miod [Tue, 5 Aug 2008 23:03:05 +0000 (23:03 +0000)]
uncomment cardbus stuff.

16 years agoIt's amd64 not i386 here.
miod [Tue, 5 Aug 2008 23:02:50 +0000 (23:02 +0000)]
It's amd64 not i386 here.

16 years agoMore SRM information, and how to make a non model 300 DEC 3000 autoboot
miod [Tue, 5 Aug 2008 23:02:34 +0000 (23:02 +0000)]
More SRM information, and how to make a non model 300 DEC 3000 autoboot
unattended when configured for serial console and no keyboard is plugged.

16 years agoBetter description of the installation steps:
miod [Tue, 5 Aug 2008 22:57:59 +0000 (22:57 +0000)]
Better description of the installation steps:
- document questions in proper order: hostname before network configuration,
  DNS only if network is configured, sshd and ntpd, aperture only on
  machines which need it, serial console only on machines which need it.
  This is done by splitting the end of OpenBSDCommonURL in various
  macros, OpenBSDInstallWrapup, OpenBSDInstallAperture, OpenBSDInstallConsole
  and OpenBSDInstallWrapupPart2.
- use the above macros when appropriate, OpenBSDInstallWrapup* being
  mandatory on all arches.
- remove serial console configuration blurb on sparc and sparc64, it is
  handled by OpenBSDInstallConsole now.

16 years agoMention mail.html for mailing list etiquette and information.
miod [Tue, 5 Aug 2008 22:53:51 +0000 (22:53 +0000)]
Mention mail.html for mailing list etiquette and information.

16 years agofix description of the mail(1) "p" command; from Aaron W. Hsu.
sobrado [Tue, 5 Aug 2008 17:15:39 +0000 (17:15 +0000)]
fix description of the mail(1) "p" command; from Aaron W. Hsu.

ok martynas@

16 years agoFix spurious 0 values on batteries seen on laptopts that have an embedded
marco [Tue, 5 Aug 2008 17:01:06 +0000 (17:01 +0000)]
Fix spurious 0 values on batteries seen on laptopts that have an embedded
controller.

Found, diagnosed and patch from Stefan Sperling <stsp@stsp.name>
Minor KNF changes while here.

Tested by many on a variaty of IBM laptops and others with and without
acpiec.

ok deraadt

16 years agoTell people to update their bootblocks (and how to do so) if they
miod [Tue, 5 Aug 2008 16:41:10 +0000 (16:41 +0000)]
Tell people to update their bootblocks (and how to do so) if they
intend to upgrade with bsd.rd.

16 years agoDo not advertise the default route with wrong metric of 0. Set it to 1
claudio [Tue, 5 Aug 2008 06:51:12 +0000 (06:51 +0000)]
Do not advertise the default route with wrong metric of 0. Set it to 1
by default. Reminded to commit this brad@, OK deraadt@

16 years agoOne last duplicate scsi initiator report in dmesg.
miod [Tue, 5 Aug 2008 04:29:03 +0000 (04:29 +0000)]
One last duplicate scsi initiator report in dmesg.

16 years agoAdd support for reading the MAC address for newer re(4) chipsets.
brad [Tue, 5 Aug 2008 01:58:47 +0000 (01:58 +0000)]
Add support for reading the MAC address for newer re(4) chipsets.
The current method results in a MAC address of all zeros.

Tested by bernd@/jcs@ with 8102E and fkr@ with 8168C.

From FreeBSD

ok jsg@

16 years agodo not count ethernet header twice in if_obytes stats.
damien [Mon, 4 Aug 2008 18:55:08 +0000 (18:55 +0000)]
do not count ethernet header twice in if_obytes stats.
do not count address family field twice in tun's if_obytes stats.

ok henning@ reyk@ deraadt@ for the ethernet bits.
ok deraadt@ for the tun bits.

16 years agorefuse to run on block devices; prompted by marco; ok marco@ millert@
otto [Mon, 4 Aug 2008 18:46:32 +0000 (18:46 +0000)]
refuse to run on block devices; prompted by marco; ok marco@ millert@
deraadt@

16 years agoAccept 'q' or 'Q' for quit at the --More-- prompt.
millert [Mon, 4 Aug 2008 18:42:09 +0000 (18:42 +0000)]
Accept 'q' or 'Q' for quit at the --More-- prompt.

16 years agoUpdate to BIND 9.4.2-P2 and adapt our dynamic select changes. OK deraadt@
millert [Mon, 4 Aug 2008 16:34:20 +0000 (16:34 +0000)]
Update to BIND 9.4.2-P2 and adapt our dynamic select changes.  OK deraadt@

16 years agofix extended partition support by handling chained EBRs correctly
reyk [Mon, 4 Aug 2008 15:58:13 +0000 (15:58 +0000)]
fix extended partition support by handling chained EBRs correctly
(using a recursion limit).  now OpenBSD can be installed in a
subsequent DOS/Linux-compatible extended partition.

ok krw@ deraadt@

16 years agoright spelling for Guinea-Bissau and Songkran;
sobrado [Mon, 4 Aug 2008 08:29:17 +0000 (08:29 +0000)]
right spelling for Guinea-Bissau and Songkran;
from comet-berkeley <comet@transbay.net> on FreeBSD PR conf/126199,
and Frantisek Holop.

fixes PR #5794.

ok jmc@

16 years ago"-a" is used if no arguments are given to wsconsctl.
sobrado [Mon, 4 Aug 2008 07:32:51 +0000 (07:32 +0000)]
"-a" is used if no arguments are given to wsconsctl.

tweaked by jmc@.

ok jmc@

16 years agoimprove SEE ALSO links; from Ingo Schwarze
jmc [Mon, 4 Aug 2008 07:08:23 +0000 (07:08 +0000)]
improve SEE ALSO links; from Ingo Schwarze
ok otto millert

16 years agoProperly output machdep.chipset values on alpha models without pci buses;
miod [Mon, 4 Aug 2008 04:26:42 +0000 (04:26 +0000)]
Properly output machdep.chipset values on alpha models without pci buses;
ok deraadt@

16 years agosync
miod [Mon, 4 Aug 2008 04:21:44 +0000 (04:21 +0000)]
sync

16 years agoDon't print a warning when the random device cannot be opened if
millert [Sun, 3 Aug 2008 21:53:12 +0000 (21:53 +0000)]
Don't print a warning when the random device cannot be opened if
we have a pre-chroot random device.  OK deraadt@ kettenis@

16 years agospread the unwritten wisdom newfs should be run on raw devs, not on
otto [Sun, 3 Aug 2008 21:43:19 +0000 (21:43 +0000)]
spread the unwritten wisdom newfs should be run on raw devs, not on
block devs; ok marco@ jmc@ millert@ deraadt@

16 years agoAdjust for change in 'struct sysent'. From Alexander Holupirek.
kettenis [Sun, 3 Aug 2008 21:31:53 +0000 (21:31 +0000)]
Adjust for change in 'struct sysent'.  From Alexander Holupirek.
Fixes PR 5898.

16 years agoMake buf_dealloc_mem() remove the mapping even if b_pobj is NULL. Otherwise
kettenis [Sun, 3 Aug 2008 18:08:54 +0000 (18:08 +0000)]
Make buf_dealloc_mem() remove the mapping even if b_pobj is NULL.  Otherwise
bread_cluster() leaks mappings which causes grief on VAC architectures.

Fixes bsd.rd on hppa and armish.

ok art@, beck@

16 years agomake U (abbreviation of unread) work as man page says
martynas [Sun, 3 Aug 2008 14:30:48 +0000 (14:30 +0000)]
make U (abbreviation of unread) work as man page says
ok millert@, jmc@.  sure theo

16 years agoSparc miniroot hasn't worked for a while, since the sed code to find
krw [Sun, 3 Aug 2008 14:18:00 +0000 (14:18 +0000)]
Sparc miniroot hasn't worked for a while, since the sed code to find
the root disk was broken. Simplify and fix said sed code. Problem
noted by okan@ and others, diagnosed by deraadt@, sed suggestions from
nordin@, jmc@, fgsch@, guenther@.

'get something in before sparc gets done' deraadt@

16 years agorevert part of rev. 1.65 where we set the address earlier. this seems
fgsch [Sun, 3 Aug 2008 02:02:14 +0000 (02:02 +0000)]
revert part of rev. 1.65 where we set the address earlier. this seems
to cause issues as per netbsd pr/39023.  deraadt@ yuo@ ok.

16 years agoUse correct terms as in the specs;
mglocker [Sat, 2 Aug 2008 21:52:37 +0000 (21:52 +0000)]
Use correct terms as in the specs;
"fragment" gets replaced by "sample".
"sample" gets replaced by "frame".
A sample is a peace of a frame (final image).  No functional changes.

OK deraadt@

16 years agoBetter wording for a comment.
mglocker [Sat, 2 Aug 2008 20:08:49 +0000 (20:08 +0000)]
Better wording for a comment.

16 years agoSpacing, sorting, and remove an unused prototype.
mglocker [Sat, 2 Aug 2008 20:05:28 +0000 (20:05 +0000)]
Spacing, sorting, and remove an unused prototype.

16 years agoWoops, remove #undef which was committed by mistake.
mglocker [Sat, 2 Aug 2008 17:30:31 +0000 (17:30 +0000)]
Woops, remove #undef which was committed by mistake.

16 years agoDon't print error message if GET_DEF request fails, since this is common
mglocker [Sat, 2 Aug 2008 16:34:45 +0000 (16:34 +0000)]
Don't print error message if GET_DEF request fails, since this is common
for some devices and we will fail back to GET_CUR then.

16 years agocompile inteldrm and radeondrm in GENERIC by default, but disabled.
oga [Sat, 2 Aug 2008 16:09:29 +0000 (16:09 +0000)]
compile inteldrm and radeondrm in GENERIC by default, but disabled.
This will let them get some more testing. Re-order things a little while
i'm here.

prompted by and ok deraadt@.

16 years agoMake the drm attach messages a lot prettier.
oga [Sat, 2 Aug 2008 16:03:05 +0000 (16:03 +0000)]
Make the drm attach messages a lot prettier.

the DRM_{INFO,ERROR,DEBUG} printf macros still need some __VA_ARGS__ love.

reyk@ and marco@ liked this, prompted by deraadt.

16 years agomake the drm unsupported printf more in line with how the rest of them
oga [Sat, 2 Aug 2008 15:50:34 +0000 (15:50 +0000)]
make the drm unsupported printf more in line with how the rest of them
work.

ok deraadt@

16 years agoIgnore the ata channel on 164SX when controller is the built-in one, when
miod [Sat, 2 Aug 2008 13:48:09 +0000 (13:48 +0000)]
Ignore the ata channel on 164SX when controller is the built-in one, when
looking for the boot device; PR #5895

16 years agodo not write the pf state key pointer to the pkhdr.
henning [Sat, 2 Aug 2008 12:34:37 +0000 (12:34 +0000)]
do not write the pf state key pointer to the pkhdr.
effectively disables state key linking and pcb linking - unfortunatly,
there seems to be a bug somewhere in there or triggered by it that
we haven't tracked down yet, so we disable this for now to be on the safe
side for release.
lots of testing and analysis from todd and david.

16 years agoIf a format descriptor doesn't contain any frame descriptors even if it
mglocker [Sat, 2 Aug 2008 12:32:23 +0000 (12:32 +0000)]
If a format descriptor doesn't contain any frame descriptors even if it
claims to (as seen on the M$ LifeCam NX6000), abort further processing.
Safes us from potential NULL pointer derefs.

16 years agoFix integer truncation in pcread() and ptcwrite(). ok miod, otto, deraadt.
stefan [Sat, 2 Aug 2008 11:39:38 +0000 (11:39 +0000)]
Fix integer truncation in pcread() and ptcwrite(). ok miod, otto, deraadt.

16 years agofixes from Alexander Holupirek, documentation/5899:
jmc [Sat, 2 Aug 2008 09:17:46 +0000 (09:17 +0000)]
fixes from Alexander Holupirek, documentation/5899:

- fix a typo in lkm.4 (different fix used)
- document securelevel(7) (again, different fix taken)

whilst here, some minor repair:

- no need to wrap section names in quotes
- tidy up FILES a little
- new sentence, new line

16 years agoFix typo. Reported by Maxim Belooussov.
mglocker [Sat, 2 Aug 2008 08:51:25 +0000 (08:51 +0000)]
Fix typo. Reported by Maxim Belooussov.

16 years agodo not use IEEE80211_QOS_TID. its definition in ieee80211.h is
damien [Sat, 2 Aug 2008 08:35:48 +0000 (08:35 +0000)]
do not use IEEE80211_QOS_TID.  its definition in ieee80211.h is
wrong.  hard-code 0xf for now.  will be fixed post-release.

16 years agofix printf format specifiers; ok krw@ millert@ deraadt@
otto [Sat, 2 Aug 2008 08:34:36 +0000 (08:34 +0000)]
fix printf format specifiers; ok krw@ millert@ deraadt@

16 years agodo not touch m after it has been enqueued with IFQ_ENQUEUE().
damien [Sat, 2 Aug 2008 08:33:21 +0000 (08:33 +0000)]
do not touch m after it has been enqueued with IFQ_ENQUEUE().
copy m_pkthdr.len and m_flags before and use that after to update
the statistics.

from altq(4) man page and for consistency with what is done in
other parts of the tree.

16 years agoprint the correct value in a debug message.
damien [Sat, 2 Aug 2008 08:25:59 +0000 (08:25 +0000)]
print the correct value in a debug message.

16 years agotypo in a comment. no binary change.
damien [Sat, 2 Aug 2008 08:24:15 +0000 (08:24 +0000)]
typo in a comment. no binary change.

16 years agoDrop frames that are received unencrypted when WEP is on or when
damien [Sat, 2 Aug 2008 08:20:16 +0000 (08:20 +0000)]
Drop frames that are received unencrypted when WEP is on or when
WPA is on and RX protection for TA is on.
Keep track of the TX/RX protection for each node when WPA is on.

tested by djm@ (ral+wpa), ckuethe@ (ath-noenc) and krw@ (wpi<->ral+wpa).
hints from bluhm@
has been in snaps for a few days.

pointed out by bluhm@ something like 1 year ago but we did not have
the right infrastructure to fix it properly at that time.

ok deraadt@

16 years agowhitepsace -> whitespace. From Matthew Clarke via bugs@.
krw [Sat, 2 Aug 2008 04:29:51 +0000 (04:29 +0000)]
whitepsace -> whitespace. From Matthew Clarke via bugs@.

16 years agousage() has to exit 1; Gleydson Soares
deraadt [Sat, 2 Aug 2008 04:13:37 +0000 (04:13 +0000)]
usage() has to exit 1; Gleydson Soares

16 years agoDocument the MAKEFILE variable as unreliable.
bluhm [Fri, 1 Aug 2008 14:19:09 +0000 (14:19 +0000)]
Document the MAKEFILE variable as unreliable.
ok jmc espie

16 years ago- Use defined return values wherever possible instead inventing
mglocker [Fri, 1 Aug 2008 12:16:52 +0000 (12:16 +0000)]
- Use defined return values wherever possible instead inventing
custom ones.
- Define functions which use USB return values with usbd_status
instead int.
- Define functions which always return 0 with void instead int.
- (void) function calls which don't check the return code.

16 years agoIf no format descriptors have been found, abort attachment. Adjust some
mglocker [Fri, 1 Aug 2008 08:20:26 +0000 (08:20 +0000)]
If no format descriptors have been found, abort attachment.  Adjust some
DPRINTF and printf messages while here.

16 years agoforce route priority to RTP_DEFAULT unconditionally, effectively disabling
henning [Fri, 1 Aug 2008 05:08:07 +0000 (05:08 +0000)]
force route priority to RTP_DEFAULT unconditionally, effectively disabling
route prios. playing safe for 4.4-release, as not all parts of the system
deal correctly with route prios yet. ok claudio

16 years agosilence failures to run scsi_prevent. dmesg spam sucks.
dlg [Fri, 1 Aug 2008 01:44:20 +0000 (01:44 +0000)]
silence failures to run scsi_prevent. dmesg spam sucks.

ok krw@ marco@ miod@ deraadt@

16 years agoThis log message is an excruiciating pain in the ass when it repeats 4000 times a...
beck [Fri, 1 Aug 2008 00:32:56 +0000 (00:32 +0000)]
This log message is an excruiciating pain in the ass when it repeats 4000 times a second on a machine you need debug log on, and is actually used as a cacheing nameserver. remove just this one line of debug log to save people's sanity
ok djm@

16 years agoWait much longer for clock stabilization.
damien [Thu, 31 Jul 2008 20:14:17 +0000 (20:14 +0000)]
Wait much longer for clock stabilization.

From jcs@ and in accordance with what the Intel Linux driver does.

16 years agoUpdate to sudo 1.6.9p17
millert [Thu, 31 Jul 2008 16:44:03 +0000 (16:44 +0000)]
Update to sudo 1.6.9p17

16 years ago- Don't relay on bFormatIndex as an internal array index, since this
mglocker [Thu, 31 Jul 2008 15:26:25 +0000 (15:26 +0000)]
- Don't relay on bFormatIndex as an internal array index, since this
field is unreliable and can start with any number.  Use an own internal
array index instead.

- If the read buffer is too small, return a propper error to the calling
functions.  Just check the buffer size if we use the read(2) method since
it doesn't affect mmap(2).

Fixes kernel crashes seen with the M$ LifeCam NX-6000 and internal
(laptop) Sonix chipsets.

Tested by jcs@ (Sonix) and myself (NX-6000).

OK deraadt@

16 years agodon't allocate space for empty banners; report t8m at centrum.cz; ok deraadt
markus [Thu, 31 Jul 2008 14:48:28 +0000 (14:48 +0000)]
don't allocate space for empty banners; report t8m at centrum.cz; ok deraadt

16 years agoath(4) now in GENERIC;
jmc [Thu, 31 Jul 2008 14:03:26 +0000 (14:03 +0000)]
ath(4) now in GENERIC;

16 years agoDo not allow negative or zero delay values from the command line,
canacar [Thu, 31 Jul 2008 04:24:11 +0000 (04:24 +0000)]
Do not allow negative or zero delay values from the command line,
use the same check as the -s option. Noticed by johan@

16 years agoGive iada_modname[] room for a terminating NUL in struct ioasicdev_attach_args;
miod [Wed, 30 Jul 2008 22:02:09 +0000 (22:02 +0000)]
Give iada_modname[] room for a terminating NUL in struct ioasicdev_attach_args;
ok deraadt@

16 years agoIn the .Fn entries for timeout_add_usec/nsec, don't call the parameter
mk [Wed, 30 Jul 2008 19:41:32 +0000 (19:41 +0000)]
In the .Fn entries for timeout_add_usec/nsec, don't call the parameter
``sec''.  Instead, use usec/nsec.

Agreed with/no opposition from blambert.

16 years agoAdd ath(4).
brad [Wed, 30 Jul 2008 18:51:52 +0000 (18:51 +0000)]
Add ath(4).

ok deraadt@