Commit Graph

27992 Commits

Author SHA1 Message Date
Wolfgang Helbig 94316d1ddb pcics are devices not controllers. 1998-03-29 07:58:03 +00:00
Peter Wemm d5e73b9fe5 Patch up some space/tab problems. It looks like some of this came
from an xterm via cut/paste.  No other changes apart from whitespace.
1998-03-29 07:53:19 +00:00
Mark Murray a783721299 Fix nasty typo that randomly caused kinit to not properly deduce the
user's username when this was not specified.

Reported by: Sean Eric Fagan
1998-03-29 07:27:43 +00:00
Peter Wemm c740a51211 Add in placeholders for the newer linux syscalls 1998-03-29 06:35:22 +00:00
Eivind Eklund 0fd9336b7e Don't use fast interrupts when initialized through PnP. if_ed does
not support fast interrupts.

Noticed by:	bde
1998-03-29 03:22:19 +00:00
John Polstra c1e07c867e Add support for the AT&T style "fildll" and "fistpll" mnemonics.
These are equivalent to "fildq" and "fistpq" respectively.  This
fixes the bad floating point object code that resulted after recent
changes in the compiler.

Test driven by:	"Mike Burgett" <mburgett@awen.com>,
		Amancio Hasty <hasty@rah.star-gate.com>
1998-03-29 01:38:39 +00:00
Eivind Eklund 55d7643ed8 Support for fine-grained external control of subdir building. 1998-03-29 01:10:09 +00:00
Peter Dufault adc5342c47 The system call stubs for the sched_* system calls can't be
optional.

The kernel will now link but the new system calls can't be LKM'd in
without the P1003_1B option - I will remove this option later.
1998-03-28 22:44:28 +00:00
Eivind Eklund 77b1218492 Activate CVS regression test. 1998-03-28 19:06:21 +00:00
Peter Dufault 7c9f6f8f8b Remove duplicate comment 1998-03-28 18:16:29 +00:00
Steve Price b9921401f1 Don't allow the readdirplus routine to be used in NFS V2.
PR:		5102
Reviewed by:	msmith
Submitted by:	Dmitry Kohmanyuk <dk@farm.org>
1998-03-28 16:05:05 +00:00
Peter Dufault 38c76440b8 Include sys/resource.h to get PRIO_MAX. 1998-03-28 14:49:47 +00:00
Bruce Evans 3c1300a6b3 Removed unused #includes. 1998-03-28 13:25:01 +00:00
Bruce Evans 8c375f5868 Don't export anything from <sys/socket.h> except AF_MAX from here.
This only affects the KERNEL case.

Don't include <sys/radix.h> twice for the KERNEL case.  This fixes
a mismerge from Lite2.

Don't include <sys/radix.h> at all for the !KERNEL case.  This fixes
a wrong cleanup in Lite2.
1998-03-28 12:13:01 +00:00
Bruce Evans 771b51ef7b Don't depend on <sys/mount.h> including <sys/socket.h>. 1998-03-28 12:04:40 +00:00
Peter Dufault 8a6472b723 Finish _POSIX_PRIORITY_SCHEDULING. Needs P1003_1B and
_KPOSIX_PRIORITY_SCHEDULING options to work.  Changes:

Change all "posix4" to "p1003_1b".  Misnamed files are left
as "posix4" until I'm told if I can simply delete them and add
new ones;

Add _POSIX_PRIORITY_SCHEDULING system calls for FreeBSD and Linux;

Add man pages for _POSIX_PRIORITY_SCHEDULING system calls;

Add options to LINT;

Minor fixes to P1003_1B code during testing.
1998-03-28 11:51:01 +00:00
Bruce Evans 08637435f2 Moved some #includes from <sys/param.h> nearer to where they are actually
used.
1998-03-28 10:33:27 +00:00
Bruce Evans 8781d8e928 Fixed style bugs (mostly) in previous commit. 1998-03-28 10:18:26 +00:00
Bruce Evans 812d997c85 Get socket and locking stuff by including <sys/socket.h> and <sys/lock.h>,
not by including <sys/mount.h> and depending on namespace pollution in it.
1998-03-28 08:07:12 +00:00
Mark Murray 9d3f9ef2b6 Debogotify. ln -f should be ln -s to allow the obj/ dir to be
on a different volume.
1998-03-28 07:47:05 +00:00
Andrey A. Chernov 32d3966f1a Fix dead hang writing to FAT
Submitted by: Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>
1998-03-28 07:22:03 +00:00
Warner Losh 432f450f4e Add us.unix.kbd. Just like us.iso.kbd except:
ESCAPE and `~ are swapped
	CTRL and CAPS LOCK are swapped
	BACKSPACE and DELETE are swapped

Suitable for keymap=us.unix in your rc.conf file or for setting on the
fly with kbdcontrol -l us.unix.  This is the keyboard layout of many of
the more traditional unix workstations and terminals that have been around
for a very long time.  Older Sun keyboards and VT100's had a layout
very similar to the PC, with the above exceptions.
Idea Reviewed by:	Many people in -hackers
1998-03-28 06:42:43 +00:00
Stefan Eßer a0f4d79940 Add two VLSI chip set components: 82C592 and 82C593
Submitted by:	Warner Losh <imp@village.org>
1998-03-27 20:36:54 +00:00
Peter Wemm 4acf4a68c9 When building in in the kernel rather than as a LKM, don't compile
all the LKM load/unload junk, and don't forget to register the SYSINIT
so that the cdevsw entry is attached.

BTW: I think the way it builds it's /dev nodes on the fly as an LKM with
vnode ops is kinda cute - I guess that'd be one way to solve the devfs
persistance problems.. :-)  (ie: have the drivers make the nodes in /dev
on disk directly if they are missing, but leave them alone if present).
1998-03-27 18:08:08 +00:00
Peter Wemm 5e9135b2e1 allow open on all minors 1998-03-27 18:03:13 +00:00
Peter Wemm 5c3a5f4a20 A fix for a link down route cleanup panic, when the route cleanup
pulls the rug out from underneath itself.

Obtained from: wollman (a few months ago, I've been using this for ages)
1998-03-27 14:30:18 +00:00
Peter Wemm 26cf9c3b75 Enable the use of soft updates on the root filesystem. Previously, the
softdep mode could only be activated on the initial mount of a filesystem
and then only if it was a read-write mount.  A 'mount -r' (as done in the
rootfs mount) followed by a 'mount -u' to convert to read-write didn't
start softdep mode.
1998-03-27 14:20:57 +00:00
Bruce Evans 8c4461a8ff Removed yacc output files so that it is impossible to mix them with
new ones that we generate.
1998-03-27 11:14:12 +00:00
Bruce Evans eab034e45d Removed yacc output files so that it is impossible to mix them with
new ones that we generate.  We used to always mix the old header with
the new .cc file.  This worked because Cygnus's yacc is surprisingly
compatible with our yacc.
1998-03-27 11:13:47 +00:00
Peter Wemm 1cd2698705 Don't print the 'writes: sync & async' stuff if we're mounted readonly
or if the fs isn't keeping the stats..
1998-03-27 10:52:13 +00:00
Poul-Henning Kamp c6bcf724da Split the padding out into a separate function.
Synchronize the kernel and libmd versions of md5c.c

PR:		misc/6127
Reviewed by:	phk
Submitted by:	Ari Suutari <ari@suutari.iki.fi>
1998-03-27 10:23:00 +00:00
John Dyson f9be84912c Correct a problem where buffers might not be zeroed when needed. The
B_MALLOC buffers might not have been properly zeroed.
1998-03-27 06:48:24 +00:00
Peter Wemm 70dd0b6188 Hmm, silly me. I should have read what everything else was doing.
The initial/lock devices for cua are owned by uucp.dialer as well.

Also, remove redundant chmod on si_control
1998-03-27 04:35:10 +00:00
Peter Wemm 3eddd15d49 Fix permissions on initial/lock specialix cua device nodes.
PR: 6137
1998-03-27 04:19:30 +00:00
Peter Wemm cbd71a62bb Give this a shot at actually working as an LKM.. 1998-03-27 04:05:08 +00:00
Kazutaka YOKOTA 98a1e5421d - The PS/2 mouse driver, psm, is not disabled in the GENERIC
kernel anymore.
- While I am here, brush up the description on the mse driver as well.
1998-03-27 03:11:23 +00:00
Poul-Henning Kamp a0502b19d4 Add two new functions, get{micro|nano}time.
They are atomic, but return in essence what is in the "time" variable.
gettime() is now a macro front for getmicrotime().

Various patches to use the two new functions instead of the various
hacks used in their absence.

Some puntuation and grammer patches from Bruce.

A couple of XXX comments.
1998-03-26 20:54:05 +00:00
Mark Murray 9de765d73b Rats. I was too fast here. Re-enable SUID mode for the non-Kerberos
case.
1998-03-26 19:43:06 +00:00
Mark Murray dd1383e87b Rats. I was too quick. Work needs to be done on the non-Kerberos
case. Re-enable SUID mode.
1998-03-26 19:41:18 +00:00
Mark Murray 4eff93dd4e 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.
1998-03-26 18:15:00 +00:00
Mark Murray 42873e5755 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.
1998-03-26 18:03:41 +00:00
Mark Murray 17515961ec Remove unneeded crud. 1998-03-26 17:55:27 +00:00
Mark Murray 5019f318e8 Make the decision to compile kerberosIV a bit more secure by looking
for the appropriate directory.
1998-03-26 17:32:24 +00:00
Mark Murray 965595b36c Repaired version of Bruce's "make -jN" patches. 1998-03-26 16:57:36 +00:00
Eivind Eklund bd41cae5e3 Remove special global tags support; we don't do it that way anymore. 1998-03-26 16:12:14 +00:00
Eivind Eklund f342a1c4b4 Remove special handling of 'tags' for complex subdir systems
(presently only used in tip; should have been used by e.g. pkg_add).

Submitted by:	bde
1998-03-26 16:02:44 +00:00
Dima Ruban 0fcadac763 Don't build sperl if you don't want to. 1998-03-26 06:06:22 +00:00
Warner Losh 9b5728dbde Remove unused cheat static. 1998-03-25 22:40:06 +00:00
Peter Wemm 8209dfe2f4 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.
1998-03-25 14:28:28 +00:00
Garrett Wollman 3d4d47f398 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.
1998-03-24 18:06:34 +00:00