Commit Graph

92945 Commits

Author SHA1 Message Date
lukem 80ce7c6cb7 Fixes derived from [bin/15563] submitted by Ron Roskens:
- Don't su(1) to ${name}_user if running as that user.
- Support $procname as the name of the process to search for.
  Defaults to the value of $command.
2002-02-25 12:49:33 +00:00
lukem 6d0e6a9481 add rc.subr(8) 2002-02-25 12:07:45 +00:00
lukem 868c9ba182 rc.subr(8) - functions used by system shell scripts. Closes PR [misc/10828]. 2002-02-25 12:05:13 +00:00
wiz a2a58e2352 Drop trailing space. 2002-02-25 11:21:38 +00:00
lukem 5bf3bfa2bb fix spelo. crank copyright year 2002-02-25 08:11:23 +00:00
atatat 681a706ec7 Change a 62 to a 16, so that the proper number of slots is skipped.
Fixes PR 15650.
2002-02-25 07:34:55 +00:00
lukem 04784cf374 Don't run "status" as if "force" is set, thus reverting part of rev 1.29.
I can't remember the rationale for why I made that change in the first place,
and there's been some good arguments presented to me as to why the rcvar
should be checked before status is run.
2002-02-25 07:12:47 +00:00
lukem 0ccd65df49 run_rc_script() improvements:
- always unset the variables used by run_rc_command() before sourcing an
  rc.d script, rather than just when rc_fast_and_loose is in effect.
  this allows run_rc_command() to be used in .sh scripts (with care).
- remove comment describing now-former limitation of .sh scripts.
- make the rc_fast_and_loose check only after the `` not *.sh / not scratch
  / script-is-executable '' checks.  rc_fast_and_loose now behaves a lot more
  like the normal operation, in that it skips scratch files and
  non-executable files
2002-02-25 06:58:14 +00:00
lukem 10b7474494 the rc_fast_and_loose behaviour is enabled if the variable != "", not
if it == "YES", so fix the documentation...
2002-02-25 04:23:20 +00:00
lukem 319f9d9903 explicitly mention that rc.d contains sh(1) scripts 2002-02-25 04:09:15 +00:00
christos 230cba3981 - include <sys/socket.h> because we use sockaddr_storage
- it is PATH_LASTLOGX not PATH_LASTLOG
2002-02-25 03:19:15 +00:00
itojun 8e96646992 do not age global address on loopback interface. sync with kame 2002-02-25 02:22:59 +00:00
itojun 8832af6e59 correctly enforce ipsec policy check on forwarding case.
From: Greg Troxel <gdt@ir.bbn.com>, Bill Chiarchiaro <wjc@work.cleartech.com>
2002-02-25 02:17:55 +00:00
augustss 306aa99ff8 Some portability improvement.
Add define for usb.h version.
2002-02-25 00:46:37 +00:00
kleink 1bab3ca63c * Sync with implementation: declare the `id' argument to pci_conf_hook()
as pcireg_t, which is more appropriate.
* Fix the argument order to pci_conf_hook (d'oh!).
2002-02-25 00:40:19 +00:00
chs 811c8fad2b in amap_pp_adjref(), avoid unnecessary fragmentation of the am_ppref array
by merging the first changed chunk with the last unchanged chunk if possible.
2002-02-25 00:39:16 +00:00
enami 41e1be38c5 - Kill whitespaces at the end of line.
- Wrap long line.
2002-02-25 00:39:04 +00:00
kleink d5fe2ac32f Declare the id argument to pci_conf_hook(9) as pcireg_t, which is more
appropriate.
2002-02-25 00:34:13 +00:00
kleink 6805e97fff Make the logic for wildcarding the I/O address actually achieve its purpose. 2002-02-25 00:04:49 +00:00
matt b5355576f3 Change TARGET_NAME to use ${GNU_ARCH_PLATFORM} instead of
${GNU_ARCH_MACHINE}-netbsd.  This allows platforms to that were
formerly a.out but ELF to be foo--netbsdelf.  It also adds the
missing 2nd "-" which was missing in the former definition.
2002-02-24 22:15:39 +00:00
lukem b799ed2973 first variable argument to "read" is not optional 2002-02-24 21:41:52 +00:00
thorpej c92241b420 Correct a comment. 2002-02-24 20:51:56 +00:00
leo fa1cc12897 Move some disk I/O and disklabel functions into the library. The code
mostly originated from aptck. Need an extra pass over aptck to cut out all
functionality now moved to the library...
2002-02-24 20:51:07 +00:00
thorpej 4af7d26f26 Fix a couple of comments. 2002-02-24 20:44:28 +00:00
thorpej 0a4bc3ccd5 This file is obsolete. 2002-02-24 20:32:40 +00:00
thorpej 39c165f331 Add support for relocating gzboot's .text out of flash and into
RAM (while still decompressing the image directly from flash).

This makes gzboot run a LOT faster.
2002-02-24 20:29:44 +00:00
dbj 5f15cedc89 solve polled adb keyboard problems with dropped keys and unsynced caps lock
by queueing polled keys.
2002-02-24 20:20:20 +00:00
uch 31ae0ac1e9 clean up Makefiles 2002-02-24 20:10:53 +00:00
matt 796a42b608 Only ELF has S_IS_WEAK. 2002-02-24 19:50:14 +00:00
uch 6bda0e36c3 use sh_clock_get_pclock() instead of PCLOCK. 2002-02-24 19:35:42 +00:00
thorpej d819468d64 Improve zlib error reporting. 2002-02-24 18:36:29 +00:00
uch 3c3da7bf57 _start -> start. 2002-02-24 18:24:15 +00:00
uch 693be1956c Move common exception vector and scheduler code to
sh3/sh3/exception_vector.S and sh3/sh3/locore_subr.S. exception
vectors are installed by sh_cpu_init().  machine/locore.S contains
kernel entry, interrupt handler, and some MD code.
2002-02-24 18:19:40 +00:00
uch 72589177e0 remove obsolete file. 2002-02-24 18:13:06 +00:00
martin 8fa52d5f5c Traceroute works now. 2002-02-24 17:24:21 +00:00
martin a7d662b71c Clear M_BCAST and M_MCAST on outgoing mbufs.
Don't copy ttl from the inner packet to the encapsulating packet. Make
the outer ttl sysctl'able. This should close PR 14269 from Jasper Wallace
(change partly from there) and it makes traceroute work over gre tunnels.
2002-02-24 17:22:20 +00:00
wiz a287908210 Mark mk.conf optional, addressing install/15572. 2002-02-24 17:17:48 +00:00
martin fe97d3f7c3 Clear M_BCAST and M_MCAST flags on mbufs before passing them down to the
ethernet driver - just in case it would look at them and do the wrong
thing.
2002-02-24 17:11:53 +00:00
is 3763cdd026 remove unused prototype (a duplicate with a typing error) 2002-02-24 15:20:05 +00:00
wiz 7cb8a308ef Slight formatting improvement, and a grammar fix. 2002-02-24 13:30:07 +00:00
kleink 5410bbdb16 In order to support both indirect PCI configuration space access as well
as direct-mapped PCI configuration space access (such as implemented on
the IBM 27-82650 PCI Host Bridge), switch to a function vector based
PCI configuration space access implementation.  The appropriate PCI
chipset tag is provided by platform-specific code.
2002-02-24 13:19:06 +00:00
lukem feea5a8afb sshd_conf_dir 2002-02-24 13:00:41 +00:00
lukem 7d6824228d Support alternate config dir for sshd conf file and keys (defaults to "/etc").
Based on [misc/12473] from Jim Bernard.
2002-02-24 12:50:08 +00:00
kleink 73cdf7f537 Get rid of cf_unit misuse. 2002-02-24 11:22:00 +00:00
kleink 5b6184e81b Upon reflection, really choose the right pseudo-segment for PCI memory space. 2002-02-24 10:58:41 +00:00
kleink 50838c01e1 Move battable entries for I/O to their correct pseudo-segment offsets;
while BAT spills currently don't happen, it should be possible for the
handlers to find them at the expected address anyway.
2002-02-24 10:56:54 +00:00
lukem a771f7472b remove USE_SYSINST goop that was obviously copied from the i386 stuff
and unconditionally add the sysinst list to LISTS; the goop is only in
the i386 stuff because that has some ramdisks which don't use sysinst,
where here on the hp300 it's not an optional item :)
2002-02-24 09:57:18 +00:00
takemura 6df64c4e5e Make it compilable even if PCI wasn't configured. 2002-02-24 09:16:07 +00:00
matt 838ad806e7 Also build ldconfig is MACHINE_ARCH is arm or vax buf OBJECT_FMT=ELF 2002-02-24 03:18:44 +00:00
matt 75dee250ea Missed an sp in the great %sp cleanup. 2002-02-24 02:43:46 +00:00