Commit Graph

25935 Commits

Author SHA1 Message Date
Bruce Evans
a791a060f3 Fixed missing DPADD.
Fixed some style bugs while I'm here (don't override the (correct)
default for MAN1).
1997-12-16 14:42:08 +00:00
KATO Takenori
cf478d7b45 Don't use PG_N if EPSON PC-486HX/HG/HA (PC-9801 compatible) are
detected.  These machine cannot make L2 cache write-through by PG_N,
and only I/O access (undocumented) can do that.  If PG_N is used,
system hangs.

Reviewed by:	tos@fa2.so-net.or.jp (Toshiyuki Kawashima)
1997-12-16 10:22:49 +00:00
Andrey A. Chernov
ff07b87482 One more ctype cast 1997-12-16 08:58:15 +00:00
Andrey A. Chernov
8e6f104bf2 Add more (unsigned char) casts to ctype macros 1997-12-16 08:22:37 +00:00
Andrey A. Chernov
244bf2805f Add (unsigned char) cast to ctype macro 1997-12-16 08:17:26 +00:00
Brian Somers
d828cf3359 Remove the UK phone codes from inter.phone and create
uk.phone (in line with na.phone).  This is a more detailed
list than the one in inter.phone.

Add uk.postcodes.  I've prefixed it with `uk' to leave room
for (maybe) au.postcodes etc. (if someone feels so inclined).

Obtained from: http://www.brainstorm.co.uk/public/utils
Ok'd to use by: steve@brainstorm.co.uk (Steve Crook)
1997-12-16 04:05:14 +00:00
Paul Traina
3accbba09b Add support for explicit 3C589D varients and XJ1336 modems 1997-12-16 02:43:26 +00:00
Paul Traina
8e4ed0829d Support ISC-DHCP if the package is available. 1997-12-16 02:25:36 +00:00
Brian Somers
b399b74b2d Wrap long lines
Submitted by:	Greg Lehey <grog@lemis.com>
1997-12-16 00:32:35 +00:00
Chris Timmons
72cb1a30ed I'd swore I added this on my prior mega-commit. Any chance adds aren't
processed during the recursive swoop?

Makefile for global's private library, complete with null install rule
to keep this private.
1997-12-15 23:40:54 +00:00
Chris Timmons
3f1c262fff Add lib/Makefile and adjust as necessary to build global 2.2.1 from contrib sources. 1997-12-15 23:34:57 +00:00
Brian Somers
8511968cda Correct return values from alias routines. 1997-12-15 23:34:05 +00:00
Chris Timmons
9cd5c83ccc Remove extra cruft. The previouos commit silently removed source ifles no longer required as of v2.2.1 as well. 1997-12-15 23:27:04 +00:00
Chris Timmons
d8cd62e2bf Resolve -Wall issues and be stylistic about #include directives. 1997-12-15 23:23:35 +00:00
Chris Timmons
f409599509 Merge and resolve conflicts... 1997-12-15 23:13:53 +00:00
Chris Timmons
4a7f990ff7 This commit was generated by cvs2svn to compensate for changes in r31750,
which included commits to RCS files with non-trunk default branches.
1997-12-15 23:08:46 +00:00
Chris Timmons
dde39e507a Import of virgin Global v2_2_1 sources 1997-12-15 23:08:46 +00:00
Eivind Eklund
8c13c35718 Convert SUIDDIR fully to a new-style option.
Forgotten by: julian
1997-12-15 21:51:45 +00:00
Wolfgang Helbig
e84b212f83 Remove cal, add ncal. 1997-12-15 20:52:24 +00:00
Eivind Eklund
1ee36a5be6 It's more portable to use <errno.h> than <sys/errno.h>
Pointed-out-by:	bde (a long while ago)
1997-12-15 20:37:43 +00:00
Wolfgang Helbig
0cb2e609d9 Add new command ncal. 1997-12-15 20:35:22 +00:00
Eivind Eklund
0c7d8ce5a5 Revert 1.15 - duplicate code (initialization).
Pointed-out-by:	bde
1997-12-15 20:34:52 +00:00
Eivind Eklund
430df5f4b7 Throw options IPX, IPXIP and IPTUNNEL into opt_ipx.h.
The #ifdef IPXIP in netipx/ipx_if.h is OK (used from ipx_usrreq.c and
ifconfig.c only).

I also fixed a typo IPXTUNNEL -> IPTUNNEL (and #ifdef'ed out the code
inside, as it never could have compiled - doh.)
1997-12-15 20:31:25 +00:00
Wolfgang Helbig
e525599ef1 Add libcalendar 1997-12-15 20:30:38 +00:00
Brian Somers
abf533d806 Use LogWARN for command usage messages and unrecognised
commands, not LogCOMMAND.
1997-12-15 20:21:47 +00:00
Brian Somers
32ca334139 Do 2 passes when "delete all"ing. The first pass removes
all RTF_WASCLONED routes, and the second removes the
others.  This avoids the situation where we've added an
RTF_CLONING route (such as ``default''), created some
clones, then deleted the CLONING route before the
WASCLONED route(s).  Without the two passes, we get
errno (not rtm_errno) set to ESRCH when deleting the
WASCLONED route, despite the deletion succeeding !

Also:
  Enhance the route operation failure diagnostics.
  Make portability #ifdefs a bit more generic.
1997-12-15 20:21:15 +00:00
KATO Takenori
76733e040d Sync with sys/i386/i386/microtime.s revision 1.35. 1997-12-15 08:37:13 +00:00
Philippe Charnier
20e9e8236d Cosmetic in usage string. 1997-12-15 07:19:41 +00:00
Mike Smith
7ebfc603cf As described by the submitter:
These patches enables us to play quake2 .

Support linux keyboard ioctl for setting RAW, MEDIUMRAW and XLATE.

Support linux virtual terminal operations:
 OPENQRY, GETMODE, SETMODE, GETSTATE, ACTIVATE, and WAITACTIVE.

Submitted by:	Amancio Hasty <hasty@rah.star-gate.com>
1997-12-15 06:09:11 +00:00
John Dyson
bd28588799 Fix a recursive kernel_map lock problem in vm_zone allocator.
PR:	5298
1997-12-15 05:16:09 +00:00
Nate Williams
5fa1e123e1 - Fix some very minor typos. 1997-12-15 04:38:15 +00:00
Garrett Wollman
1cbbd625cc Add support for poll(2) on files. vop_nopoll() now returns POLLNVAL
if one of the new poll types is requested; hopefully this will not break
any existing code.  (This is done so that programs have a dependable
way of determining whether a filesystem supports the extended poll types
or not.)

The new poll types added are:

	POLLWRITE - file contents may have been modified
	POLLNLINK - file was linked, unlinked, or renamed
	POLLATTRIB - file's attributes may have been changed
	POLLEXTEND - file was extended

Note that the internal operation of poll() means that it is impossible
for two processes to reliably poll for the same event (this could
be fixed but may not be worth it), so it is not possible to rewrite
`tail -f' to use poll at this time.
1997-12-15 03:09:59 +00:00
Kazutaka YOKOTA
5d6618fa17 Oops, I forgot to set `cflag' in some cases when initializing the
mouse port.
1997-12-15 02:57:45 +00:00
Mike Smith
0bec68bf7c Consult sa_len before trampling it with MSG_COMPAT set.
PR:             kern/5291
Submitted by:   pb@fasterix.freenix.org (Pierre Beyssac)
1997-12-15 02:29:11 +00:00
Tor Egge
5c623cb649 Add support for low resolution SMP kernel profiling.
- A nonprofiling version of s_lock (called s_lock_np) is used
    by mcount.

  - When profiling is active, more registers are clobbered in
    seemingly simple assembly routines. This means that some
    callers needed to save/restore extra registers.

  - The stack pointer must have space for a 'fake' return address
    in idle, to avoid stack underflow.
1997-12-15 02:18:35 +00:00
John Birrell
d5bc59bb81 Fix recursion problem which occurs when a signal is received during
a malloc. The signal handler creates a thread which requires a malloc...
For now, the only thing to do is to block signals. When we move user
pthreads to use the kernel threads, mutexes will be implemented in kernel
space and then malloc can revert.
1997-12-15 02:12:42 +00:00
Tor Egge
549a42942d Don't forward hardclock or statclock to stopped cpus. Disable forwarding
when a panic has occured.
1997-12-15 01:14:10 +00:00
Sean Eric Fagan
64fce5b3cb Explicitly use the _IOC macro directly. This changes the ioctl command
numbers, so any programs using it need to be recompiled.
1997-12-15 00:29:41 +00:00
John Polstra
a8e99ec909 Make gzipped dynamically linked executables work again. There was
an old bug here that failed to copy the a.out header into memory
properly.  It didn't matter until changes were made recently to
the dynamic linker.
1997-12-14 19:36:24 +00:00
Wolfram Schneider
b31409f379 Optimize rm(1) usage. 1997-12-14 15:38:47 +00:00
KATO Takenori
80ed4956b5 Sync with sys/i386/i386/machdep.c revision 1.279. 1997-12-14 12:31:44 +00:00
Jordan K. Hubbard
e9c1434e68 typo fix.
PR:		5289
Submitted by:	Studded@dal.net
1997-12-14 12:30:59 +00:00
KATO Takenori
162c095232 Sync with sys/i386/conf/files.i386 revision 1.182. 1997-12-14 12:30:54 +00:00
John Dyson
b0d8408e21 Slight improvement to the vm_zone stats output. Also, some other superficial
cleanups.
1997-12-14 05:17:44 +00:00
Mike Smith
f2477ae13d As described by the submitter:
- emulate Linux IP_HDRINCL behaviour in sendto(): byte order fixed
	  Note that we do an extra getsockopt() on every sendto()
	  to check if the option is set because we don't keep state
	  in the emulator code. Is there a better way to implement
	  this?
	- correct a bug (value of "name" not passed) with
	  getsockopt()

Submitted by:	pb@fasterix.freenix.org (Pierre Beyssac)
1997-12-14 03:17:54 +00:00
Mike Smith
5af7db2b73 As described by the submitter:
... fix a bug with orecvfrom() or recvfrom() called with
the MSG_COMPAT flag on kernels compiled with the COMPAT_43 option.
The symptom is that the fromaddr is not correctly returned.

This affects the Linux emulator.

Submitted by:	pb@fasterix.freenix.org (Pierre Beyssac)
1997-12-14 03:15:21 +00:00
John Dyson
8256655132 After one of my analysis passes to evaluate methods for SMP TLB mgmt, I
noticed some major enhancements available for UP situations.  The number
of UP TLB flushes is decreased much more than significantly with these
changes.  Since a TLB flush appears to cost minimally approx 80 cycles,
this is a "nice" enhancement, equiv to eliminating between 40 and 160
instructions per TLB flush.

Changes include making sure that kernel threads all use the same PTD,
and eliminate unneeded PTD switches at context switch time.
1997-12-14 02:11:23 +00:00
James Raynard
5ecfccd5ba Allow slow SCSI CDROMs more time to start up.
PR:		5181
Submitted by:	Wilko Bulte <wilko@yedi.iaf.nl>
1997-12-14 00:32:33 +00:00
Paul Traina
8a0eb35293 Bring in NetBSD compatible & augmented RCSID/COPYRIGHT macros 1997-12-13 20:39:14 +00:00
Paul Traina
b62081305a Sync with NetBSD v1.3.
Keep I8N1 and quarantine port code.  Replace our security fix with NetBSD's
(their idea was better).
1997-12-13 20:38:21 +00:00