Mark Murray [Thu, 26 Mar 1998 18:15:00 +0000 (18:15 +0000)]
KTH announced a weakness in their implementation of KerberosIV.
FreeBSD was not vulnerable, but their fix had some useful features.
Incorporate the best of those - rcp(1) no longer needs to be SUID
to root.
Mark Murray [Thu, 26 Mar 1998 18:03:41 +0000 (18:03 +0000)]
Quite a while back KTH (who are the good folks who wrote our KerberosIV)
announced a K4 weakness with their rsh/rlogins. We were not put in any
danger by this, as we were not using KTH rlogin/rsh, but the patches
in themselves, had some good points. This lot means we can run our
rlogin without it being SUID root. Win win win. There are other KTH
cleanups as well.
Peter Wemm [Wed, 25 Mar 1998 14:28:28 +0000 (14:28 +0000)]
Quieten a debug message.. This happens under "normal" operation by 4 bytes
on a frequent enough rate to be annoying. There is a real bug somewhere,
but it looks harmless enough.
Garrett Wollman [Tue, 24 Mar 1998 18:06:34 +0000 (18:06 +0000)]
Use the zone allocator to allocate inpcbs and tcpcbs. Each protocol creates
its own zone; this is used particularly by TCP which allocates both inpcb and
tcpcb in a single allocation. (Some hackery ensures that the tcpcb is
reasonably aligned.) Also keep track of the number of pcbs of each type
allocated, and keep a generation count (instance version number) for future
use.
The logic in tape.c:getfile() doesn't allow for a filesystem
with a blocksize smaller than the tape block size. The problem
seems to be most easily fixed by changeing where fssize is set.
PR: 5704
Submitted by: David Malone <dwmalone@maths.tcd.ie>
Jonathan Lemon [Mon, 23 Mar 1998 19:52:59 +0000 (19:52 +0000)]
Add the ability to make real-mode BIOS calls from the kernel. Currently,
everything is contained inside #ifdef VM86, so this option must be
present in the config file to use this functionality.
Thanks to Tor Egge, these changes should work on SMP machines. However,
it may not be throughly SMP-safe.
Currently, the only BIOS calls made are memory-sizing routines at bootup,
these replace reading the RTC values.
Peter Wemm [Mon, 23 Mar 1998 16:27:43 +0000 (16:27 +0000)]
Several changes:
- Implement proper EISA probing.
- Better support for the new transputer based host cards.
- use standard termios settings, one can use the intial/lock devices.
- use a simple bcopy since some cards/systems apparently don't support
32 bit accesses.
- hard reset and halt host card CPU prior to download in case of a soft
restart.
- recognize new remote module types (ASIC vs. CD1400 based)
- a number of cosmetic changes (my fault, not Nick's)
Bruce Evans [Mon, 23 Mar 1998 13:29:49 +0000 (13:29 +0000)]
Fixed function types in synopsis.
Commented out docmentation of nonexistent authenticate() and
auth_timesok(). authenticate() seems to be obsolete and
auth_timesok() never existed in FreeBSD.
Bruce Evans [Mon, 23 Mar 1998 12:23:13 +0000 (12:23 +0000)]
Support building of libgcc.a without building all of gcc. This is
useful for bootstrapping. Compatible versions of gcc and cc1 should
should be installed before using this feature.
Bruce Evans [Mon, 23 Mar 1998 11:50:38 +0000 (11:50 +0000)]
Honour -static in LDLAGS. ld without -Bstatic is happy to choose
static libraries if there are no shared libraries in the search path,
but gcc without -static blindly attempts to link crt0.o.
John Birrell [Mon, 23 Mar 1998 08:17:16 +0000 (08:17 +0000)]
Add vm_ooffset_t and vm_pindex_t that FreeBSD uses (but NetBSD doesn't).
Ugh, this is for user code that looks into vm_map_entry. I'd shoot
it but semi-automatic guns aren't legal here anymore. 8-(
John Birrell [Mon, 23 Mar 1998 06:58:06 +0000 (06:58 +0000)]
For 1.3, NetBSD walloped the msync syscall and replaced it with
__msync13. The old one got moved to compat_12. Wrap __msync13 up
to look like FreeBSD's msync and be careful to respect the fact that
MS_SYNC is 0x0000 on FreeBSD, but 0x0004 on NetBSD.
Kazutaka YOKOTA [Mon, 23 Mar 1998 06:08:55 +0000 (06:08 +0000)]
- Remove the notice that psm0 must be enabled before using the PS/2 mouse;
the device is enabled by default in the GENERIC kernel.
- Kill the mouse daemon, if any, when the user wants to disable it.
- Minor update on mouse menus.
John Birrell [Sun, 22 Mar 1998 20:19:27 +0000 (20:19 +0000)]
Cast an argument to int for a printf field width the way that gcc
prefers it. This source is compiled with -Werror so the slightest
warning is enough to ruin my day.
John Hay [Sun, 22 Mar 1998 18:39:42 +0000 (18:39 +0000)]
Make the vn device that is being used to build the floppies configurable.
You can now do something like "make release VNDEVICE=vn1". This makes it
possible to do something else with vn0, for instance building another
release.
John Birrell [Sun, 22 Mar 1998 08:55:28 +0000 (08:55 +0000)]
Remove a bunch of unsupported machines, and the 'other' case where
some subdirs were only processed for install and clean (which caused
builds to fail on alpha). Install and clean should always follow
SUBDIRS.
John Birrell [Sun, 22 Mar 1998 04:13:23 +0000 (04:13 +0000)]
Fix a problem of indirection unblocking signals that would have caused
signals to be unblocked even if they were already blocked when entering
the function.
Peter Wemm [Sat, 21 Mar 1998 13:36:20 +0000 (13:36 +0000)]
On most other systems "out there", <net/if.h> does not require the caller
to #include <sys/time.h> first. I've lost count of the number of times
I've had to patch this in porting code. The problem is the
"struct timeval ifi_lastchange" in the mib stats. (most other systems don't
have this, until 4.4bsd anyway).