]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
25 years agoTypo: BUF_INITLOCK -> BUF_LOCKINIT and BUF_FREELOCK -> BUF_LOCKFREE.
KATO Takenori [Mon, 28 Jun 1999 14:01:03 +0000 (14:01 +0000)]
Typo: BUF_INITLOCK -> BUF_LOCKINIT and BUF_FREELOCK -> BUF_LOCKFREE.

25 years agoUse the correct value for banksize so splash_pcx works in LFB modes.
Dag-Erling Smørgrav [Mon, 28 Jun 1999 13:52:29 +0000 (13:52 +0000)]
Use the correct value for banksize so splash_pcx works in LFB modes.

25 years agoSync with sys/i386/isa/clock.c revision 1.138.
KATO Takenori [Mon, 28 Jun 1999 13:11:16 +0000 (13:11 +0000)]
Sync with sys/i386/isa/clock.c revision 1.138.

25 years agoSync with sys/i386/i386/userconfig.c revision 1.146.
KATO Takenori [Mon, 28 Jun 1999 13:10:03 +0000 (13:10 +0000)]
Sync with sys/i386/i386/userconfig.c revision 1.146.

25 years agoSync with sys/i386/i386/machdep.c revision 1.344.
KATO Takenori [Mon, 28 Jun 1999 13:08:59 +0000 (13:08 +0000)]
Sync with sys/i386/i386/machdep.c revision 1.344.

25 years agoSync with sys/i386/conf/Makefile.i386 revision 1.156.
KATO Takenori [Mon, 28 Jun 1999 13:07:58 +0000 (13:07 +0000)]
Sync with sys/i386/conf/Makefile.i386 revision 1.156.

25 years agoFix a KASSERT() that was negated and lead to:
Peter Wemm [Mon, 28 Jun 1999 12:34:40 +0000 (12:34 +0000)]
Fix a KASSERT() that was negated and lead to:
  nfs_strategy: buffer 0xxxxx not locked
when you attempted to write and had INVARIANTS turned on.

25 years agoFix page fault in visual userconfig's save code. (I only use normal
Peter Wemm [Mon, 28 Jun 1999 12:07:36 +0000 (12:07 +0000)]
Fix page fault in visual userconfig's save code.  (I only use normal
userconfig, my original tweaks to visual mode were not well tested)

Submitted by: Peter Holm <peter@holm.cc>

25 years agoSync usage() with the manpage.
Sheldon Hearn [Mon, 28 Jun 1999 11:27:14 +0000 (11:27 +0000)]
Sync usage() with the manpage.

Approved by: mpp

25 years agoUpdate the SYNOPSIS to reflect that the -l option can be specified
Mike Pritchard [Mon, 28 Jun 1999 10:50:47 +0000 (10:50 +0000)]
Update the SYNOPSIS to reflect that the -l option can be specified
more than once.

Pointed-out-by: sheldonh
25 years agomake va_fsid be of type udev_t
Poul-Henning Kamp [Mon, 28 Jun 1999 10:35:07 +0000 (10:35 +0000)]
make va_fsid be of type udev_t

25 years agoAdd some extra alpha_pal_imb()'s in overkill mode. This makes this PC164SX
Peter Wemm [Mon, 28 Jun 1999 09:38:09 +0000 (09:38 +0000)]
Add some extra alpha_pal_imb()'s in overkill mode.  This makes this PC164SX
run quite reliably now.  I've explicitly tagged them as /* XXX overkill? */
although one does actually check for VM_PROT_EXECUTE.

Based on a suggestion by:  Dmitrij Tejblum <tejblum@arc.hq.cti.ru>

25 years agoFix broken logic: (!wrap || log) -> (!wrap && log) .
Sheldon Hearn [Mon, 28 Jun 1999 09:28:17 +0000 (09:28 +0000)]
Fix broken logic: (!wrap || log) -> (!wrap && log) .

Reported by: David Malone <dwmalone@maths.tcd.ie>

25 years agoUse the same -UKERNEL strategy as the alpha to avoid the inlines etc.
Peter Wemm [Mon, 28 Jun 1999 09:21:41 +0000 (09:21 +0000)]
Use the same -UKERNEL strategy as the alpha to avoid the inlines etc.

25 years agoDon't #include i386/isa/isa_dma.h - it's in isa/isavar.h now. This
Peter Wemm [Mon, 28 Jun 1999 09:19:58 +0000 (09:19 +0000)]
Don't #include i386/isa/isa_dma.h - it's in isa/isavar.h now.  This
driver is probably not far from being MI now anyway.

25 years agoRevert back to not using -DKERNEL - it exposes inlines etc.
Peter Wemm [Mon, 28 Jun 1999 09:18:44 +0000 (09:18 +0000)]
Revert back to not using -DKERNEL - it exposes inlines etc.
Zap symbols.raw and glue to make symbols.* - it's not used on the ELF-only
alpha kernel.  Symbol sorting is dead-end anyway once libkvm uses the
in-kernel linker symbol lookup.

25 years agoRevert back to not using -DKERNEL
Peter Wemm [Mon, 28 Jun 1999 09:15:35 +0000 (09:15 +0000)]
Revert back to not using -DKERNEL

25 years agoMove struct prochd out of #ifdef KERNEL so the Alpha genassym can get
Peter Wemm [Mon, 28 Jun 1999 09:14:18 +0000 (09:14 +0000)]
Move struct prochd out of #ifdef KERNEL so the Alpha genassym can get
at it.

25 years agoTweak include ordering so sys/systm.h is before sys/buf.h to keep buf.h's
Peter Wemm [Mon, 28 Jun 1999 09:12:46 +0000 (09:12 +0000)]
Tweak include ordering so sys/systm.h is before sys/buf.h to keep buf.h's
inlines happy.

25 years agoDefine "OBSTACK_CHUNK_SIZE" as getpagesize().
David E. O'Brien [Mon, 28 Jun 1999 09:05:56 +0000 (09:05 +0000)]
Define "OBSTACK_CHUNK_SIZE" as getpagesize().
Our malloc can allocte pagesized blocks efficiently and the EGCS default size
of 4072 bytes is not optimal.

Submitted by: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>

25 years agoWhen requesting an exclusive lock with LK_NOWAIT, do not panic
Kirk McKusick [Mon, 28 Jun 1999 07:54:58 +0000 (07:54 +0000)]
When requesting an exclusive lock with LK_NOWAIT, do not panic
if LK_RECURSIVE is not set, as we will simply return that the
lock is busy and not actually deadlock. This allows processes
to use polling locks against buffers that they may already
hold exclusively locked.

25 years agoHmm, might as well make all of BEFORE_DEPEND first in case make depend
Poul-Henning Kamp [Mon, 28 Jun 1999 07:19:51 +0000 (07:19 +0000)]
Hmm, might as well make all of BEFORE_DEPEND first in case make depend
wasn't run.

25 years agoAlso make pci_if.h early if make depend wasn't run.
Poul-Henning Kamp [Mon, 28 Jun 1999 07:10:55 +0000 (07:10 +0000)]
Also make pci_if.h early if make depend wasn't run.

25 years agoMake bus_if.h and device_if.h as early as possible if make depend hasn't
Poul-Henning Kamp [Mon, 28 Jun 1999 07:06:21 +0000 (07:06 +0000)]
Make bus_if.h and device_if.h as early as possible if make depend hasn't
been run.

25 years agoAmd now mounts to "/.amd_mnt" rather than "/net". "/net/<host>" now works
David E. O'Brien [Mon, 28 Jun 1999 04:09:14 +0000 (04:09 +0000)]
Amd now mounts to "/.amd_mnt" rather than "/net".  "/net/<host>" now works
in addition to "/host/<host>".  This make us consistant with Sun (as we
already were with SGI).

25 years agoSyntax for user/group is changed from "user.group" to "user:group" to be
David E. O'Brien [Mon, 28 Jun 1999 03:15:02 +0000 (03:15 +0000)]
Syntax for user/group is changed from "user.group" to "user:group" to be
consistant with chown(8).

25 years agoFix minor alignment problem.
David E. O'Brien [Mon, 28 Jun 1999 03:03:17 +0000 (03:03 +0000)]
Fix minor alignment problem.

25 years agoNew ports/{java,irc,x11-servers} categories, Step #5 - update misc files.
Bill Fumerola [Mon, 28 Jun 1999 02:37:34 +0000 (02:37 +0000)]
New ports/{java,irc,x11-servers} categories, Step #5 - update misc files.

25 years agoAdd MultiTech Atlas modem
Nick Hibma [Sun, 27 Jun 1999 22:28:02 +0000 (22:28 +0000)]
Add MultiTech Atlas modem

25 years agoRemove superfluous semi-colon
Nick Hibma [Sun, 27 Jun 1999 22:24:20 +0000 (22:24 +0000)]
Remove superfluous semi-colon

25 years agoStandardize appearance of subsection headers (two spaces for section name)
Justin M. Seger [Sun, 27 Jun 1999 22:12:35 +0000 (22:12 +0000)]
Standardize appearance of subsection headers (two spaces for section name)

25 years agoKirk missed a required BUF_KERNPROC(). Even though this is a non-async
Peter Wemm [Sun, 27 Jun 1999 22:08:38 +0000 (22:08 +0000)]
Kirk missed a required BUF_KERNPROC().  Even though this is a non-async
transfer, the b_iodone hook causes biodone() to release it from interrupt
context.

25 years agoAn SMP-specific change: Remove an unnecessary lock acquire and release
Alan Cox [Sun, 27 Jun 1999 21:31:43 +0000 (21:31 +0000)]
An SMP-specific change: Remove an unnecessary lock acquire and release
from every system call.  (Storing a 32-bit constant is inherently
atomic.)

Reviewed by: Matthew Dillon <dillon@apollo.backplane.com>

25 years agoFix the SYNOPSIS to reflect that the -w option can be specified twice.
Sheldon Hearn [Sun, 27 Jun 1999 21:07:55 +0000 (21:07 +0000)]
Fix the SYNOPSIS to reflect that the -w option can be specified twice.

Requested by: obrien
Approved by: mpp

25 years agoMake <sys/buf.h>'s inlines happier.
Peter Wemm [Sun, 27 Jun 1999 20:52:22 +0000 (20:52 +0000)]
Make <sys/buf.h>'s inlines happier.

25 years agoadd description of Qlogic ISP FC Full Duplex option
Matt Jacob [Sun, 27 Jun 1999 19:35:23 +0000 (19:35 +0000)]
add description of Qlogic ISP FC Full Duplex option

25 years agoDrop the embedded boot code in favour of a -B option which reads
Robert Nordier [Sun, 27 Jun 1999 19:29:15 +0000 (19:29 +0000)]
Drop the embedded boot code in favour of a -B option which reads
the boot code from /boot/mbr, or elsewhere as defined by the revised
"-b bootcode" option; use getopt(3); clarify usage(); partially
revise man page; etc.

25 years agoadd config option for fibre channel full duplex
Matt Jacob [Sun, 27 Jun 1999 19:28:26 +0000 (19:28 +0000)]
add config option for fibre channel full duplex

25 years agoAdd command-line option (-w), specified once to enable wrapping and
Sheldon Hearn [Sun, 27 Jun 1999 18:05:34 +0000 (18:05 +0000)]
Add command-line option (-w), specified once to enable wrapping and
twice to enable wrapping for internal wrapping as well. If the option is
not specified wrapping is turned off so that inetd will behave exactly
as it used to before TCP Wrappers was imported.

Change etc/defaults/rc.conf so as to encourage wrapping on new systems.

Clarify the use of TCP Wrappers in the IMPLEMENTATION NOTES of the
manual page.

Approved by: jkh

25 years agoDo nothing for the etc-examples target when SHARED=symlinks, since we'll
Sheldon Hearn [Sun, 27 Jun 1999 16:42:25 +0000 (16:42 +0000)]
Do nothing for the etc-examples target when SHARED=symlinks, since we'll
end up trying to install into the source directory.

Reported by: bde

25 years agoKeep the inlines for <sys/buf.h> happy..
Peter Wemm [Sun, 27 Jun 1999 13:26:23 +0000 (13:26 +0000)]
Keep the inlines for <sys/buf.h> happy..

25 years ago* Tidy up a few things and fix some more warnings.
Doug Rabson [Sun, 27 Jun 1999 12:44:44 +0000 (12:44 +0000)]
* Tidy up a few things and fix some more warnings.
* Change the devsw declaration to standard form and add missing fields
* Change the filename from cdev_mod.ko to cdev.ko

25 years agoMinor tweaks to make sure (new) prerequisites for <sys/buf.h> (mostly
Peter Wemm [Sun, 27 Jun 1999 11:44:22 +0000 (11:44 +0000)]
Minor tweaks to make sure (new) prerequisites for <sys/buf.h> (mostly
splbio()/splx()) are #included in time.

25 years agoThe BUF_*() routines must be internally splbio() protected otherwise they
Peter Wemm [Sun, 27 Jun 1999 11:40:03 +0000 (11:40 +0000)]
The BUF_*() routines must be internally splbio() protected otherwise they
can cause a biodone() from a disk interrupt to spin when the interrupt
code tries to grab the simplelock.  Masking BIO here means buftimelock
and/or lk->lk_interlock shouldn't be held when an interrupt tries to grab
them.

25 years agoPrint out the fs_id field.
Poul-Henning Kamp [Sun, 27 Jun 1999 10:05:14 +0000 (10:05 +0000)]
Print out the fs_id field.

25 years agoReplace usbd_device_set_desc by device_set_desc_copy
Nick Hibma [Sun, 27 Jun 1999 09:42:40 +0000 (09:42 +0000)]
Replace usbd_device_set_desc by device_set_desc_copy

25 years agoCall the chained module handler before unregistering the syscall so that
Doug Rabson [Sun, 27 Jun 1999 09:38:44 +0000 (09:38 +0000)]
Call the chained module handler before unregistering the syscall so that
errors can be detected.

Submitted by: "A.Yu.Isupov" <isupov@moonhe.jinr.ru>
PR:       kern/12239

25 years agoInitialize and hold locks for ccd generated bufs..
Peter Wemm [Sun, 27 Jun 1999 09:28:43 +0000 (09:28 +0000)]
Initialize and hold locks for ccd generated bufs..

Obtained from: Matt Dillon <dillon@backplane.com>

25 years agoMake SMP work again. lockmgr() needed to be told to free the buftimelock
Peter Wemm [Sun, 27 Jun 1999 09:13:19 +0000 (09:13 +0000)]
Make SMP work again.  lockmgr() needed to be told to free the buftimelock
interlock.

25 years agoShut up gcc.
Peter Wemm [Sun, 27 Jun 1999 09:08:48 +0000 (09:08 +0000)]
Shut up gcc.

25 years agoFix some typos and do some minor mdoc cleanup.
Mike Pritchard [Sun, 27 Jun 1999 02:38:46 +0000 (02:38 +0000)]
Fix some typos and do some minor mdoc cleanup.

25 years agoDocument that mlock() and munlock() can return EPERM if the
Mike Pritchard [Sun, 27 Jun 1999 00:28:55 +0000 (00:28 +0000)]
Document that mlock() and munlock() can return EPERM if the
caller is not the super-user.  Also document that we do not
currently support the per-process RLIMIT_MEMLOCK limit.

PR: doc/11607

25 years agoMinor mdoc fix.
Mike Pritchard [Sat, 26 Jun 1999 23:16:40 +0000 (23:16 +0000)]
Minor mdoc fix.

25 years agoActually describe all of the command line options in fsinfo(8).
Mike Pritchard [Sat, 26 Jun 1999 22:53:22 +0000 (22:53 +0000)]
Actually describe all of the command line options in fsinfo(8).
Most of the text was take from the fsinfo section in info(1).
Also included a pointer to that information, since there is
so much detail about the format of the configuration files there.

25 years agoDocument -P (keyboard probe) assumptions.
Robert Nordier [Sat, 26 Jun 1999 21:57:08 +0000 (21:57 +0000)]
Document -P (keyboard probe) assumptions.

25 years agoJust return `curbrk' for sbrk(0) to avoid syscall overhead.
Hidetoshi Shimokawa [Sat, 26 Jun 1999 15:22:33 +0000 (15:22 +0000)]
Just return `curbrk' for sbrk(0) to avoid syscall overhead.

25 years agoThere isn't much point waking up a daemon that hasn't existed since
Peter Wemm [Sat, 26 Jun 1999 14:56:58 +0000 (14:56 +0000)]
There isn't much point waking up a daemon that hasn't existed since
softupdates came in.  Try calling speedup_syncer() instead..

25 years agoGC the remnants of the old pre-softupdates update daemon. It's been
Peter Wemm [Sat, 26 Jun 1999 14:46:35 +0000 (14:46 +0000)]
GC the remnants of the old pre-softupdates update daemon. It's been
#if 0'd for a fair while now.

25 years agoI'm tired of having a 'hanging root device'.. This isn't a "fix", just
Peter Wemm [Sat, 26 Jun 1999 14:44:24 +0000 (14:44 +0000)]
I'm tired of having a 'hanging root device'..  This isn't a "fix", just
a workaround for a specific case where cam interrupts right in the middle
of this printf.

25 years agoRemove unused variable and computation, possibly leading to a
Nick Hibma [Sat, 26 Jun 1999 14:42:17 +0000 (14:42 +0000)]
Remove unused variable and computation, possibly leading to a
divide by zero fault.

Possible fix for PR12041

PR: 12041
Submitted-By: J.Hudson@massey.ac.nz
Reviewed-By: nsouch

25 years agoQuick fix to make libcam compile.. I don't know about the rest of world
Peter Wemm [Sat, 26 Jun 1999 14:25:03 +0000 (14:25 +0000)]
Quick fix to make libcam compile..  I don't know about the rest of world
yet.

25 years agoChange 'device' to 'self', to be more like the rest of the code
Nick Hibma [Sat, 26 Jun 1999 12:55:25 +0000 (12:55 +0000)]
Change 'device' to 'self', to be more like the rest of the code

25 years agoMake genassym compile - the recent buf locking changes meant that more
Peter Wemm [Sat, 26 Jun 1999 12:45:17 +0000 (12:45 +0000)]
Make genassym compile - the recent buf locking changes meant that more
things from #ifdef KERNEL were needed.

25 years agoABS_SET() and BSS_SET() are no longer used. The sole remaining user of
Peter Wemm [Sat, 26 Jun 1999 12:27:01 +0000 (12:27 +0000)]
ABS_SET() and BSS_SET() are no longer used.  The sole remaining user of
TEXT_SET() is DDB's command tables.

25 years agoQuieten some warnings as a result of changes in ls_items[] constness over
Peter Wemm [Sat, 26 Jun 1999 12:19:03 +0000 (12:19 +0000)]
Quieten some warnings as a result of changes in ls_items[] constness over
time.

25 years agoForce umask to 077 (instead of 000) during the edit phase, to get
Pierre Beyssac [Sat, 26 Jun 1999 12:15:39 +0000 (12:15 +0000)]
Force umask to 077 (instead of 000) during the edit phase, to get
secure permissions in case the user attempts to save something to
a file of his own.

Move umask stuff out of pw_init() into main() for better visibility
of overall umask tweaking logic.

PR: misc/11797

25 years ago* Call cdevsw_remove from the MOD_UNLOAD event.
Doug Rabson [Sat, 26 Jun 1999 11:39:27 +0000 (11:39 +0000)]
* Call cdevsw_remove from the MOD_UNLOAD event.
* Fix a couple of warnings while I'm here.

25 years agoFix a dev_t/udev_t issue
Peter Wemm [Sat, 26 Jun 1999 11:00:17 +0000 (11:00 +0000)]
Fix a dev_t/udev_t issue

25 years ago#if 0 an unused function since it generates warnings.. (I have not deleted
Peter Wemm [Sat, 26 Jun 1999 10:52:54 +0000 (10:52 +0000)]
#if 0 an unused function since it generates warnings..  (I have not deleted
it in case it's part of a bigger plan.)

25 years agoReport the correct master.passwd path on failure when the -d option is
Sheldon Hearn [Sat, 26 Jun 1999 10:45:06 +0000 (10:45 +0000)]
Report the correct master.passwd path on failure when the -d option is
used.

25 years agoMake sure that we record the flags in all cases.
Doug Rabson [Sat, 26 Jun 1999 10:27:30 +0000 (10:27 +0000)]
Make sure that we record the flags in all cases.

Submitted by: Bernd Walter <ticso@cicely.de>
PR:       kern/12399

25 years agoDecode all currently supported values of the ptrace `request' arg.
Bruce Evans [Sat, 26 Jun 1999 07:31:13 +0000 (07:31 +0000)]
Decode all currently supported values of the ptrace `request' arg.

25 years agoAdd -d option to vipw(8) to allow selection of an alternative directory
Sheldon Hearn [Sat, 26 Jun 1999 07:16:42 +0000 (07:16 +0000)]
Add -d option to vipw(8) to allow selection of an alternative directory
for the password files.

PR: 2703
Submitted by: jmg

25 years agoCorrect usage message
Brian Somers [Sat, 26 Jun 1999 03:11:39 +0000 (03:11 +0000)]
Correct usage message

25 years agoDon't bother read()ing if we ``expect'' nothing in our chat script.
Brian Somers [Sat, 26 Jun 1999 02:54:36 +0000 (02:54 +0000)]
Don't bother read()ing if we ``expect'' nothing in our chat script.

25 years agoIf we run out of chat script immediately after a successfully executed
Brian Somers [Sat, 26 Jun 1999 02:54:24 +0000 (02:54 +0000)]
If we run out of chat script immediately after a successfully executed
expect-send-expect sequence, finish gracefully, don't core dump.
This bug has been there for over a year - I could never reproduce it !

Straw provided by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>

25 years agoConvert buffer locking from using the B_BUSY and B_WANTED flags to using
Kirk McKusick [Sat, 26 Jun 1999 02:47:16 +0000 (02:47 +0000)]
Convert buffer locking from using the B_BUSY and B_WANTED flags to using
lockmgr locks. This commit should be functionally equivalent to the old
semantics. That is, all buffer locking is done with LK_EXCLUSIVE
requests. Changes to take advantage of LK_SHARED and LK_RECURSIVE will
be done in future commits.

25 years agoIn in_pcbconnect(), check the return value from in_pcbbind() and
Pierre Beyssac [Fri, 25 Jun 1999 23:46:47 +0000 (23:46 +0000)]
In in_pcbconnect(), check the return value from in_pcbbind() and
exit on errors.

If we don't, in_pcbrehash() is called without a preceeding
in_pcbinshash(), causing a crash.

There are apparently several conditions that could cause the crash;
PR misc/12256 is only one of these.

PR: misc/12256

25 years agoSort options.
David E. O'Brien [Fri, 25 Jun 1999 22:31:47 +0000 (22:31 +0000)]
Sort options.
Add options in usage() not documented.

25 years agoFix -1 (onetry) fails, exit(2) rather than exit(1) so an error from this
David E. O'Brien [Fri, 25 Jun 1999 22:28:34 +0000 (22:28 +0000)]
Fix -1 (onetry) fails, exit(2) rather than exit(1) so an error from this
option is distingishable from other errors.

25 years agoFix bug (introduced by me) where UDP port numbers were starting at 1 instead
Archie Cobbs [Fri, 25 Jun 1999 21:48:40 +0000 (21:48 +0000)]
Fix bug (introduced by me) where UDP port numbers were starting at 1 instead
of 33435 like before.

Reported by: John Polstra <jdp@polstra.com>

25 years agoMake a reference to rtprio, which will definatly be of interest to someone
Bill Fumerola [Fri, 25 Jun 1999 20:54:33 +0000 (20:54 +0000)]
Make a reference to rtprio, which will definatly be of interest to someone
looking at this page.

Requested By: Keith Stevenson <k.stevenson@louisville.edu>

25 years agoAdd Pro/100+ (i82559) to the list of supported products.
Matthew Hunt [Fri, 25 Jun 1999 16:48:56 +0000 (16:48 +0000)]
Add Pro/100+ (i82559) to the list of supported products.

Approved by: dg

25 years agoFrom submitter:
KATO Takenori [Fri, 25 Jun 1999 15:17:20 +0000 (15:17 +0000)]
From submitter:
The attached diff attempts to eliminate as much of the difference
between the i386 and the pc98 version of the file as possible.  It
should not make any semantic difference (it consists of whitespace
changes, order changes, comment changes, changes of case for hex
constants, and merging in a couple of constants that hadn't made it
from the i386 version.)

Submitted by: eivind

25 years ago- add "-s src_addr" option to allow setting of the source IP address;
Ruslan Ermilov [Fri, 25 Jun 1999 14:11:16 +0000 (14:11 +0000)]
- add "-s src_addr" option to allow setting of the source IP address;
- fix two minor bugs;
- slightly cleanup manpage.

25 years agoNever return the root node itself from rn_match(); return NULL instead.
Pierre Beyssac [Fri, 25 Jun 1999 13:43:30 +0000 (13:43 +0000)]
Never return the root node itself from rn_match(); return NULL instead.

This caused a panic in rtfreee() called with a root node from the
routing socket code (when processing a RTM_GET message looking for
the default route while there is none).

Since no existing code seems to have any use getting the root node
from rn_match(), it seems cleaner never to return it rather than
check for this condition at the caller's.

PR: kern/12265

25 years agoDon't continue if parsing failed when -f is in use. Exit with nonzero value.
Martin Cracauer [Fri, 25 Jun 1999 09:04:48 +0000 (09:04 +0000)]
Don't continue if parsing failed when -f is in use. Exit with nonzero value.

25 years agoNine'th update to the new ATA/ATAPI driver:
Søren Schmidt [Fri, 25 Jun 1999 09:03:07 +0000 (09:03 +0000)]
Nine'th update to the new ATA/ATAPI driver:

The atapi subsystem has gotten better error handeling and timeouts,
it also tries a REQUEST SENSE command when devices returns errors,
to give a little more info as to what went wrong. It might be a
little verbose for now, but I'm interested in as much feedback on
errors as possible, especially timeouts, as I'm a bit in doubt if
I've chosen resonable default values everywhere.

The disk driver has been changed a bit to prepare for tagged queing,
which is next on my list.

The disk driver has grown a dump routine, I got one implementation
from Darrell Anderson <anderson@cs.duke.edu> which also did
partial dumps (usefull on big memory machines) I left out the
partial stuff for now, and changed the rest alot to fit into the new
ad_request framework.

Some minor cleanups and rearrangements as well.

As usual USE AT YOUR OWN RISK!!, this is still pre alpha level code.
Especially the DMA support can hose your disk real bad if anything
goes wrong, again you have been warned :)
Notebook owners should be carefull that their machines dont suspend
as this might cause trouble...

But please tell me how it works for you!

Enjoy!

-Søren

25 years agoMake this sample build again.
Doug Rabson [Fri, 25 Jun 1999 07:50:26 +0000 (07:50 +0000)]
Make this sample build again.

25 years agoAdd function cdevsw_remove, the opposite of cdevsw_add: remove an
Greg Lehey [Fri, 25 Jun 1999 07:49:01 +0000 (07:49 +0000)]
Add function cdevsw_remove, the opposite of cdevsw_add: remove an
entry in cdevsw (and bdevsw if appropriate).

Reviewed-by: phk
25 years agofix the links to the bitstring man page..
John-Mark Gurney [Fri, 25 Jun 1999 04:51:49 +0000 (04:51 +0000)]
fix the links to the bitstring man page..

fix wording in man page, through != to

25 years agoFix a reference counting problem when using dlopen(NULL, ...).
John Polstra [Fri, 25 Jun 1999 04:50:06 +0000 (04:50 +0000)]
Fix a reference counting problem when using dlopen(NULL, ...).

PR: bin/12129

25 years agoFix a serious performance bug for large programs on the Alpha,
John Polstra [Fri, 25 Jun 1999 02:53:59 +0000 (02:53 +0000)]
Fix a serious performance bug for large programs on the Alpha,
discovered by Hidetoshi Shimokawa.  Large programs need multiple
GOTs.  The lazy binding stub in the PLT can be reached from any of
these GOTs, but the dynamic linker only has enough information to
fix up the first GOT entry.  Thus calls through the other GOTs went
through the time-consuming lazy binding process on every call.

This fix rewrites the PLT entries themselves to bypass the lazy
binding.

Tested by Hidetoshi Shimokawa and Steve Price.

Reviewed by: Doug Rabson <dfr@freebsd.org>

25 years agoadd support to buildworld as a normal user:
John-Mark Gurney [Thu, 24 Jun 1999 22:50:24 +0000 (22:50 +0000)]
add support to buildworld as a normal user:
-DNOFSCHG disables installation of libs with flag schg
GAMEGRP change the group with which games are installed

also organize the binary section into alphebetical order some what..

25 years agoFix warning message; that was 4GB, not 2GB. I apparently can't do
Jonathan Lemon [Thu, 24 Jun 1999 20:53:24 +0000 (20:53 +0000)]
Fix warning message; that was 4GB, not 2GB.  I apparently can't do
arithmetic today.

25 years agoExplicitly ignore any memory > 2GB, we don't support it yet.
Jonathan Lemon [Thu, 24 Jun 1999 20:47:11 +0000 (20:47 +0000)]
Explicitly ignore any memory > 2GB, we don't support it yet.

25 years agoOnly include AMD wt_alloc routines if I586_CPU is defined. Fixes
Jonathan Lemon [Thu, 24 Jun 1999 20:08:56 +0000 (20:08 +0000)]
Only include AMD wt_alloc routines if I586_CPU is defined.  Fixes
CPU_WT_ALLOC for cyrix chips.

Submitted by: "Brian Smith" <dbsoft@technologist.com>

25 years agoFix typo (missing double quote)
Nick Hibma [Thu, 24 Jun 1999 17:20:54 +0000 (17:20 +0000)]
Fix typo (missing double quote)

25 years ago(corrections for type change in softc)
Matt Jacob [Thu, 24 Jun 1999 16:42:33 +0000 (16:42 +0000)]
(corrections for type change in softc)

25 years agoBruce pointed out I was being silly with volatile.
Matt Jacob [Thu, 24 Jun 1999 16:34:00 +0000 (16:34 +0000)]
Bruce pointed out I was being silly with volatile.
Submitted by: bde@freebsd.org