Commit Graph

39696 Commits

Author SHA1 Message Date
scw
110b948408 G/C MDP_HPUXTRACE since it is never set anywhere, so we don't actually
support HP-UX processes doing the tracing.
2000-07-27 14:25:14 +00:00
mrg
a254dae933 ebus sc_is is a pointer now, already. 2000-07-27 14:17:10 +00:00
mrg
dea4c479f5 intr_list_handler() should only take one argument. it ignored the 2nd anyway. 2000-07-27 14:13:50 +00:00
mrg
556a915306 add commented LOCKDEBUG 2000-07-27 14:10:25 +00:00
mrg
705b50bf32 fix LP64 warnings. 2000-07-27 14:00:56 +00:00
mrg
2726e45533 fix warnings. 2000-07-27 13:59:26 +00:00
mrg
270fd5cc55 delete unused variable. 2000-07-27 13:58:54 +00:00
mrg
eafc0ade2d fix warnings. 2000-07-27 13:57:23 +00:00
mycroft
9daa55017e Fix the sparc_v9 hack... 2000-07-27 13:45:59 +00:00
itojun
928dfa5233 do not disable icmp error rate limitation for local address.
local address can be abused too.  pps rate limitation should work fine for
moderate amount of icmp errors.
2000-07-27 11:36:14 +00:00
itojun
dd9f2f7f1d implement net.inet.tcp.rstppslimit to limit TCP RSTs by packet-per-second
basis.  default: 100pps

set default value for net.inet.tcp.rstratelimit to 0 (disabled),
NOTE: it does not work right for smaller-than-1/hz interval.  maybe we should
nuke it, or make it impossible to set smaller-than-1/hz value.
2000-07-27 11:34:06 +00:00
bjh21
926ed939b6 Fix grammatical error in panic msg 2000-07-27 10:12:31 +00:00
jeffs
3eae1609f1 Fix to actually compile MIPS1 only. 2000-07-27 08:28:36 +00:00
jeffs
e4a0934c13 Do not attempt mips3 style cache flush on mips1 in setregs() as it
is illegal to flush on user addresses.  In theory the race exists
on MIPS1, but it is rather unlikely in common use.  I have
seen it with regress/sys/kern/sigtramp on a QED 5231 system.
2000-07-27 06:28:06 +00:00
itojun
a18c2d780f be proactive about unspecified IPv6 source address. pcb layer uses
unspecified address (::) to mean "unbounded" or "unconnected",
and can be confused by packets from outside.

use of :: as source is not documented well in IPv6 specification.

not sure if it presents a real threat.  the worst case scenario is a DoS
against TCP listening socket:
- outsider transmit TCP SYN with :: as IPv6 source
- receiving side creates TCP control block with:
	local address = my addres
	remote address = ::     (meaning "unconnected")
	state = SYN_RCVD
  note that SYN ACK will not be sent due to ip6_output() filter.
  this stays until it timeouts.
- the TCP control block prevents listening TCP control block from
  being contacted (DoS).

udp6/raw6 socket may have similar problem, but as they are connectionless,
it may too much to filter it out.
2000-07-27 06:18:13 +00:00
cgd
4adc7b9704 add nops after jals in PANIC and PRINTF. (these macros are often used in
code which has noreorder set, and they're not used with nops afterwards,
as is appropriate in that case, so put the nops in the macros.)
2000-07-27 05:01:06 +00:00
matt
63466a9699 Un __P. 2000-07-26 21:50:48 +00:00
pk
2079f86890 On-board devices on psycho machines seem to have the `interrupt' property
in the parent bus format (i.e. an INO) rather than being represented as
an PCI interrupt line. Provide a hack to work around this in pci_attach_hook().
2000-07-26 17:46:56 +00:00
jeffs
ca2a49c4cf Back-out vmapbuf() change for now as locally it has been found to sleep
in some circumstances that don't sleep when not using pmap_prefer().
2000-07-26 16:24:38 +00:00
mycroft
93a8d5ffea The ELF ABI declares that argc must fill an `argument slot'. Make it so.
For __sparc_v9__ only, do a hack to make old executables continue to work --
for now.
2000-07-26 15:42:09 +00:00
ragge
1d79c50d61 Oops, forgot a debug return. 2000-07-26 15:16:55 +00:00
pk
e668bc0310 Use the mk48txx driver for time-of-day clock access. 2000-07-26 13:39:36 +00:00
ragge
acb96154d0 More intelligent BI vector assignment. 2000-07-26 12:41:40 +00:00
pk
785d8d91b9 Remove unused <sys/dev/ic/intersil7170.h>
Remove unused `extern struct idprom idprom'
Pull in <dev/clock_subr.h>
2000-07-26 12:39:20 +00:00
ragge
97c8ae87cd nmi files. 2000-07-26 12:37:14 +00:00
augustss
72afbf03cf Run power hooks in reverse installation order when powering down and
installation order when powering up.  This allows drivers in a hierarchy
to DTRT.
2000-07-26 12:24:52 +00:00
augustss
54fb7baa71 Fix CIRCLEQ_FOREACH so that it actually works. I guess noone has used this
macro either.
2000-07-26 12:19:40 +00:00
ragge
f9374fe05f Add bi interrupt allocator. Should be somewhere else. 2000-07-26 11:55:55 +00:00
ragge
e50ddafc0b Add badaddr() field. 2000-07-26 11:55:01 +00:00
ragge
550bb5fbb2 Make yeartonum/numtoyear visible. 2000-07-26 11:54:32 +00:00
ragge
c034e1d483 VAX-specific bi support changes. 2000-07-26 11:53:30 +00:00
ragge
9c3b3ed9c6 Discover the KA88 cpu. 2000-07-26 11:50:51 +00:00
ragge
3a73106b1b KA88 console support. 2000-07-26 11:50:16 +00:00
ragge
0aeb2853f9 Support for a machine-specific badaddr handler. 2000-07-26 11:48:50 +00:00
ragge
b38b1995fa Support for the KA88 CPU and the NMI backplane. 2000-07-26 11:47:15 +00:00
ragge
851da6dda0 Remove the use of global "mastercpu", the world is different now. 2000-07-26 11:44:25 +00:00
pk
9c601e5c64 lstat: since namei() returns an error (EISDIR) if there is no parent to lock,
retry the lookup without LOCKPARENT if that happens. This is safe, since
need to have LOCKPARENT only if the vnode is of type VLNK.
2000-07-26 11:43:07 +00:00
ad
001420d7ea Remove unneeded include. 2000-07-26 11:42:41 +00:00
pk
4a3cba7a65 Pull in <dev/clock_subr.h>. 2000-07-26 11:28:36 +00:00
pk
34604a9f79 No point in forcing SECDAY to be a long int. 2000-07-26 11:07:45 +00:00
augustss
c65b9bc807 Make parens match in CIRCLEQ_FOREACH_REVERSE; I guess this macro has never
been used before.
2000-07-26 11:01:01 +00:00
itojun
9e0a696a8a remove #ifdef notdef part. sync with kame. 2000-07-26 07:40:52 +00:00
onoe
188122248a I've confirmed that Samsung MagicLAN SWL-2000N (PRISM-II) works
with WEP enabled.
2000-07-26 07:28:56 +00:00
onoe
cc8e6675e2 add Samsung MagicLAN SWL-2000N 2000-07-26 07:24:15 +00:00
briggs
5d162e9bcf Add Sigma Designs L-View and AsanteFAST product codes. 2000-07-26 04:36:16 +00:00
briggs
98cdbc4cc9 Remove advertising clause with my name. 2000-07-26 04:35:46 +00:00
mycroft
9af78695ed Introduce Elf64_Xword and Elf64_Sxword, and use them in various places instead
of Elf64_Word.
Make Elf64_Word be 32 bits on sparc64.  (XXXX Need to determine what it's
supposed to be on other, but it's current used to size entries in DT_HASH,
which is 32 bits on sparc64 and 64 bits on alpha.)
2000-07-26 02:04:53 +00:00
jeffs
fa8ff381d8 Add code to allow the PCI com serial ports to be used as the system
console.  This is not enabled by default, and is turned on with
options PUCCN.  Done by castor@netbsd.org.
2000-07-25 23:18:42 +00:00
pk
1cc17ff87b Define mk48txx and intersil7170 2000-07-25 22:41:58 +00:00
pk
969b4bc568 Define the todr(9) interface. 2000-07-25 22:38:14 +00:00