Commit Graph

152033 Commits

Author SHA1 Message Date
rpaulo 6080ffe830 PR 30716: rc.d/ntpd{,ate} precedes rc.d/rtsold. By Ed Hynan.
rc.d/rtsold should be in the same start up line as dhclient.
2006-10-07 21:41:41 +00:00
thorpej 2e2d300f43 Grr, adjust last so that it works with our busted lint(1). 2006-10-07 21:40:46 +00:00
gdamore 0ccaea15ce Fix an incorrect calculation for the destination X direction when doing
blitting.  Thanks to David Redman (Tadpole) for noticing it.   This probably
escaped notice before, since we never do overlapping blits (in the X
direction), but this fix may prevent problems if someone ever does use it
for that.
2006-10-07 21:36:12 +00:00
apb bed8b72282 Clarify that gethostbyname and gethostbyname2 can deal with
string representations of numeric addresses.  PR 28667
2006-10-07 21:30:39 +00:00
he 80d2ffd230 Cast addresses to int before doing arithmetic on them, as in uses
of roundup().
2006-10-07 21:13:02 +00:00
elad 854038392c PR/30819: Peter Postma: src/usr.bin/shlock has no license
Thanks to Matt Fleming for contacting Erik E. Fair and getting his
agreement to put a TNF license on this.
2006-10-07 21:13:00 +00:00
bjh21 c3d7e34641 hardsplx() is declared in <machine/intr.h>, so there's no need to declare it
here.
2006-10-07 21:12:00 +00:00
he 8a778982cb Make this actually build again -- cast addresses to int before
doing arithmetic on them, such as roundup().
2006-10-07 21:05:46 +00:00
elad 9c5eec0043 PR/23152: Matthew Mondor: Minor improvements to section 2 man pages for
NetBSD 1.6.1

Well we're long gone from NetBSD 1.6.1 but I adapted the patch to -current
as it seemed reasonable. Thanks for submitting!
2006-10-07 21:03:51 +00:00
bjh21 0e30542fee Make setsoftnet() into a macro, which seems to be the usual approach on systems
with generic soft interrupts.
2006-10-07 20:58:00 +00:00
gdt 058379036b Use IEEE80211_RADIOTAP_DBM_ANTSIGNAL (and NOISE) instead of DB,
because the Atheros values are at least close.
(discussed on tech-net)
2006-10-07 20:54:40 +00:00
rpaulo 20c84defc6 PR 34692: wpa_supplicant script.
By Jukka Salmi.
2006-10-07 20:52:52 +00:00
bjh21 0ddc4aa582 Make splsched() and splstatclock() into aliases for splhigh(), since
practically no hardware interrupts can occur above splstatclock().
This also makes splsched() faster, which is good since it's called an awful
lot.
2006-10-07 20:51:47 +00:00
thorpej 569c003c39 Use explicit initializers in STDEXT 2006-10-07 20:46:59 +00:00
yamt 94e70819e1 - make sackhole_pool static.
- unify duplicated hole allocation and accounting code.
(no functional changes.)
2006-10-07 20:16:04 +00:00
elad 925c6f17f2 PR/29722: Andreas Kling: chpass temporary files in /etc not always unlinked
We had a (long) discussion about this in #NetBSD-code and the consensus was
that /tmp should always be sticky (+t), and as such it is safe to create
the temporary files for chpass(1) in there. We added a check to guarantee
this (and bail out otherwise) and now temporary files are created in /tmp,
not filling up /etc.

Thanks to rivo nurges et al.
2006-10-07 20:09:09 +00:00
kardel 403d759108 - simplify code
- remove any 'permission checks' via geteuid() - with upcoming
  security models these might not match the model any more
- this also fixes a bug where ntp_adjtime() was denied (EPERM)
  even though only a legit read status was performed
2006-10-07 20:02:01 +00:00
yamt 5a0a4d9df3 revert tcp_sack.c rev.1.15 because it's unnecessary.
all callers of these functions are at splsoftnet already:
	tcp_sack_option
		tcp_input ok

	tcp_del_sackholes
		tcp_input ok

	tcp_free_sackholes
		tcp_close ok
		tcp_timer_rexmt ok
		tcp_timer_2msl ok
2006-10-07 19:56:14 +00:00
yamt 38fb8d4a38 revert tcp_close part of tcp_subr.c rev.1.200 because it's unnecessary.
all callers of tcp_close are at splsoftnet already:
	tcp_close
		tcp_input ok
		tcp_disconnect
			tcp_usrreq ok
		tcp_usrclosed
			tcp_usrreq ok
			tcp_disconnect
		tcp_timer_2msl ok
		tcp_drop
			tcp_usrreq
			tcp_disconnect
			tcp_timer_rexmt ok
			tcp_timer_persist ok
			tcp_timer_keep ok
			tcp_input
			syn_cache_get
				tcp_input
2006-10-07 19:53:42 +00:00
yamt 8f0e8c48af tcp_sack_output: whitespace. 2006-10-07 19:26:45 +00:00
yamt c1f8725acd tcp_del_sackholes: whitespace. 2006-10-07 19:26:07 +00:00
apb ff5cff67a1 regen 2006-10-07 19:19:14 +00:00
elad 444bc3c8be Input validation, from David A. Holland on #NetBSD-code 2006-10-07 18:29:02 +00:00
elad 7d7720ce94 Don't print uninitialized errno, from David A. Holland on #NetBSD-code 2006-10-07 18:26:40 +00:00
rjs 69dfdd82db Allow kernel to build with KGDB enabled. 2006-10-07 18:14:42 +00:00
rjs 71d88cb355 Make it build without debugger. 2006-10-07 18:11:36 +00:00
elad 26e2dfd17b PR/29274: Anders Hjalmarsson: MOP booting Alphaserver 2000 does not find
root device

Patch applied, thanks!
2006-10-07 18:04:38 +00:00
oster 71b8d6a6de It's ok to wait for memory for the emergency buffers. If we don't get
that memory, fail harder, and bail on configuring the RAID array.
Addresses PR#25787.
2006-10-07 17:42:53 +00:00
mhitch fb0de0c946 Use atomic operations for setting ssir. Fixes problem when compiled without
optimization of losing a scheduled software interrupt and stalling the
softclock processing.
2006-10-07 17:31:44 +00:00
elad 1232ea27c4 PR/18906: roskens at elfin dot net: misc. select() to poll() updates.
Adapted to -current by myself, thanks for the patch!
2006-10-07 17:27:57 +00:00
cube 007b992d97 Synchronise documentation with code. E.g., config_search is no more, but
instead you have config_search_{loc,ia}.  Add documentation for
config_finalize_regsiter, too.  Mostly fixes PR#32106 by Gavan Fantom, as I
think the cfdriver_* and cfattach_* stuff should be documented too, but I'm
not entirely sure where yet.
2006-10-07 17:26:24 +00:00
apb bfb3f336ef Document "find ... -exec ... {} +". Also make some other minor updates.
Changes initially supplied by John Hawkinson in PR 20470, but edited by me.

/msg wizd: search for ".sp"
2006-10-07 17:06:28 +00:00
apb b90dcb5d01 Add support for "find ... -exec ... {} +".
The code is from John Hawkinson in PR 20470.  I adapted it to current,
and made some KNF and comment changes.
2006-10-07 17:04:02 +00:00
elad a754c75075 PR/31956: Andrew Daugherity: Makefile.yp: shadow.byname map should respect
MINUID

Patch applied and verified by francisg@#NetBSD-code, thanks!
2006-10-07 16:54:38 +00:00
rpaulo e3c4f7c039 PR 34692: wpa_supplicant script.
By Jukka Salmi.
2006-10-07 16:50:34 +00:00
apb dbe2acacef Add some missing entries in lists, and some serial commas.
Inspired by PR 20470 from John Hawkinson.
2006-10-07 16:34:06 +00:00
elad 09256aac55 PR/31232: Wim Lewis: tools/compat doesn't check for pre-existence of
strmode()

Commited slightly different diff, input and okay from apb@
2006-10-07 16:19:35 +00:00
yamt 87f4568336 tcp_output: remove duplicated code and tweak indent. no functional changes. 2006-10-07 16:16:42 +00:00
rpaulo 07bf961df3 PR 10301: Change "oops" to something more interesting. (but less funny :-). 2006-10-07 15:49:00 +00:00
elad d71fc8765e PR/28786: Jukka Salmi: mtree bug (in verify.c)
Apply patch from Peter Bex, thanks!
2006-10-07 15:35:51 +00:00
elad e3f885bca5 PR/31053: Roland Illig: Enhancement: getconf -a to list all applicable
variables

Thanks for the patch!
2006-10-07 15:20:44 +00:00
rpaulo 1921cb5602 PR 30870: Add user ``_proxy'' and make pf's ftp-proxy use it.
Initial patch by rivo nurges, thanks!
2006-10-07 15:10:17 +00:00
tsutsui 8654277cae Remove unneeded cast which eliminates part of valid interrupt mask bits.
Closes PR powerpc/33108.
2006-10-07 14:59:52 +00:00
bjh21 67b03eaa6b in L_cksumdata, stash R14 on the stack before doing anything. This is
helpful on acorn26, since kernel-mode page faults corrupt R14.  Doing this
seems to help with the occasional crashes I've seen in this routine.
2006-10-07 14:57:58 +00:00
tsutsui 931bfebdc1 Fix an obvious typo. Patch from seebs in PR port-powerpc/33107. 2006-10-07 14:44:22 +00:00
peter 75809b1d7f Fix compilation with IRFRAMET_DEBUG (use %zu/%zd for sizes). 2006-10-07 14:31:53 +00:00
peter 0e931e0449 Fix compilation with AN_DEBUG (use %zu instead of %d). 2006-10-07 14:30:27 +00:00
peter 677fb8d602 Backout audio changes that crept in (not ready yet). 2006-10-07 14:27:54 +00:00
peter fe52b6e2b5 Add hpcarm devices. 2006-10-07 14:17:12 +00:00
peter 9d1c827247 Add manpages for some Jornada 7xx drivers. 2006-10-07 14:15:36 +00:00