guido [Mon, 15 Aug 1994 20:06:13 +0000 (20:06 +0000)]
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.
wollman [Mon, 15 Aug 1994 03:15:20 +0000 (03:15 +0000)]
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.
ats [Sun, 14 Aug 1994 23:32:45 +0000 (23:32 +0000)]
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.
ats [Sun, 14 Aug 1994 21:06:00 +0000 (21:06 +0000)]
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.
sef [Sat, 13 Aug 1994 23:15:38 +0000 (23:15 +0000)]
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.
dg [Sat, 13 Aug 1994 14:00:26 +0000 (14:00 +0000)]
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!!!).
wollman [Sat, 13 Aug 1994 03:50:34 +0000 (03:50 +0000)]
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
phk [Sat, 13 Aug 1994 00:37:03 +0000 (00:37 +0000)]
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.
csgr [Fri, 12 Aug 1994 22:41:29 +0000 (22:41 +0000)]
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
dg [Fri, 12 Aug 1994 10:23:49 +0000 (10:23 +0000)]
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.
dg [Fri, 12 Aug 1994 06:51:12 +0000 (06:51 +0000)]
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.
dg [Fri, 12 Aug 1994 06:36:51 +0000 (06:36 +0000)]
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.
wollman [Thu, 11 Aug 1994 20:06:55 +0000 (20:06 +0000)]
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.
jkh [Thu, 11 Aug 1994 01:39:23 +0000 (01:39 +0000)]
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:
jkh [Thu, 11 Aug 1994 00:54:30 +0000 (00:54 +0000)]
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
wollman [Thu, 11 Aug 1994 00:28:24 +0000 (00:28 +0000)]
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.
wollman [Wed, 10 Aug 1994 03:53:33 +0000 (03:53 +0000)]
Some programs (like GNU configure programs) depend on the output of
`uname -s' to be something reasonable (traditionally, `i386') rather
than `PC-Class'. Make it so.
wollman [Wed, 10 Aug 1994 02:48:08 +0000 (02:48 +0000)]
Make the install targets obey the INSTALLFLAGS requests in the new
Makefiles.
DANGER WILL ROBINSON!
This will cause repeat installs of certain programs, such as `init' and
`rcp', to fail unless one of the two conditions is met:
1) You are in single-user mode.
2) Your security level is set to 0 or -1.
If you have compiled a kernel from the latest sources, your kernel
security level is set to -1 by default, which will keep `init' from
fiddling with it. You can increase it, but not decrease it, from the
command line with the command `sysctl -w kern.securelevel=<new value>'.
I believe that -1 is the most appropriate value to use while we are still
developing the code, although when we ship it should be changed back to 0.
wollman [Tue, 9 Aug 1994 20:23:14 +0000 (20:23 +0000)]
Add (substantially re-written) support for /etc/host.conf, and reintegrated
1.1.5 support for YP, fixing a bug in 1.1.5 that prevented YP from ever
working reliably. (I'm amazed that there were no bug reports.)
IWBRNI someone could write a host.conf(5) manual page. Please look at
the code before doing so; this version is somewhat more flexible in the
format of its input.
csgr [Tue, 9 Aug 1994 18:52:52 +0000 (18:52 +0000)]
Install secure/lib/libcrypt as libdescrypt, and symlink it to
libcrypt. There may be a little modification neede to this makefile once
we start working on tidy make world's.
Submitted by: geoff.
csgr [Tue, 9 Aug 1994 18:49:04 +0000 (18:49 +0000)]
The password scrambler now becomes libscrypt, and libcrypt is
a symlink to it. (The real libcrypt will be installed as libdescrypt.)
Submitted by: Geoff.
wollman [Tue, 9 Aug 1994 18:25:38 +0000 (18:25 +0000)]
Make examples install into /usr/share/examples. Like with includes, you
have a choice between SHARED=copies and SHARED=symlinks. The default
is to copy.
I have also added a /usr/share/examples/etc directory, where I hope to
have all sample configuration files which in real use go into /etc installed.
(This way, if the user really screws the real one up, they can always go
back to a known-working distribution copy, even if they don't have sources.)