Commit Graph

94378 Commits

Author SHA1 Message Date
lukem
d40d675711 - Add run_rc_command() control variable $command_interpreter
If set, the first line of $command is read, the leading #! is
  removed, whitespace is normalised, the first word is checked
  against $command_interpreter, and the result is used as the
  string to match in the ps(1) output.
  This code isn't infallable, but works for common cases such as
	#!/bin/sh
	#!  /usr/pkg/bin/perl  -w
  This helps solve the problem described in [bin/15563], and by
  Ed Ravin on tech-userlevel.

- Move the common elements of check_process() and check_pidfile() into
  _find_processes(), and call appropriately.
2002-03-21 12:21:00 +00:00
pk
53dab8cf3b Darn.. remove test code from previous commit. 2002-03-21 11:42:21 +00:00
pk
971b06b979 When looking at predecessor/successor dependencies, we need to consult a
cohort's centurion as well.
2002-03-21 11:34:17 +00:00
pk
19c8da4424 Crank up robustness. 2002-03-21 10:54:50 +00:00
kent
4c9cd8bc91 Apply a patch by Mark Davies.
http://mail-index.netbsd.org/port-i386/2002/03/18/0000.html

Check codec status in auich_read/write_codec().
2002-03-21 09:17:20 +00:00
itohy
a56d289043 I have Prism2 with 0.8.2 firmware, and have no problem
using WEP without promisc on the device.
2002-03-21 07:31:37 +00:00
petrov
8805e1b92d Not needed debug stuff deleted. 2002-03-21 06:56:31 +00:00
isaki
fa9ce0dedb Fix previous commit. modifying cc is only when factor_denom > 1.
reviewed by kent@netbsd.org
2002-03-21 05:22:24 +00:00
phil
9ee53e66b1 Fix bug in AVL tree routines. Correct man page. 2002-03-21 05:15:39 +00:00
itojun
0c85427e40 remove unneeded #if 2002-03-21 04:41:03 +00:00
uwe
bf8a9d7f0d Fix cast in sbus_promaddr_to_handle(). 2002-03-21 04:32:25 +00:00
itojun
53a52c0ad8 pfkey statistics was presented in wrong direction. 2002-03-21 04:23:36 +00:00
uwe
284be9ba0c Remove struct ebus_dmac_reg to discourage indiscriminate usage of
BUS_SPACE_MAP_LINEAR on sparc64.  Requested by eeh.
2002-03-21 04:15:29 +00:00
itojun
418fefdef0 remove a function no longer in use 2002-03-21 04:10:21 +00:00
uwe
fe61b5717e Drop BUS_SPACE_MAP_LINEAR and properly bus_space_*-ify this so that it
uses accessors.  Requested by eeh.
2002-03-21 04:09:27 +00:00
uwe
2837da095f PROM patches for JavaStation-1. 2002-03-21 04:04:12 +00:00
uwe
770c31348b _PATH_SOUND0 should be opened O_RDONLY (obvious pasto). 2002-03-21 03:48:24 +00:00
enami
4aaba8dea1 - Allocate enough space to hold an object.
- No need to request to zero clear when we overwrite soon.
2002-03-21 03:26:55 +00:00
billc
addff245d7 Remove the 'admin' category. This didn't turn out the way we
had planned, and users are confused what this category was for.
2002-03-21 03:04:00 +00:00
itojun
900347e4d0 comment wording 2002-03-21 02:27:50 +00:00
itojun
8cbb556660 protect in6pcb queue operation by splnet, as pcb queue will be touched
by in6_pcbpurgeif() under splnet.
2002-03-21 02:11:39 +00:00
christos
a7ffc9ca78 don't print extra newlines on errors. 2002-03-21 01:24:43 +00:00
eeh
e9c8c1eee3 Add missing semicolon. 2002-03-21 01:19:41 +00:00
eeh
ecdc1104a9 Add missing brace. 2002-03-21 01:18:42 +00:00
eeh
e6bf9fbdd2 Cleanup. 2002-03-21 01:17:08 +00:00
eeh
7fba99a774 Cleanup. 2002-03-21 00:48:43 +00:00
eeh
a1649fc334 Parenthesise macro arguments. 2002-03-21 00:43:42 +00:00
eeh
0cb6a3a2a5 Add bus_space_vaddr(). 2002-03-21 00:30:41 +00:00
simonb
6fccd7ab03 Open the raid device read-only for the commands that don't need
write access.  With the default set up this allows users in group
operator to query the status of the raid devices.

Fixes PR admin/15840.
2002-03-21 00:27:11 +00:00
eeh
85c03d9775 Properly bus_space_*=ify this so it uses accessors. 2002-03-21 00:25:41 +00:00
eeh
943373dde4 Use bus_space_vaddr(). 2002-03-21 00:18:36 +00:00
eeh
86ff330657 Fixup attachment code to use sbus_promaddr_to_handle() and not specify
BUS_SPACE_MAP_LINEAR.
2002-03-21 00:16:15 +00:00
thorpej
6440db6488 * Add a NetBSD Vendor Class Identifier option as proposed on tech-net
in message <20020216172527.C23901@dr-evil.shagadelic.org>.
* Print the bootp/dhcp response, as is done for rarp/bootparam
  responses.
* Nuke bootp_flags and BOOTP_PXE; they're not used, nor should they be.
2002-03-20 23:10:39 +00:00
thorpej
df292ba439 Add a NetBSD Vendor Class Identifier option as proposed on tech-net in
message <20020216172527.C23901@dr-evil.shagadelic.org>.
2002-03-20 23:07:37 +00:00
itojun
007db8b52a remove obsolete comment 2002-03-20 22:47:59 +00:00
ross
e1a248fa36 use canonical indirect jmp & call syntax to squelch new as(1) warning 2002-03-20 22:06:18 +00:00
eeh
87eac0acc3 Use bus_space_vaddr(). 2002-03-20 20:41:35 +00:00
eeh
686c857e16 Get rid of unnecessary BUS_SPACE_MAP_LINEAR. 2002-03-20 20:39:15 +00:00
gmcgarry
bf49f00fe6 Use host tool elf2ecoff if available. 2002-03-20 20:18:00 +00:00
gmcgarry
dd71debbae Test for USETOOLS properly.
cVS: ----------------------------------------------------------------------
2002-03-20 20:15:18 +00:00
ross
6a723063ac nonfunctional warning fix: use canonical indirect call syntax 2002-03-20 20:06:51 +00:00
eeh
fbce8217dd Oops. Missing semicolon. 2002-03-20 19:32:42 +00:00
eeh
47ef6a5146 Overhaul bus space.
bus_space_handle_t now holds an address and two ASIs, one for normal accesses
and one for streaming accesses.  This allows to map individual handles
different ways, so some can use MMU bypass accesses and others use virtual
addresses.  bus_space_map() will now create handles that use bypass accesses
unles BUS_SPACE_MAP_LINEAR is passed in.  So only pass in BUS_SPACE_MAP_LINEAR
if you absolutely *need* to use bus_space_vaddr().  This removes at least one
extra level of indirection and should reduce TLB misses.

32-bit kernels have problems accessing 64-bit addresses, so they always use
virtual addresses.
2002-03-20 18:54:46 +00:00
eeh
bd48e83999 DDB_ONPANIC now needs a number. 2002-03-20 18:43:53 +00:00
eeh
bd22d9d0f1 Add PTE_WIRED bit to keep track of wired pages. 2002-03-20 18:41:53 +00:00
eeh
8ccad96d54 Add sbus_promaddr_to_handle() to convert a prom address to a bus_space_handle_t. 2002-03-20 18:39:44 +00:00
pk
e9b668c861 Xref: parse.c, rev 1.46; make.c, rev 1.23
In these revisions `::' dependency handling was simplified by not linking
the cohort nodes into the dependency graph. This broke dependency checking
on all but the first instance of a `::' target since all of the cohort nodes
now just form a collection of disconnected dependency graphs.

Fix this by keeping a back-reference in each cohort to its leader (the
first instance of a :: node with the same name) and a count of the number
of cohorts that need to be made before dependent nodes are scheduled.

Classically, we'd need six centurions for cohort, but in this case one
suffices...
2002-03-20 18:10:30 +00:00
christos
36244cee28 kill PS_STRINGS, STACKGAPBASE_UNALIGNED, STACKGAPBASE 2002-03-20 18:00:07 +00:00
christos
7e277b5782 kill remaining PS_STRINGS instances. 2002-03-20 17:59:22 +00:00
eeh
8ea2c88ec2 Clean up bus space a bit. XXX is sc_buffer ever actually used after it's
mapped in?
2002-03-20 17:59:16 +00:00