jkh
4a6261e486
YAMF22 - /boot.foo fixups.
...
Also close PR#4151 by running newaliases (forgot to mention this
in my RELENG_2_2 commit, but it's there).
1997-07-23 15:13:18 +00:00
kato
977f0c4aee
Synchronize with sys/i386/isa/clock.c revision up to 1.97.
1997-07-23 11:28:39 +00:00
jkh
426552c69c
Turn off doc.1 distribution until we figure out what we're going to do with
...
it.
1997-07-23 10:44:39 +00:00
charnier
27fc3ee4eb
Use err(3) instead of local redefinition. Remove progname.
1997-07-23 06:50:06 +00:00
charnier
f871b386a8
Typo.
1997-07-23 06:48:01 +00:00
charnier
6ea857cf25
Use err(3) instead of local redefinition.
1997-07-23 06:46:10 +00:00
fsmp
4dd2ddfba0
Coded simple_lock and friends in asm.
1997-07-23 05:49:19 +00:00
imp
2913fa1bd3
Use setuid/seteuid around dangerous operations. Also a few buffer
...
overflow patches that were "near" to where these operations are taking
place. The buffer overflows are from OpenBSD. The setuid/seteuid patches
are from NetBSD by way of OpenBSD (they changed them a little), at least from
my read of the tree.
This is the first of a series of OpenBSD lpr/et al merges. It (and them)
should be merged back into 2.2 and/or 2.1 (if requested) branches when they
have been shaken out in -current.
Obtained from: OpenBSD
1997-07-23 00:49:46 +00:00
fsmp
6e3758d15b
Added a missing semicolon, compile failed when I turned on simple_lock().
...
Evidently this has never been compiled before, NOT a good sign...
1997-07-22 23:19:48 +00:00
fsmp
0eca3af576
Last commit didn't take, operator error???
1997-07-22 20:12:32 +00:00
fsmp
22d468ce6a
Hid the existance of imen via a dump routine.
1997-07-22 19:57:30 +00:00
fsmp
6471eab738
Cleaned up an ugly printout.
1997-07-22 19:51:51 +00:00
fsmp
d0693bfcc9
Removed the SMP_TIMER_NC suggestion.
...
This is (almost) defunct, start to phase it out...
1997-07-22 18:52:20 +00:00
fsmp
26561db001
Major cleanup of APIC code around the imen variable.
...
This is the first step towards making INTREN()/INTRDIS() MP-safe.
1997-07-22 18:48:07 +00:00
fsmp
0f3fe91337
Cleaned up the FPU init.
1997-07-22 16:49:54 +00:00
dfr
b1b9368e5d
Correct some dumb mistakes in the WebNFS stuff.
...
Submitted by: bde
1997-07-22 15:35:57 +00:00
dfr
d66f900045
Allow NULL cookie verifiers for non-NULL offsets. This is needed for
...
Digital Unix boxes since they appear to always send null verifiers.
1997-07-22 15:35:15 +00:00
jkh
167188a3b7
Well, consensus seems very split on this so I talked it over with DG
...
and he says he's happy to see forward movement in aligning our defaults
with a 16 bit world, the 8 bit folk already being veterans by this
point who know how to use userconfig.
In any case, perhaps Warner will soon come to save us all with his Dynamic
Probing(tm) feature and this will all become totally moot in any case,
so it's probably not worth arguing about either way.
1997-07-22 08:33:52 +00:00
bde
e8617931c9
Quick and dirty (?) fix for noatime option. The WebNFS changes
...
broke it by using the same value for MNT_EXPUBLIC as for MNT_NOATIME.
Just use a different value for MNT_EXPUBLIC.
1997-07-22 08:03:19 +00:00
charnier
7651d0b9aa
= -> ==, strcpy -> strncpy from OpenBSD.
...
update man page. Add usage().
Obtained from: OpenBSD
1997-07-22 07:39:43 +00:00
charnier
1a32b38330
Use err(3).
1997-07-22 07:33:48 +00:00
charnier
d6b701c1ef
lockf: usage : lockf -> usage: lockf by using fprintf instead of errx.
1997-07-22 07:32:23 +00:00
jdp
eee6ff364e
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
ee5e792ec1
update the floppies directory to work better
1997-07-22 02:51:02 +00:00
wosch
0111926b69
Add ref to idprio(1).
1997-07-21 23:05:06 +00:00
brian
761c9a9ce7
Output name of duplicate spool dir.
...
Submitted by: Wayne Scott <wscott@ichips.intel.com>
1997-07-21 22:40:04 +00:00
fsmp
2adeab6400
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
3fded6bbe8
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
830a63c855
SMP code initializes the FPU of APs.
...
Suggested by: Bruce Evans <bde@FreeBSD.ORG>
1997-07-21 17:03:22 +00:00
bde
5b414f84c4
Oops, unremoved used #include.
1997-07-21 16:55:28 +00:00
bde
2c6307f37b
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
468c12909f
Store SWI_MASK in a variable so that LKMs can use it portably.
1997-07-21 16:43:48 +00:00
bde
b70651030f
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
623d389659
Added top.1 to CLEANFILES.
1997-07-21 16:06:00 +00:00
bde
68d8a40b40
Added ${KMOD} to CLEANFILES. ${KMOD} gets created if you run `make load'.
1997-07-21 16:04:41 +00:00
bde
4fd7782771
Add to CLEANFILES instead of setting it absolutely. Cleaning of *.S and
...
tags was broken.
1997-07-21 16:02:09 +00:00
kato
46b0ba6e75
Synchronize with sys/i386/isa/npx.c revision 1.49.
1997-07-21 13:13:43 +00:00
kato
21d4600ace
Synchronize with sys/i386/i386/microtime.s revision 1.26.
1997-07-21 13:12:45 +00:00
kato
2a288c1ed3
Synchronize with sys/i386/isa/clock.c revision up to 1.95.
1997-07-21 13:12:01 +00:00
kato
2bbdb44149
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
e0e0772cb8
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
67d75e69b6
Use err(3). Add usage().
1997-07-21 12:09:34 +00:00
charnier
473366caf4
Use err(3). Use .Pa macro for filenames in man page.
1997-07-21 12:08:14 +00:00
charnier
7e40de9748
Cosmetic in usage string. Typos in man page.
1997-07-21 12:06:18 +00:00
charnier
a2358a6c7f
Check fgets' return value, silent -Wall.
...
Obtained from: OpenBSD
1997-07-21 12:04:31 +00:00
charnier
401a026523
Cosmetic in usage string.
1997-07-21 12:01:47 +00:00
fsmp
bbc0c98461
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
d111aa6dec
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
c6a97144a0
Fix a crash that has manifest itself while running X after the 4MB
...
page upgrades.
1997-07-21 01:21:25 +00:00
fsmp
9483da5bf4
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