Commit Graph

61030 Commits

Author SHA1 Message Date
lukem 315a29d6de * in secure mode (-s), still open the inet sockets but do a shutdown(,SHUT_RD)
on each of them, and don't bother listening on them. this allows messages
  to be forwarded even with -s enabled.

  XXX: not 100% sure if this is susceptable to a DoS, e.g someone filling
  up kernel buffers with a backlog of packets not being read, but shutdown(2)
  should prevent that even if it possibly doesn't at this time.

* minor KNF
2000-02-18 09:44:46 +00:00
veego 7ff0f82bff Add <dev/microcode/isp/asm_pci.h>, <dev/microcode/isp/asm_sbus.h>,
<dev/microcode/isp>, <dev/pci/if_fxpreg.h>, <dev/pci/if_fxpvar.h>,
<sys/dmap.h>.
2000-02-18 09:40:56 +00:00
soren e4e0e80102 Add luna68k, news68k, prep, sparc64.
Rename pica to arc.
2000-02-18 08:57:05 +00:00
tsubai e7edda84b7 Remove vmparam.h. 2000-02-18 08:50:25 +00:00
nisimura eb30f016ae Group and reorder old SCSI driver descriptions into a single
location.   Nuke files.scsipi inclusion which has never been useful.
2000-02-18 08:41:21 +00:00
itojun 1ae287d8f9 fix alignment issue with 64bit arch (packed struct/SIOCGIFCONF).
From: =?iso-8859-1?Q?G=F6ran_Bengtson?= <goeran@cdg.chalmers.se>
2000-02-18 08:26:01 +00:00
itojun bd3400c592 more fix to SIOCGIFCONF alignment. 2000-02-18 08:14:26 +00:00
mycroft fec6c976f3 Make the z50 tab key work. 2000-02-18 06:54:47 +00:00
nisimura 3e02ded337 Improvement on SFB enabled copycol(); still yet under development,
it miserably fails on corner cases.
2000-02-18 06:51:51 +00:00
itohy 62efa4eac6 s/MAKOBJDIR/MAKEOBJDIR/
Pointed out by Katsuomi Hamajima.
2000-02-18 06:09:11 +00:00
itojun 83176f3b3c fix alignment problem in ancillary messages (alpha).
the change constitutes binary compatibility issue hen sizeof(long) !=4.
there's no way to be backward compatible, and only guys affected
are IPv6 userland tools.

From: =?iso-8859-1?Q?G=F6ran_Bengtson?= <goeran@cdg.chalmers.se>
2000-02-18 05:19:23 +00:00
itojun 5b36a9108a do not perform sleep() every time we get ECONNREFUSED.
try all the set of addresses before go to sleep() and retry.

not sure if we still need sleep() - retry logic.  why is it so persistent
in connecting?

From: SHIMIZU Ryo <ryo@misakimix.org>
2000-02-18 04:16:54 +00:00
itojun 0c281f2bda do not sleep on ECONNREFUSED, rather, try the next address first.
the behavior itself has a room for debate.  (why we retry on ECONNREFUSED?)

From: SHIMIZU Ryo <ryo@misakimix.org>
2000-02-18 03:53:16 +00:00
mycroft c9f3b6ba01 Adjust previous change for R3000 load delay slot. 2000-02-18 03:46:43 +00:00
enami 5d16084a1d Don't try to remove old /boot after new one is installed.
Actually, we don't need to remove it since we are using fresh image.
2000-02-18 02:50:17 +00:00
mycroft 71979ea6fb Make the MIPS1 and MIPS3 code more similar.
XXX Needs testing on MIPS1.
2000-02-18 00:15:15 +00:00
mycroft 9e77fba716 Take a whack at allowing sN, sp and gp to be set from DDB, too. 2000-02-18 00:02:43 +00:00
mycroft 3ade108e4b Allow vN, aN, tN, ra, sr, mul[lo,hi] and pc to be set from DDB. sN requires
more work.
2000-02-17 23:52:23 +00:00
mycroft c41cbbb8b7 Fix obvious typo. 2000-02-17 22:16:31 +00:00
sommerfeld a00eb27e1a More 802.11 subtypes: there's also 1MB/s DS
(the BayStack 660 firmware claims to support it).
2000-02-17 21:53:16 +00:00
kleink 2a62a2c565 Back out previous: when statically linking executables a warning will be
displayed for the reference through __errno(), which is really wrong.
2000-02-17 21:34:21 +00:00
mycroft 760d110b96 Regen. 2000-02-17 21:31:39 +00:00
mycroft b95959c4c8 Give platid_name_table_size a type. 2000-02-17 21:31:13 +00:00
kleink 31e08c3362 Missed in previous: remove midi goo from argument list as well. 2000-02-17 21:25:47 +00:00
thorpej 132107ce3b Add a whole slew of registers found in the PCnet-PCI family. 2000-02-17 20:18:29 +00:00
augustss 6fa8665eeb Handle detach that happens before attach has finished. (Reported by mycroft.) 2000-02-17 18:42:21 +00:00
sommerfeld 50c84950f2 awi: rewrite to be higher performance. 2000-02-17 17:37:23 +00:00
itojun 823d2a5d81 to synchronize with progress of discussion for post
draft-ietf-ipngwg-scopedaddr-format-00.txt (will be 01),
use "address%interface" notation for extended scoped IPv6 address.

NOTE: the change affects link-local addresses only.  I hope it to be
the final change on it.....
2000-02-17 17:06:17 +00:00
augustss 1955c335af Regen. 2000-02-17 16:30:44 +00:00
augustss 536b31a5c8 Add Sony PCGA-UMS1 mouse. 2000-02-17 16:30:11 +00:00
sommerfeld 7adb22cfa5 Add detach support.
Light cleanup.
2000-02-17 15:58:32 +00:00
dmcmahill 252ba9a20d Replace "wsloadfont" with "wsfontload". This fixes PR
misc/9437: Small typo is wsdisplay man page
Thanks to Ben Wong for the PR.
2000-02-17 14:11:24 +00:00
abs 7ff31fc326 Update patch from Witold Wnuk in PR 9335 to solve potential security
issue noted by tls.
2000-02-17 12:34:26 +00:00
darrenr 12636d3570 bump __NetBSD_Version__ due to change in protosw for pfil 2000-02-17 11:41:59 +00:00
darrenr a156f44da6 bump __NetBSD_Version__ due to change in protosw for pfil 2000-02-17 11:01:20 +00:00
darrenr fd7edad6c3 Change the use of pfil hooks. There is no longer a single list of all
pfil information, instead, struct protosw now contains a structure
which caontains list heads, etc.  The per-protosw pfil struct is passed
to pfil_hook_get(), along with an in/out flag to get the head of the
relevant filter list.  This has been done for only IPv4 and IPv6, at
present, with these patches only enabling filtering for IPPROTO_IP and
IPPROTO_IPV6, although it is possible to have tcp/udp, etc, dedicated
filters now also.  The ipfilter code has been updated to only filter
IPv4 packets - next major release of ipfilter is required for ipv6.
2000-02-17 10:59:32 +00:00
fvdl 376d66b867 Note that -kerb option is not implemented. 2000-02-17 09:05:07 +00:00
fvdl b02df6b9ee List vfs.generic.usermount in manpage. Don't try to handle machdep.diskinfo
for the i386, thus avoiding a warning message in 'sysctl -a'.
2000-02-17 08:54:16 +00:00
mycroft f7ad1af2b5 Use bpf_mtap() correctly. 2000-02-17 05:41:41 +00:00
itojun de10c7425e backout incomplete hack from KAME codebase (originally from bbn).
the hack tries to respect ifa or ifp passed to RTM_ADD.  However, the change
broke certain link-layers.  They include:
- midway ethernet card (en*), which uses sockaddr_dl in gateway portion
  to pass PVC information.  with the patch, the gateway portion will be
  overwritten by empty sockaddr_dl and PVC initialization will fail.
- IPv6, which can't set static ND table with the patch (ndp -s), for the
  similar reason as above.

There may be improved hack coming soon, hope the new one does not break others.
2000-02-17 04:28:00 +00:00
itohy f8adf56da0 Cleanup and fix typos.
Partially from FreeBSD.
2000-02-17 03:12:22 +00:00
itohy fae63d9627 Use lseek(2) on devices if not tape drives.
This makes listing on raw disk device much faster.
Reviewed and discussed in tech-kern and tech-userlevel lists.
2000-02-17 03:08:40 +00:00
itohy ba0ae447ef Fix SIGINFO botch (PR #8868).
Continue partial write(2) on signals (xwrite()).
Partial read(2) at a few places are also continued (xread()).

Add {read,write}_with_restart() hooks for porting on systems
which don't restart interrupted read()/write() calls.

Reviewed and discussed in tech-kern and tech-userlevel lists.
2000-02-17 03:06:12 +00:00
ender f30d8c9d30 Include mac68k/dev/akbdmap.h, not macppc/dev/akbdmap.h. Fixes PR 9435
filed by Dave Huang <khym@bga.com>.
2000-02-17 02:07:07 +00:00
thorpej d87b838524 Fix TMASK to use all 5 lower bits of the media word, and add HomePNA 1.0. 2000-02-16 18:03:14 +00:00
tsutsui 1da0c062ce Make sure access of ssir atomic. (from luna68k) 2000-02-16 15:32:03 +00:00
tsubai a6343f76db Unused. (PR 9424) 2000-02-16 14:02:13 +00:00
tsutsui d764df518d Make "make dependall" work. 2000-02-16 12:45:17 +00:00
itojun 729f693364 - if ip_dst matches address on !IFF_UP interface, and
- there's no match against addresses on IFF_UP interface,
send icmp unreach if I'm router.  drop it if I'm host.

Revised version of PR: 9387 from nrt@iij.ad.jp.  Discussed with thorpej+nrt.
2000-02-16 12:40:40 +00:00
itojun 791a70292c correct ratecheck() signedness. without this fix, ratecheck() will never
success again after first success with lasttime=(0,0).
2000-02-16 12:36:19 +00:00