Commit Graph

18196 Commits

Author SHA1 Message Date
Stefan Eßer
8c39a12760 Add code to copy the LDT, if required.
This code was sent to me by Bruce Evans, and seems to fix some
possible kernel panic in case of an execution error. It did not
cause any problems on my system, but I did never observe the
problem this patch is supposed to fix, anyway.

This patch is a NOP, unless the kernel is built with "options
USER_LDT", and doesn't affect the GENERIC kernel for this reason.

I want to have it in 2.2: it fixes a bug ...

Submitted by:	bde
1997-01-02 01:43:09 +00:00
Stefan Eßer
d794fbe35c Add Intel VX chip set specific detection and register dump code.
Submitted by:	brianc@netrover.com (Brian Campbell)
1997-01-02 01:23:17 +00:00
Jordan K. Hubbard
0ccf9dd3f5 I was wrong about this file - NOOBJ is not correct here. 1997-01-02 00:49:02 +00:00
David E. O'Brien
a0e8cdd20e Virginia has a new area code (540).
I'm not sure if Fredicksburg is still 703.  Any FBSD hackers in VA
(I'm in CA for a few years), that can double check this.
1997-01-01 23:47:33 +00:00
David E. O'Brien
0a2b4d4b07 Documented MANPREFIX and MAN%cPREFIX (where %c=[1-9LN]).
[my wording is probably awkward, if a wordsmith is bored perhaps they
could take a look at this]
1997-01-01 22:39:12 +00:00
Poul-Henning Kamp
4dd8ff7e43 Make it possible to test kernel code in a userland harness, even if it
uses MAKE_SET or derivatives and <sys/time.h> at the same time...
1997-01-01 21:07:15 +00:00
Guido van Rooij
6412184028 Yet another buffer overflow.
2.2 candidate
(and -stable too actually, who does that?)
Reviewed by:	Warner Losh
1997-01-01 14:08:47 +00:00
Jordan K. Hubbard
d20f8f693b Bring back the README, this time attempting to be a little more
informative about what the user is seeing here.
1997-01-01 14:06:29 +00:00
Jordan K. Hubbard
be472df07c Make the bug reporting reference point to the send-pr page. 1997-01-01 13:41:50 +00:00
Adam David
791b9018b9 corrected Aruba from phonebook
2nd area code for Puerto Rico
added various Caribbean islands
1997-01-01 13:38:25 +00:00
Jordan K. Hubbard
434a0eeb38 1. Correct bogon in cdromInit when running multi-user which took cdrom offline
if wrong version.
2. Make sure network device is initialized in ftpInit
3. Eliminate bogus size values in the menus.  For now, we'll have to admit
   that nobody's added it up yet.  In the future, these menus should be
   build dynamically anyway, not declared static.
4. Add more debugging to networking code to chase the mystery ppp device
   problem.
1997-01-01 12:36:09 +00:00
Adam David
fa5f4e4e2d added many countries, and a few cities
corrected various dialcodes, from 1996 phonebook
NB: many ex-soviet countries with prefix 7 were not added, and others
        might have been missed
    some ex-yugoslav states are probably missing
    Belgrade is both in Serbia and Yugoslavia, while the latter retains
        an existence
1997-01-01 11:31:14 +00:00
Jordan K. Hubbard
b355f69744 Remove bogus weak reference. 1997-01-01 11:03:44 +00:00
Jordan K. Hubbard
9189cfd1e6 Remove dmalloc.c reference from here too. :) 1997-01-01 11:03:27 +00:00
Jordan K. Hubbard
f91b47f59a Add missing NOOBJ 1997-01-01 10:29:28 +00:00
Jordan K. Hubbard
799dbaaffc Eliminate unnecessary warning introduced by a missing forward declaration. 1997-01-01 10:06:37 +00:00
Peter Wemm
6c9cfdd2f1 Remove dmalloc here too. 1997-01-01 09:30:13 +00:00
Peter Wemm
e945c6e614 These are gone in 4.9.5 1997-01-01 09:29:03 +00:00
Jordan K. Hubbard
8486a671de Close PR#2341 - 2.1 -> 2.2 1997-01-01 09:18:34 +00:00
Jordan K. Hubbard
95183e1c42 Include ns_udp.c here too. 1997-01-01 05:17:23 +00:00
Bruce Evans
7793986515 Don't create unused object directory.
Don't override harmless clean rule.
1997-01-01 05:15:09 +00:00
Bruce Evans
8cd33d23b4 Use -C instead of -c for installing non-header source files. 1997-01-01 05:04:34 +00:00
Bruce Evans
fd0a86436e Use ${COPY} instead of -C for installing non-source files. crt*.o
should be installed using the same flag as libraries, but ${COPY}
is currently used for libraries.
1997-01-01 04:52:55 +00:00
John Dyson
3c018e7214 Guess what? We left alot of the old collapse code that is not needed
anymore with the "full" collapse fix that we added about 1yr ago!!!  The
code has been removed by optioning it out for now, so we can put it back
in ASAP if any problems are found.
1997-01-01 04:45:05 +00:00
Adam David
fb16fcb52d fix braino on my part 1997-01-01 04:27:46 +00:00
Bruce Evans
015a0dc2e4 Use ${COPY} instead of -c for installing non-source files. 1997-01-01 04:22:23 +00:00
Adam David
7956a30f26 Iceland is now unified as one area code 1997-01-01 04:11:52 +00:00
Alexander Langer
904259996b Grammatical changes.
Reviewed by:	joerg
1997-01-01 03:29:33 +00:00
Jordan K. Hubbard
91f2535e33 Make CHECKSUM.MD5 files automatically. 1997-01-01 03:16:34 +00:00
Jordan K. Hubbard
3b6c6b8f59 We need an afterdistribute target here, too. Closes PR#2338 1997-01-01 01:56:00 +00:00
Warner Losh
335524b9ad Various security related deltas from OpenBSD
dirs.c:
	From OpenBSD 1.2, 1.3, 1.5, 1.8, 1.10, 1.11, 1.12
	1.2:
		use unique temporary files; netbsd pr#2544;
		lukem@supp.cpr.itg.telecom.com.au
	1.3:
		updated patch from lukem@supp.cpr.itg.telecom.com.au
		to also make -r and -R work again
	1.5:
		mktemp open & fdopen
	1.8:
		/tmp// -> /tmp/
	1.10:
		Fix strncpy usage and correct strncat length field,
		from Theo.  Also change some occurrence of MAXPATHLEN
		with sizeof(foo).
	1.11:
		does noone know how to use strncat correctly?
	1.12:
		use mkstemp()
	From NetBSD:
		Use open rather than create so we can specify
		exclusive open mode.

main.c:
	From OpenBSD 1.2, 1.5
	1.2:
		From NetBSD: support $TAPE.
	1.5
		Set umask to be read only by owner until we set real
		file permissions.
tape.c:
	From NetBSD:
		Use open rather than create so we can specify
		exclusive open mode.
1997-01-01 00:03:49 +00:00
Mike Pritchard
38bf940791 Add i386 to the .Dt macro call. 1996-12-31 22:47:50 +00:00
Mike Pritchard
32c5eaa8aa Mdoc police.. 1996-12-31 22:42:00 +00:00
Mike Pritchard
f7343bd74d Avoid the use of contractions. This eliminates the "its"/"it's" problems
pointed out by Rick Robinson.  Found and fixed some grammar problems
at the same time.

Note: the reason for avoiding contractions is two-fold:

1) It makes the text easier to understand for people who speak English
   as a second language.
2) Expanding the contractions often reveals poorly worded passages.
1996-12-31 21:54:24 +00:00
Jordan K. Hubbard
58674702e4 Use the afterdistribute target rather than the distribute target.
Submitted-By: jfieber
1996-12-31 21:39:43 +00:00
Peter Wemm
6014f31fca This commit was generated by cvs2svn to compensate for changes in r21138,
which included commits to RCS files with non-trunk default branches.
1996-12-31 19:51:17 +00:00
Peter Wemm
e5167894d1 Import Paul Vixie/ISC's bind-4.9.5-patch1 onto the vendor branch.
This has some (all?) of the DNSSEC key management/distribution mechanism
in place.  (The SIG and KEY RR's)

Obtained from: Paul Vixie / ISC / ftp.isc.org
1996-12-31 19:51:17 +00:00
Adam David
98b0613977 icelandic collation
(non-icelandic characters in latin1 order)
1996-12-31 18:57:26 +00:00
Wolfram Schneider
9233c0133e a uniq name for every manpage section in header macro .Dt 1996-12-31 17:47:28 +00:00
John Dyson
8cc7e047a3 A very significant improvement in the management of process maps
and objects.  Previously, "fancy" memory management techniques
such as that used by the M3 RTS would have the tendancy of chopping
up processes allocated memory into lots of little objects.  Alan
has come up with some improvements to migtigate the sitution to
the point where even the M3 RTS only has one object for bss and
it's managed memory (when running CVSUP.)  (There are still cases where the
situation isn't improved when the system pages -- but this is much much
better for the vast majority of cases.)  The system will now be able
to much more effectively merge map entries.

Submitted by:	Alan Cox <alc@cs.rice.edu>
1996-12-31 16:23:38 +00:00
David E. O'Brien
1a728844c1 Added the package catagories astro, chinese, mbone, and vietnamese;
along with applicable descriptions.
1996-12-31 14:37:06 +00:00
Satoshi Asami
6fa8e3b73b Add share/examples dir.
Suggested by:	max
1996-12-31 14:00:05 +00:00
Peter Wemm
fc7f1f8f58 Add two missing links (hoststat/purgestat) 1996-12-31 12:38:57 +00:00
Peter Wemm
a856779ff8 prototype of shared function now in include file 1996-12-31 09:16:12 +00:00
Peter Wemm
e85cee866d use svc_maxfd + 1 in the select() call.
(There may be a behavior difference between the 2.1 and 2.2/3.0 kernels
in this area, it seemed to work for me but I have a horribly hacked
select() that might have a bug in the handling of this)

Submitted by: wpaul
1996-12-31 09:13:59 +00:00
Peter Wemm
91f0745a28 Missed prototype for svc_getreqset2() 1996-12-31 09:08:44 +00:00
Peter Wemm
6678380e8e libgmp.so.2.0 was missing from the compat21 dist
(should be in 2.2)

Reported by:	John Fieber <jfieber@indiana.edu>
1996-12-31 09:02:39 +00:00
Bill Paul
1b4a7d506f Fix (properly, I hope) 'panic: sillyrename dir' crash that can happen
if you do:

% cd /nfsdir
% mkdir -p foo/foo
% mv foo/foo .

nfs_sillyrename() self-destructs if you try to sillyrename a directory,
however nfs_rename() can be coerced into doing just that by the above
sequence of commands. To avoid this, nfs_rename() now checks that
v_type of the 'destination' vnode != VDIR before attempting the
sillyrename. The server correctly handles this particular situation
by returning ENOTEMPTY on the rename() attempt.

I asked if this was the correct fix for this on -hackers but nobody
ever answered.

This is a 2.2 candidate.
1996-12-31 07:10:19 +00:00
Bruce Evans
53f49427b0 Use beforeinstall' target instead of install' target to avoid setting a
bad example.
1996-12-31 02:39:40 +00:00
Bruce Evans
a1e71a0d14 Use beforeinstall' target instead of install' target so that the links
get installed.

The `install' target should only be overridden when the default one would
do something wrong and you're too lazy to fix the default one.
1996-12-31 02:38:28 +00:00