Commit Graph

43240 Commits

Author SHA1 Message Date
Daniel Eischen 70d192fd9b Make work for sigset_t change. Also modify tests to account for
recent changes to signal handling.
1999-12-05 00:48:53 +00:00
Daniel Eischen 4fc937ef8f Change signal handling to conform to POSIX specified semantics.
Before this change, a signal was delivered to each thread that
didn't have the signal masked.  Signals also improperly woke up
threads waiting on I/O.  With this change, signals are now
handled in the following way:

  o If a thread is waiting in a sigwait for the signal,
    then the thread is woken up.

  o If no threads are sigwait'ing on the signal and a
    thread is in a sigsuspend waiting for the signal,
    then the thread is woken up.

  o In the case that no threads are waiting or suspended
    on the signal, then the signal is delivered to the
    first thread we find that has the signal unmasked.

  o If no threads are waiting or suspended on the signal,
    and no threads have the signal unmasked, then the signal
    is added to the process wide pending signal set.  The
    signal will be delivered to the first thread that unmasks
    the signal.

If there is an installed signal handler, it is only invoked
if the chosen thread was not in a sigwait.

In the case that multiple threads are waiting or suspended
on a signal, or multiple threads have the signal unmasked,
we wake up/deliver the signal to the first thread we find.
The above rules still apply.

Reported by:	Scott Hess <scott@avantgo.com>
Reviewed by:	jb, jasone
1999-12-04 22:55:59 +00:00
Luoqi Chen 6f59da2daa Disconnect and tagged queueing now really work. Also fix a bug that's
causing problems to slow devices.
1999-12-04 22:15:02 +00:00
Bill Paul 544c9788f5 Grrrr. I knew I forgot something. Remove mxphy, add dcphy and pnphy. 1999-12-04 20:07:54 +00:00
Bill Paul 96f2e892a7 Add the if_dc driver and remove all of the al, ax, dm, pn and mx drivers
which it replaces. The new driver supports all of the chips supported
by the ones it replaces, as well as many DEC/Intel 21143 10/100 cards.

This also completes my quest to convert things to miibus and add
Alpha support.
1999-12-04 17:41:31 +00:00
Martin Cracauer e92feeebb1 Fix "subscript has type `char'" warnings by casting to int, as
discussed on -arch.
1999-12-04 17:12:47 +00:00
Marcel Moolenaar fb2ef61513 Properly align the columns of the header on Alpha. 1999-12-04 13:36:22 +00:00
KATO Takenori aa4df56dc6 The address 0x472 is used for the SCSI HDD geometry information on
PC-98.  Therefore, the PC-98 kernel should not modify it.
1999-12-04 13:09:26 +00:00
Marcel Moolenaar 6d467b524d Override PERL and FULLPERL to be just "perl". This prevents MakeMaker
(ie Makefile.PL) from creating makefiles that explicitly use the perl
from the object tree. It breaks cross-building. While I'm here, create
a variable that holds common MakeMaker arguments used by all targets,
and by doing so automaticly fixed a bug.

Approved by: markm
1999-12-04 13:01:21 +00:00
Marcel Moolenaar a900d959ff Add miniperlmain.c to CLEANFILES and remove a second instance of
config_h.sh

Not objected to by: markm
1999-12-04 12:40:38 +00:00
Marcel Moolenaar d176626abc When a Makefile.PL is evaluated in a subdirectory (ext/SDBM_Files/sdbm)
do not prepend '../' to PERL and FULLPERL. It breaks cross-building.

Approved by: markm
1999-12-04 12:35:56 +00:00
Yoshihiro Takahashi e55b790f28 Sync with sys/i386/i386/machdep.c revision up to 1.381. 1999-12-04 12:35:05 +00:00
Marcel Moolenaar a8d6ce6fd2 Bump the version number now that the Linuxulator has pluggable ioctl
handlers.
1999-12-04 11:42:29 +00:00
Marcel Moolenaar 43bef51567 Implement pluggable ioctl handlers.
Other modules can register and unregister ioctl handlers to extend the
ioctls known by the Linuxulator. A recent application is the vmware
port. The Linuxulator itself uses the new interface to register its
handlers as well. Handlers for the following types of ioctls have been
defined:
	cdrom
	console (=keyboard and VT handling)
	socket
	sound
	termio

All ioctl related defines and declarations have been moved to a new
file (linux_ioctl.h), except for the pluggable ioctl handler interface
definition.

While there, cleanup linux.h some more.

linux.h and linux_ioctl.[ch] have been made to conform to style(9) as
much as possible.

Inspired and reviewed by: Vladimir N. Silyaev
1999-12-04 11:10:22 +00:00
Marcel Moolenaar 204fed67d2 oszsigcode -> szosigcode
Pointed out by: bde
1999-12-04 10:53:39 +00:00
Marcel Moolenaar ec1d9fe8ff Fix type of sf_addr.
Pointed out by: bde
1999-12-04 10:40:24 +00:00
Seigo Tanimura 777b4568dd Add the logical ID of ViBRA16CL PNP on Micron Millenium II motherboards.
PR:		kern/15243
Submitted by:	Steven G. Kargl <kargl@troutmask.apl.washington.edu>
1999-12-04 10:13:17 +00:00
Seigo Tanimura 2efb116afa Call ISA_PNP_PROBE() to probe PnP cards, rather than match
the vendor and logical IDs directly.

Submitted by:	peter
Tested by:	Timo Geusch <freebsd@timog.prestel.co.uk>
1999-12-04 09:51:24 +00:00
David E. O'Brien b0576ff7e0 Call isspace() directly to get rid of an objectionable include. 1999-12-04 08:44:05 +00:00
Julian Elischer 907b6f57b9 forgot .CURDIR
caught by Steven G. Kargl <kargl@troutmask.apl.washington.edu>
1999-12-04 03:52:29 +00:00
Kris Kennaway d68e2acd95 The -s option was broken (missing braces around an else clause).
Noticed by:	Thomas Stromberg <tstromberg@rtci.com>
Obtained from:	OpenBSD
1999-12-04 03:19:15 +00:00
Kris Kennaway b26a5ea6fe Fix off-by-one error leading to a segfault.
Noticed by:	Thomas Stromberg <tstromberg@rtci.com>
1999-12-04 02:19:33 +00:00
Peter Wemm 7b72489469 Document the .cvsrc "cvs" option for global options. 1999-12-04 02:15:30 +00:00
Kris Kennaway 1b2fef9f1e Fix buffer overflow & add $FreeBSD$
Reviewed by:	imp
1999-12-04 02:11:51 +00:00
David E. O'Brien 2963da13bf Add -q quite mode. 1999-12-04 01:29:43 +00:00
David E. O'Brien ee7f6d9f9b Minor whitespace fix. 1999-12-04 01:27:51 +00:00
David E. O'Brien eaf4925a25 Support the environtmental var "CVS_OPTIONS". Which can hold a set of
default options for cvs.  These options are interpreted first and can be
overwritten by explicit command line parameters.

Obtained from:	GNU Grep 2.3
1999-12-04 01:23:26 +00:00
Matt Jacob 6af65c6902 Add back in a prefatory TUR when the tape is *not* mounted. This seems
to help with some older tape drives.
1999-12-04 01:13:59 +00:00
Brian Feldman 0757c96050 From the author:
[This] updates [elf.5] from the enitial work I did in Queen's (UK) English to
American English, as is normal for the -doc project stuff.

Submitted by:	Jeroen Ruigrok van der Werven <asmodai@wxs.nl>
1999-12-03 23:31:08 +00:00
Brian Feldman 1c982a6d2f Add RLIMIT_SBSIZE here, too. 1999-12-03 23:25:14 +00:00
Archie Cobbs baa60a3b17 Missed part of previous commit. 1999-12-03 23:15:33 +00:00
Matt Jacob 160f42cca4 Correct some botched timeout defines. Allocate only 8KB for the test read
in samount. Make things a lot quieter in samount (and other places). Fix
ridiculous and not so ridiculous bugs in compression related code in both
sagetparams and sasetparams.
1999-12-03 23:14:11 +00:00
Archie Cobbs e489a907c4 Recognize NGM_BPF_COOKIE. 1999-12-03 23:12:41 +00:00
Archie Cobbs 92a3e5521f New netgraph node type, ng_bpf(8). This node type allows you to
apply bpf(4) filters to data travelling through a netgraph network.
1999-12-03 21:21:49 +00:00
Archie Cobbs 899e9c4e44 Add a new function ng_findhook() for finding a node's hook;
if the node type provides a more efficient implementation than
the normal linear scan, use it.

Reviewed by:	julian
1999-12-03 21:17:30 +00:00
Semen Ustimenko b17f083b0f Merged NetBSD version, as they have done improvements:
1. ntfs_read*attr*() functions now accept
	uio structure to eliminate one data copying.
	2. found and removed deadlock caused
	by 6 concurent ls -lR.
	3. started implementation of nromal
	Unicode<->unix recodeing.

Obtained from:	NetBSD
1999-12-03 20:37:40 +00:00
Archie Cobbs 2076235ada Fix bug parsing 32 bit integers on machines where sizeof(long) == 4. 1999-12-03 20:27:33 +00:00
Semen Ustimenko 9300c69625 Added ntfs filesystem to be exported. 1999-12-03 20:23:53 +00:00
Semen Ustimenko 5bf4211543 Added ntfs subdir to be filled. 1999-12-03 20:22:45 +00:00
Semen Ustimenko 7906f99bf4 Added ntfs subdir to allow mountd.c include <ntfs/ntfsmount.h>
and others.
1999-12-03 20:17:16 +00:00
Andrey A. Chernov 9e99391dec Don't use %E* in old fields for compatibility reasons 1999-12-03 19:52:06 +00:00
Marcel Moolenaar 6468017b7f Fix for the new usage of mkioctls 1999-12-03 17:35:34 +00:00
Andrey A. Chernov e64b191d27 Change -i host to whois.networksolutions.com 1999-12-03 16:56:57 +00:00
Yoshihiro Takahashi 8203d279a0 Supported to sound beep.
Submitted by:	chi@bd.mbn.or.jp (Chiharu Shibata)
1999-12-03 13:20:55 +00:00
Yoshihiro Takahashi 2fc1b2c314 pc98/pc98/atapi.c
Copied from i386/isa/atapi.c.
	Fixed to support slave devices.
	Ignore the device that has strange model strings.

i386/isa/atapi.c
	Removed pc98 codes.

Submitted by:	chi@bd.mbn.or.jp (Chiharu Shibata)
1999-12-03 12:56:21 +00:00
Marcel Moolenaar e2366ecc70 Avoid hardcoding any paths and variables. The include directory must
now be specified on the command line. Accept a '-s' option which
controls whether a switch-statement is to be used instead of a series
of if-statements.

Replace cpp with gcc -E.

Discussed with: bde
1999-12-03 12:50:02 +00:00
Yoshihiro Takahashi 82a9a36d9f Change splbio() to splcam(). bs is cam driver. 1999-12-03 11:58:12 +00:00
Yoshihiro Takahashi 86a4809ff7 Sync with sys/i386/conf/GENERIC revision 1.208. 1999-12-03 11:40:52 +00:00
Matthew N. Dodd 238ebf9958 Remove mention of 'ivars'. 1999-12-03 11:22:28 +00:00
Julian Elischer 1f8ffa4bca Make the stub routines have the same prototypes as the real bpf
routines.
1999-12-03 09:59:02 +00:00