Commit Graph

1994 Commits

Author SHA1 Message Date
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
Guido van Rooij
2668f73daf Add rotattion of cron log to weekly.
Reviewed by:
Submitted by:	guido
1994-08-11 17:23:29 +00:00
David Greenman
6aab3b5a6d Use nulls to pad proctitle rather than spaces...makes ps(1) output more
readable.
1994-08-11 13:40:58 +00:00
David Greenman
338c75418e Made kvm routines use procfs to get out process data such as argument
strings.
1994-08-11 13:38:23 +00:00
Jordan K. Hubbard
f9f0c18d31 Change outb() as per Bruce's instructions so that it doesn't explicitly
try to pass its argument in the ax register.
Reviewed by:
Submitted by:
1994-08-11 02:26:08 +00:00
Jordan K. Hubbard
2399a1589e Correct and add proper man page extents.
Submitted by:	jkh
1994-08-11 01:46:41 +00:00
Jordan K. Hubbard
c28e4c86c0 Fix man extents from .0 to .1
Submitted by:	jkh
1994-08-11 01:42:28 +00:00
Jordan K. Hubbard
6acd8e2475 Bruce Evans is right - this shouldn't touch /etc *at all* and I should
have nuked it, not fixed it.  No longer install /etc/localtime.
Reviewed by:
Submitted by:
1994-08-11 01:39:23 +00:00
Jordan K. Hubbard
5398226dc7 Use the right man page.
Submitted by:	jkh
1994-08-11 01:38:23 +00:00
Jordan K. Hubbard
48df4d52ad Add renice's correct man page to the Makefile.
Submitted by:	jkh
1994-08-11 01:33:22 +00:00
Jordan K. Hubbard
97ad975557 Somewhere in the shuffle this lost its man page. Use the 1.1.5
one.
Submitted by:	jkh
1994-08-11 01:06:29 +00:00
Jordan K. Hubbard
0419c5b941 Add a preventative rm of /etc/localtime in the install rule just in
case it's a link (in which case the subsequent install will fall over).
Submitted by:	jkh
1994-08-11 00:54:30 +00:00
Jordan K. Hubbard
bfc54eff9f Change a .0 to a .5.
Submitted by:	jkh
1994-08-11 00:45:38 +00:00
Jordan K. Hubbard
1e42b679cd Put the cons25 entries for syscons back.
Submitted by:	jkh
1994-08-11 00:39:39 +00:00
Garrett Wollman
fba73571bd For Pentium machines, use a faster version of microtime with 8 usec
resolution (can probably be improved somewhat).  Other machines take
a three-instruction hit if I586_CPU is defined, none otherwise.
1994-08-11 00:28:24 +00:00
Jordan K. Hubbard
60303bdf64 termcap.0 -> termcap.5
Submitted by:	jkh
1994-08-11 00:24:33 +00:00
Jordan K. Hubbard
d20fc875b8 Correct me.0 -> me.7
Submitted by:	jkh
1994-08-11 00:11:44 +00:00
Garrett Wollman
a4f90f4d45 Tell Pentium users their CPU speed. (More changes to make use of this
to come later.)
1994-08-10 23:28:33 +00:00
Garrett Wollman
9830dcf4b8 Install procfs(5). 1994-08-10 20:04:57 +00:00
Garrett Wollman
2e461b47d9 Oops, fix typo. 1994-08-10 20:03:54 +00:00
Garrett Wollman
237dfed1d4 Initial manual page for the new procfs. 1994-08-10 20:03:06 +00:00
David Greenman
4c5483f462 Initialize lockf pointer. I missed this when I made NFS use the generic
advlock mechanism, and not doing so results in random system crashes.
1994-08-10 19:48:23 +00:00
Garrett Wollman
abb5479a19 Gimme my `-k' option back! 1994-08-10 19:25:34 +00:00
Garrett Wollman
7f0eabfd0a Gimme back my `-k' option!
Also document `-t' option in the usage message.
1994-08-10 19:21:07 +00:00
Jordan K. Hubbard
f5b35288ac Remove kerberosIV until it works or is replace with eBones.. It's
hosing my build worlds..
Submitted by:	jkh
1994-08-10 19:19:35 +00:00