Commit Graph

2118 Commits

Author SHA1 Message Date
Søren Schmidt
8c7004b6d4 Updated to latest version from 1.1.5.1+
Reviewed by:
Submitted by:
1994-08-17 08:51:10 +00:00
Sean Eric Fagan
bf5cfe7295 It wasn't put in during the initial import.
Reviewed by:	Sean Eric Fagan
1994-08-17 05:36:45 +00:00
Sean Eric Fagan
03b50ed143 Build vi (nvi), now that it's checked in.
Submitted by:	Sean Eric Fagan
1994-08-16 23:58:00 +00:00
Sean Eric Fagan
4feef85f47 This commit was generated by cvs2svn to compensate for changes in r2081,
which included commits to RCS files with non-trunk default branches.
1994-08-16 23:36:45 +00:00
Sean Eric Fagan
18fd508d01 Latest public release of nvi, from Keith Bostic. I hope I got this
right ;).
Reviewed by:	Sean Eric Fagan
1994-08-16 23:36:45 +00:00
Jordan K. Hubbard
d5ca85cdd4 Reenable the makedb stuff; it works fine.
Submitted by:	jkh
1994-08-16 22:44:28 +00:00
Jordan K. Hubbard
269f64ea2a Whoops, nuke libobjc until we have it too.
Submitted by:	jkh
1994-08-16 02:55:14 +00:00
Garrett Wollman
0254742789 Add option KBD_RESET_FAIL_OK so that GCC 2.6 doesn't break my
console.
1994-08-15 22:41:33 +00:00
Guido van Rooij
e27eb9e8ec Plug already known security hole. (Brought over from 1.1.5):
Fixed security problem with telnetd, which allowed
        telnet -l -hcert.org localhost
to change the user's host in utmp.
Thanks to Matthew Green <mrgreen@@mame.mu.oz.au> for showing me this one.


Reviewed by:	karl, guido
Submitted by:	mrgreen@@mame.mu.oz.au
1994-08-15 20:06:13 +00:00
Guido van Rooij
9496903032 Plug security hole that was already fixed in 1.1. It prevents
user from specifying their hostname when rlogin()-ing in
(using rlogin -f-h<host>)

Reviewed by:
Submitted by:
1994-08-15 19:44:50 +00:00
Garrett Wollman
d966229d00 Don't bother with XNSrouted and trsp, nobody uses either. If anybody
decides they want to, they can change the Makefile.
1994-08-15 03:19:25 +00:00
Garrett Wollman
8ea838500f Enable use of the RTC chip for the statistical clock. While this does
not provide the full accuracy of a randomized statistical clock, it does
provide greater accuracy than the previous method, while not significantly
increasing overhead.  It also provides profiling support at 1024 Hz.

You must re-compile config before making a new kernel, or you will end
up with unresolved symbols.

Reviewed uy:	Bruce evans said it worked for him.
1994-08-15 03:15:20 +00:00
Garrett Wollman
99ca219150 Generate vector.h line for statclock. (See next commit for details.) 1994-08-15 03:09:29 +00:00
Garrett Wollman
053b68b9ae `init' needs crypt() for insecure consoles. 1994-08-15 02:45:37 +00:00
Andreas Schulz
021d975d03 Submitted by: Bruce Evans
Delete the ifdef GPL_EMULATE case here and made the padding work for
both types of emulators so that there is no longer a need to compile
ps and friends new if you are using the GPL math emulator instead the
normal one.
1994-08-14 23:32:45 +00:00
Andreas Schulz
5e687d014e Reviewed by:
Added code to check for an adaptec 1542B Version 3.20 Board. This was the
first board that supports >1Gb drives and has the extended bios. So we
need also to disable the exbios like it is done for the 1542C/CF boards.
1994-08-14 21:06:00 +00:00
Jordan K. Hubbard
769e29bd21 cc -> cc26 for now.
Submitted by:	jkh
1994-08-14 16:53:33 +00:00
Jordan K. Hubbard
9e091cd68f Kill an errant libg++ entry.
Submitted by:	jkh
1994-08-14 16:52:44 +00:00
Jordan K. Hubbard
0a1c887538 Make keywords.h get properly built.
Submitted by:	jkh
1994-08-14 06:57:34 +00:00
Paul Richards
98072b0e33 Pulled over missing ftape.h from 1.1.5
Reviewed by:
Submitted by:	Paul Richards
1994-08-14 01:52:48 +00:00
Paul Richards
be89b92c7b Changed the include <sound/ulaw.h> to be <i386/isa/sound/ulaw.h> so
it compiles.

Reviewed by:
Submitted by:	Paul Richards
1994-08-14 01:52:02 +00:00
Poul-Henning Kamp
063ea59ae1 The tcp/ip interfaces needed longer timeouts, works fine under 2.0. 1994-08-14 01:46:28 +00:00
Sean Eric Fagan
f98d56227f More stuff from the latest curses. Really minor this time.
Reviewed by:	Sean Eric Fagan
1994-08-13 23:23:53 +00:00
Sean Eric Fagan
6c8ac72df7 Brought the 2.0 libcurses up-to-date with the current 4.4 stuff, as
distributed in keith bostic's nvi (got his permission first).  Most changes
are cosmetic, but a few errors (mostly in tty..c) were cleared up.

Reviewed by:	Sean Eric Fagan
1994-08-13 23:15:38 +00:00
Jordan K. Hubbard
3540f0e14a This is the first attempt to drag the top level Makefile Rod sent me
into 2.0.  It will surely need more work.
Submitted by:	jkh
1994-08-13 22:47:28 +00:00
Garrett Wollman
502bf5ce55 Fix conditional-compilation mixup, pointed out by Paul Richards. 1994-08-13 17:45:09 +00:00
David Greenman
0e42760866 Made the kernel compile cleanly with gcc 2.6.0. Thanks go to Bruce
Evans for suggesting a method to detect various versions of gcc.
1994-08-13 14:21:58 +00:00
David Greenman
c501fb74cf Fixed problem with returning -1 on error when the return value is a
long long. Done by plugging both eax and edx with -1. This will clobber
edx unnecessarily when the return value is only 32bit...though probably
always an okay thing to do, it could stand a better fix.
   This was the cause of gawk being broken (boy was THAT ever a subtle
bug!!!).
1994-08-13 14:00:26 +00:00
Jordan K. Hubbard
2c6983854a Change .0 man extents to .1, as reported by Julian Elischer. Whoops,
thought I'd gotten this one the first time around.
Reviewed by:
Submitted by:
1994-08-13 05:00:39 +00:00
Garrett Wollman
f540b1065a Change all #includes to follow the current Berkeley style. Some of these
``changes'' are actually not changes at all, but CVS sometimes has trouble
telling the difference.

This also includes support for second-directory compiles.  This is not
quite complete yet, as `config' doesn't yet do the right thing.  You can
still make it work trivially, however, by doing the following:

rm /sys/compile
mkdir /usr/obj/sys/compile
ln -s M-. /sys/compile
cd /sys/i386/conf
config MYKERNEL
cd ../../compile/MYKERNEL
ln -s /sys @
rm machine
ln -s @/i386/include machine
make depend
make
1994-08-13 03:50:34 +00:00
Poul-Henning Kamp
24420201d8 Submitted by: Poul-Henning Kamp <phk@login.dkuug.dk>
Added my if_lp TCP/IP driver to lpt.c.
I have (surprise) not been able to test it on a 2.0 machine yet.  Connect the
machines with a parallel "lap-link" cable, and get rates from 35 kbyte/sec
up to 75 kbyte/sec.  (when ftp'ing foo: dev/zero -> bar:/dev/null).

The same lpt.c file should compile under 1.1.5.1 without problems.

I think we should promote this feature when we dump 2.0 on the expectant
public, because it provides a cheap and efficient way to move data to and
from notebooks &c.  It is not a replacement for ethernet, but a cheap
substitute sometimes.
1994-08-13 00:37:03 +00:00
Geoff Rehmet
46592ab983 Remove the scary bits from telnetd - no more encryption left here.
Only crypt.c in libc remains.
Reviewed by:	Geoff Rehmet
1994-08-12 23:00:04 +00:00
Geoff Rehmet
daf079cb54 Move the telnetd with encryption to src/secure
This needs tidying up and having makefiles sorted out later.
Reviewed by:	Geoff Rehmet
1994-08-12 22:53:46 +00:00
Geoff Rehmet
54df3c12f9 The big crypt removal - make libtelnet exportable.
Securedist can be sorted out later - getting these bits exportable
is top priority.
The libtelnet with encryption has been moved to src/secure/lib.
It will either become part of libsecure, or or be made available
under another name, once the securedist strategy has been completely
worked out.
Submitted by:	Geoff Rehmet
1994-08-12 22:41:29 +00:00
Geoff Rehmet
040d596f3e Libtelnet with encryption goes walkies to src/secure/lib
Reviewed by:	Geoff Rehmet
1994-08-12 22:03:01 +00:00
Geoff Rehmet
f09e7cba42 when making test programs, look for libdescrypt, not libcrypt
Submitted by:	Geoff Rehmet
1994-08-12 21:55:04 +00:00
Geoff Rehmet
a54d939519 Fix afterinstall rule for NOSHARED case
Submitted by:	Geoff Rehmet
1994-08-12 21:12:37 +00:00
Geoff Rehmet
b1c75fb65d 1) don't make bdes yet
2) fix .include in secure/lib/Makefile.inc
3) fix afterinstall rule in libcrypt/Makefile
Submitted by:	Geoff Rehmet
1994-08-12 21:02:31 +00:00
David Greenman
58eaed35cf Added conditionals to make this compile cleanly in FreeBSD 2.0. 1994-08-12 11:42:37 +00:00
David Greenman
555edc2c99 Took out junk to save the old value of BLOCKSIZE as it is unnecessary.
Remove CFLAGS=-g from Makefile.
1994-08-12 10:26:27 +00:00
David Greenman
9d4081ee4b The last commit was bogus...the putenv doesn't affect the parent process,
so the BLOCKSIZE doesn't need to be preserved.
Also initialized the flags variables, and used 1k instead of 1024 for
BLOCKSIZE.
1994-08-12 10:23:49 +00:00
David Greenman
2150dea8de The last commit was bogus...the putenv doesn't affect the parent process,
so the BLOCKSIZE doesn't need to be preserved.
1994-08-12 10:19:05 +00:00
David Greenman
ebf93438bf Implemented the -k flag more properly...don't destroy the user's setting
of the BLOCKSIZE environment variable.
1994-08-12 07:26:52 +00:00
David Greenman
7952584606 New ethernet device driver from Matt Thomas:
This driver supports all the DEC EtherWORKS III NICs (DE203, DE204,
and DE205) and the later DEC EtherWORKS II NICs (DE200, DE201, DE202,
DE422).  DEPCA-style boards prior to the DE200 have not been tested
and may not work.

Submitted by:	Matt Thomas (thomas@lkg.dec.com)
1994-08-12 06:51:12 +00:00
David Greenman
bd1671dc28 Removed some unnecessary code that sets the link layer address. This should
be removed from the other drivers, too, as it is already done at a higher level
in the kernel.
1994-08-12 06:36:51 +00:00
David Greenman
6979fee553 Add missing ifr variable declaration that I forgot when adding MTU
ioctl support.
1994-08-12 06:06:19 +00:00
David Greenman
f66e339c33 Implement -k flag. 1994-08-12 02:02:22 +00:00
David Greenman
e6692375a2 swapinfo(1) command from 1.1.5. This version has been modified to work
with the new libkvm interfaces.
1994-08-12 01:49:30 +00:00
Garrett Wollman
40460a7a82 Make it set-uid until procfs is fixed. 1994-08-11 20:11:00 +00:00
Garrett Wollman
7be58aba8e Make `ps' set-uid root so that it can read the same set of arguments
that old `ps'es did.  I'm not too thrilled about this, but I'm not
enough of an FS person to hack procfs so that /proc/xxx/mem is readable
by members of group `kmem'.  If this is done, then `ps' can go back to
being set-gid kmem.
1994-08-11 20:06:55 +00:00