23071 Commits

Author SHA1 Message Date
charnier
651e4c7782 Use err(3). 1997-07-22 07:33:48 +00:00
charnier
d2c83baea4 lockf: usage : lockf -> usage: lockf by using fprintf instead of errx. 1997-07-22 07:32:23 +00:00
jdp
17fac9a743 Add a warning about how to add ports collections to this cvsupfile
(and how NOT to add them).
1997-07-22 03:03:13 +00:00
julian
4868503a07 update the floppies directory to work better 1997-07-22 02:51:02 +00:00
wosch
f380543fc8 Add ref to idprio(1). 1997-07-21 23:05:06 +00:00
brian
547bc537a0 Output name of duplicate spool dir.
Submitted by:	Wayne Scott <wscott@ichips.intel.com>
1997-07-21 22:40:04 +00:00
fsmp
34fa8c6ad3 Enabled the FPU emilaute bit define: CR0_EM
Reviewed by:	Bruce Evans <bde@zeta.org.au>
1997-07-21 17:53:51 +00:00
wpaul
cf099b5a5f Fix a very stupid heap corruption bug: in ypproc_match_2_svc(), when
we decide to do a DNS lookup, we NUL terminate the key string provided
by the client before passing it into the DNS lookup module. This is
actually wrong. Assume the key is 'foo.com'. In this case, key.keydat_val
will be "foo.com" and key.keydat_len will be 7 (seven characters; the
string is not NUL-terminated so it is not 8 as you might expect).
The string "foo.com" is actually allocated by the XDR routines when the
RPC request is decoded; exactly 7 bytes are allocated. By adding a NUL,
the string becomes "foo.com\0", but the '\0' goes into an 8th byte which
was never allocated for this string and which could be anywhere. The result
is that while the initial request may succeed, we could trash other
dynamically allocated structures (like, oh, I dunno, the circular map
cache queue?) and SEGV later. This is in fact what happens.

The fix is to copy the string into a larger local buffer and NUL-terminate
that buffer instead.

Crash first reported by: Ricky Chan <ricky@come.net.uk>
Bug finally located with: Electric Fence 2.0.5
1997-07-21 17:39:39 +00:00
fsmp
46330a4823 SMP code initializes the FPU of APs.
Suggested by:     Bruce Evans <bde@FreeBSD.ORG>
1997-07-21 17:03:22 +00:00
bde
c38ba7cecc Oops, unremoved used #include. 1997-07-21 16:55:28 +00:00
bde
59566a1491 Use soft_imask instead of SWI_MASK in the LKM version. SWI_MASK shouldn't
have been visible in LKMs, since it had the wrong value for the APIC_IO
case.

Removed unused #includes.
1997-07-21 16:50:46 +00:00
bde
086a90ce38 Store SWI_MASK in a variable so that LKMs can use it portably. 1997-07-21 16:43:48 +00:00
bde
d3ee463b26 Removed support for stale options.
Removed unused targets.  (Is sizetest necessary?  It wasn't run.)

Added boot.img to CLEANFILES.
1997-07-21 16:12:52 +00:00
bde
f501609a9b Added top.1 to CLEANFILES. 1997-07-21 16:06:00 +00:00
bde
02918ca45b Added ${KMOD} to CLEANFILES. ${KMOD} gets created if you run `make load'. 1997-07-21 16:04:41 +00:00
bde
0ebd3c64ae Add to CLEANFILES instead of setting it absolutely. Cleaning of *.S and
tags was broken.
1997-07-21 16:02:09 +00:00
kato
337e67cf95 Synchronize with sys/i386/isa/npx.c revision 1.49. 1997-07-21 13:13:43 +00:00
kato
b2a0711936 Synchronize with sys/i386/i386/microtime.s revision 1.26. 1997-07-21 13:12:45 +00:00
kato
382dc72b32 Synchronize with sys/i386/isa/clock.c revision up to 1.95. 1997-07-21 13:12:01 +00:00
kato
27d4c60074 Synchronize with sys/i386/isa/fd.c, if_ed.c, if_fe.c, lpt.c, mse.c,
npx.c, isa.c, sio.c, syscons.c and wd.c revisions 1.100, 1.117, 1.29,
1.61, 1.33, 1.48, 1.95, 1.173, 1.226 and 1.132, respectively.
1997-07-21 13:11:16 +00:00
kato
2c550ff392 Synchronize with sys/i386/i386/machdep.c and trap.c revisions 1.253
and 1.101, respectively.
1997-07-21 13:04:54 +00:00
charnier
8df0f01f58 Use err(3). Add usage(). 1997-07-21 12:09:34 +00:00
charnier
f85d3627d4 Use err(3). Use .Pa macro for filenames in man page. 1997-07-21 12:08:14 +00:00
charnier
197677263f Cosmetic in usage string. Typos in man page. 1997-07-21 12:06:18 +00:00
charnier
12747632ef Check fgets' return value, silent -Wall.
Obtained from: OpenBSD
1997-07-21 12:04:31 +00:00
charnier
6fc33a9dac Cosmetic in usage string. 1997-07-21 12:01:47 +00:00
fsmp
e7e1e6ffbe Disabled 2 static inlines:
- INTRGET()
 - INTRSET()

These were only used in if_ze.c (already removed) and npx.c.  The code
in npx.c has also been cleaned of all APIC code.
1997-07-21 08:20:07 +00:00
fsmp
26125c6fa7 Made the SMP case ignore the possibility of an INT13 interface.
This eliminates all the APIC code, and thus several routines that
would otherwise need to be made MP-safe.

Reviewed by:	 Bruce Evans <bde@zeta.org.au>
1997-07-21 07:57:50 +00:00
dyson
ba3c6422c3 Fix a crash that has manifest itself while running X after the 4MB
page upgrades.
1997-07-21 01:21:25 +00:00
fsmp
0743654808 Put in a "HEADS UP" concerning the 'SMP_TIMER_NC' option.
Disabled MATH_EMULATE, shouldn't ordinarily be needed for SMP.
1997-07-20 23:57:20 +00:00
fsmp
9706ca5668 Omit printout of imen, INTRGET() is not MP-safe yet... 1997-07-20 23:07:39 +00:00
fsmp
2ac3ad1fd3 Developed a new strategy for handling the 8254/8259/APIC issue. 1997-07-20 19:41:38 +00:00
fsmp
96b8d78812 Developed a new strategy for handling the 8254/8259/APIC issue.
Enabled (by default) with "#define NEW_STRATEGY".
1997-07-20 19:40:34 +00:00
fsmp
8fe3123e94 Minor cleanup.
Pass string arg to apic_dump.
Moved bootverbose printing of SMP enabled INTs from clock.c to autoconf.c
1997-07-20 18:05:20 +00:00
fsmp
de88b06b3a Minor cleanup. 1997-07-20 18:02:59 +00:00
fsmp
49f5b902b4 Pass string arg to apic_dump. 1997-07-20 18:02:19 +00:00
bde
798e815170 Removed unused #includes. 1997-07-20 16:21:36 +00:00
bde
98c28d00a7 Removed unused #includes. 1997-07-20 16:06:08 +00:00
bde
bad31a2faa Fixed data+bss limit (use the current rlimit instead of MAXDSIZ). 1997-07-20 14:21:36 +00:00
bde
26179d3e8d Removed unused #includes. 1997-07-20 14:10:18 +00:00
kato
700d6b374c Removed unused #includes. 1997-07-20 13:02:05 +00:00
bde
cb6215d35d Removed yet another vestige of devconf. 1997-07-20 12:34:15 +00:00
bde
adcb62ea36 Finished (?) converting md_regs to a `struct trapframe *'. Some bogus casts
are now unnecessary.
1997-07-20 12:33:19 +00:00
bde
36d97e2225 Uniformized idempotency ifdef. 1997-07-20 12:26:34 +00:00
bde
be38df08da Fixed missing indent protection in copyright.
Uniformized idempotency ifdef.
1997-07-20 12:18:53 +00:00
kato
4015f73977 Fixed the place of the `}' in comparam(). 1997-07-20 11:59:48 +00:00
bde
55e22acb70 Removed unused #includes. 1997-07-20 11:58:40 +00:00
kato
477f31a0f9 Synchronize with sys/i386/i386/microtime.s revision 1.25. 1997-07-20 11:56:48 +00:00
kato
2134c907e6 Synchronize with sys/i386/isa/clock.c revision up to 1.92. 1997-07-20 11:55:52 +00:00
bde
d93a74362e #include <machine/stdarg.h> in the one place in pcvt that it is used
instead of centrally.
1997-07-20 11:28:41 +00:00