]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
28 years agoI have added a new option -p to the mount command. This was
Jordan K. Hubbard [Sun, 21 Jul 1996 23:34:04 +0000 (23:34 +0000)]
I have added a new option -p to the mount command. This was
inspired by SunOS version of mount which uses option -p to
indicate that the mount information should be printed in fstab
format.
This is a neat way to create a new fstab file to use later when
one has modified the mount points or mount options or added or
removed mount some mount points. You just type

mount -p > /etc/fstab.new

and there is your new fstab file ready to be used though you
will of course have to add any necessary noauto flags manually.

[Committers note:  This also seems to do the wrong thing for AMD
 mounts, but in the more average case this is a nifty feature nonetheless
 and one can always edit the bogus entries out]

Submitted-By: Jukka Ukkonen <jau@jau.csc.fi>
28 years agoBrought UK entries up-to-date with present reality, corrected a spello.
James Raynard [Sun, 21 Jul 1996 19:41:21 +0000 (19:41 +0000)]
Brought UK entries up-to-date with present reality, corrected a spello.

28 years agoDon't dereference sc->sc_setmtu if it's NULL (such as when it's not running)
Peter Wemm [Sun, 21 Jul 1996 17:14:06 +0000 (17:14 +0000)]
Don't dereference sc->sc_setmtu if it's NULL (such as when it's not running)
as discussed on current. (bde pointed out the cause of the problem)

Reported by: dev@fgate.flevel.co.uk

28 years agoReset Pred1 protocol on FCS errors.
Poul-Henning Kamp [Sun, 21 Jul 1996 13:01:27 +0000 (13:01 +0000)]
Reset Pred1 protocol on FCS errors.

28 years agoDocument the flags.
Poul-Henning Kamp [Sun, 21 Jul 1996 09:29:25 +0000 (09:29 +0000)]
Document the flags.

28 years agoAdd yet another kludge to this driver. Man page update to follow.
Poul-Henning Kamp [Sun, 21 Jul 1996 09:28:50 +0000 (09:28 +0000)]
Add yet another kludge to this driver.   Man page update to follow.

28 years agoSubstitute raw{read|write} for ccd{read|write}
Poul-Henning Kamp [Sun, 21 Jul 1996 09:28:03 +0000 (09:28 +0000)]
Substitute raw{read|write} for ccd{read|write}

28 years agoPost-commit review by Bruce. Mostly stylistic changes.
Joerg Wunsch [Sun, 21 Jul 1996 08:20:51 +0000 (08:20 +0000)]
Post-commit review by Bruce.  Mostly stylistic changes.

Submitted by: bde

28 years agoBring in fixes to db 1.85 from NetBSD. These fixes have been documented as
Paul Traina [Sun, 21 Jul 1996 02:23:13 +0000 (02:23 +0000)]
Bring in fixes to db 1.85 from NetBSD.  These fixes have been documented as
being sent back to Bostic by the NetBSD crew.
Obtained from: NetBSD-current

28 years agoFix typo in Makefile.
James Raynard [Sun, 21 Jul 1996 00:05:31 +0000 (00:05 +0000)]
Fix typo in Makefile.

Reviewed (informally!) by jkh.

28 years agoReplace the annoying calls to Debugger() by panic()'s in the
Joerg Wunsch [Sat, 20 Jul 1996 22:02:44 +0000 (22:02 +0000)]
Replace the annoying calls to Debugger() by panic()'s in the
#ifdef DIAGNOSTIC case, and a warning only otherwise.

People who want them to break into the debugger can always set the
breakpoint explicitly.  The existing behaviour was a misfeature from
the beginning, in the (wrong) assumption that the SCSI controller must
always be of essential importance to the entire system.

28 years agoCorrect the timer2 acquiration and release, it must happen at splclock.
Joerg Wunsch [Sat, 20 Jul 1996 18:48:54 +0000 (18:48 +0000)]
Correct the timer2 acquiration and release, it must happen at splclock.

Also slightly reformatted so that it meets at least partially style(9),
and makes navigating through the functions easier.

28 years agoMajor cleanup of the timerX_{acquire,release} stuff. In particular,
Joerg Wunsch [Sat, 20 Jul 1996 18:47:23 +0000 (18:47 +0000)]
Major cleanup of the timerX_{acquire,release} stuff.  In particular,
make it more intelligible, improve the partially bogus locking, and
allow for a ``quick re-acquiration'' from a pending release of timer 0
that happened ``recently'', so it was not processed yet by clkintr().
This latter modification now finally allows to play XBoing over
pcaudio without losing sounds or getting complaints. ;-)  (XBoing
opens/writes/closes the sound device all over the day.)

Correct locking for sysbeep().

Extensively (:-) reviewed by: bde

28 years agoVarious minor mod's to the tape drive section.
Joerg Wunsch [Sat, 20 Jul 1996 18:42:25 +0000 (18:42 +0000)]
Various minor mod's to the tape drive section.

Discourage the use of the EXB-2501 by now, and slightly improve the
formatting for this entry.

Correct some minor oddities for the Tandberg entries based on my input
data.

Minor addition to the <!-- tech> section for QIC.

28 years agoDocument madvise(2) as it is in FreeBSD.
John Dyson [Sat, 20 Jul 1996 04:37:26 +0000 (04:37 +0000)]
Document madvise(2) as it is in FreeBSD.

28 years agoCheck for, and disallow, duplicate tags in the "cvs import" command.
John Polstra [Sat, 20 Jul 1996 02:08:56 +0000 (02:08 +0000)]
Check for, and disallow, duplicate tags in the "cvs import" command.
RCS cannot deal with duplicate tags; the extra one always becomes
inaccessible and useless.

This will prevent the common mistake of specifying the same name
for the vendor tag and the release tag.  The FreeBSD CVS repository
already contains zillions of files with this error.  We don't need
any more of them.

28 years agoRemoved extraneous return.
Alexander Langer [Sat, 20 Jul 1996 00:16:20 +0000 (00:16 +0000)]
Removed extraneous return.

28 years agoThe previous change to alarm.3 to improve the wording
Mike Pritchard [Fri, 19 Jul 1996 22:19:08 +0000 (22:19 +0000)]
The previous change to alarm.3 to improve the wording
was still somewhat confusing and poorly worded.  So I took
the alarm.3 man page from NetBSD, which looked much
better all around.

Obtained from: NetBSD

28 years agoLast night (local time :) I accidently checked in an intermediate version
Stefan Eßer [Fri, 19 Jul 1996 17:18:20 +0000 (17:18 +0000)]
Last night (local time :) I accidently checked in an intermediate version
of this patch, which had not actually been reviewed by Joerg or Paul!
(I'll better stop committing files after midnight ...)

I'm now commiting the latest code, which has been reported to work.

Minor correction to the previous commit message for this file:
The first PCI Lance in a system will get a name of lnc1, the second
will be known as lnc2 and so on. An arbitrary number of cards is
supported in a system ...

28 years agoRevert to old version of strftime.c; the new one doesn't work right.
Garrett Wollman [Fri, 19 Jul 1996 15:17:44 +0000 (15:17 +0000)]
Revert to old version of strftime.c; the new one doesn't work right.

28 years agoAdd interrupt register set up with original register value
Atsushi Murai [Fri, 19 Jul 1996 13:20:05 +0000 (13:20 +0000)]
Add interrupt register set up with original register value
before attaching. Without this fix, 3c579(EISA) never make
any H/W inturrupt.
Reviewed by: "Justin T. Gibbs" <gibbs@freefall.freebsd.org>, nao@sbl.cl.nec.co.jp and owner-current on mailing list ;-)
Submitted by: amurai@spec.co.jp, nao@sbl.cl.nec.co.jp

28 years agothe previous text was absurd, and wrong
Adam David [Fri, 19 Jul 1996 13:07:42 +0000 (13:07 +0000)]
the previous text was absurd, and wrong

28 years agoFix botches in the handling of "AM" and "PM":
John Polstra [Fri, 19 Jul 1996 00:44:55 +0000 (00:44 +0000)]
Fix botches in the handling of "AM" and "PM":
    12:xx PM is 12:xx, not 24:xx.
    12:xx AM is 00:xx, not 12:xx.

28 years ago'mkaliases' is broken (strips spaces) so don't use it,
Adam David [Thu, 18 Jul 1996 23:48:13 +0000 (23:48 +0000)]
'mkaliases' is broken (strips spaces) so don't use it,
perhaps it can be removed altogether.
corrected typos

28 years agoRemove eeprom too as more unused stuff.
Gary Palmer [Thu, 18 Jul 1996 22:26:54 +0000 (22:26 +0000)]
Remove eeprom too as more unused stuff.

Pointed out by: Thomas Graichen <graichen@axp5.physik.fu-berlin.de>

28 years agoFINALLY: PCI support for the Lance Ethernet driver.
Stefan Eßer [Thu, 18 Jul 1996 22:03:47 +0000 (22:03 +0000)]
FINALLY: PCI support for the Lance Ethernet driver.

This code applies to several systems with integrated Ethernet
chip, for example from HP or Compaq. It should also support
PCI Ethernet cards based on the AMD PCI Lance chip.

This code has been reviewed (visually) by Paul Richards and
tested (using an ISA Lance board) by Joerg Wunsch.
Since the parameters to nearly each and every single function
had to be changed (generally from unit number to lnc_soft*),
there is some potential for buglets having crept in ...

BEWARE: If you had lnc0 configured to have the ISA probe find
your PCI Lance, then it should now be found by the PCI probe,
and should be automatically configured as pci1 (!!! note the "1").

Reviewed by: paul, joerg

28 years agoThese old files are no longer relevant to the current routed
Garrett Wollman [Thu, 18 Jul 1996 21:15:05 +0000 (21:15 +0000)]
These old files are no longer relevant to the current routed
implementation.

28 years agos/msg/shm/ for one variable.
Joerg Wunsch [Thu, 18 Jul 1996 20:42:48 +0000 (20:42 +0000)]
s/msg/shm/ for one variable.

Submitted by: jin@george.lbl.gov (Jin Guojun[ITG])

28 years agoAddendum on how to dial with kernel-PPP using chat(1) instead of kermit.
Joerg Wunsch [Thu, 18 Jul 1996 20:42:01 +0000 (20:42 +0000)]
Addendum on how to dial with kernel-PPP using chat(1) instead of kermit.

Submitted by: rhuff@cybercom.net (Robert Huff)

28 years agoMerge from vendor branch. We are now completely up-to-date with
Garrett Wollman [Thu, 18 Jul 1996 19:59:09 +0000 (19:59 +0000)]
Merge from vendor branch.  We are now completely up-to-date with
respect to the ADO timezone code.

28 years agoThis commit was generated by cvs2svn to compensate for changes in r17211,
Garrett Wollman [Thu, 18 Jul 1996 19:40:52 +0000 (19:40 +0000)]
This commit was generated by cvs2svn to compensate for changes in r17211,
which included commits to RCS files with non-trunk default branches.

28 years agoSecond part of the timezone code import for version 96h. This includes
Garrett Wollman [Thu, 18 Jul 1996 19:40:52 +0000 (19:40 +0000)]
Second part of the timezone code import for version 96h.  This includes
a number of bug fixes to the compiler (which bugs would previously
have caused undesirable behavior during transition times).

28 years agoMove things up a bit to make startup pretty
Paul Traina [Thu, 18 Jul 1996 19:09:06 +0000 (19:09 +0000)]
Move things up a bit to make startup pretty

28 years agoMerge the recently-imported tzcode96h distribution (libc portion). The
Garrett Wollman [Thu, 18 Jul 1996 18:53:15 +0000 (18:53 +0000)]
Merge the recently-imported tzcode96h distribution (libc portion).  The
part that does zic(8)/zdump(8) is still yet to be imported (but the old
zic and zdump will work just fine with these header files and the
data format has not changed).

28 years agoImport the 96h release of ADO's timezone code. This release is
Garrett Wollman [Thu, 18 Jul 1996 18:05:09 +0000 (18:05 +0000)]
Import the 96h release of ADO's timezone code.  This release is
primarily bugfixes, but is also contains a disclaimer of copyright.
As we are completely off the vendor branch here, this import has
no effect on the source tree.

28 years agoImport fixes from NetBSD to print NFSv3 packets.
Doug Rabson [Thu, 18 Jul 1996 14:53:04 +0000 (14:53 +0000)]
Import fixes from NetBSD to print NFSv3 packets.

Obtained from: NetBSD

28 years agoWhups - update the usage message too.
Jordan K. Hubbard [Thu, 18 Jul 1996 00:08:58 +0000 (00:08 +0000)]
Whups - update the usage message too.

28 years agoAdd -n flag to use the current modtime rather than preserving it.
Jordan K. Hubbard [Thu, 18 Jul 1996 00:08:02 +0000 (00:08 +0000)]
Add -n flag to use the current modtime rather than preserving it.

28 years agosome internal modems need LOTS of time to generate an interrupt
Julian Elischer [Wed, 17 Jul 1996 22:07:23 +0000 (22:07 +0000)]
some internal modems need LOTS of time to generate an interrupt
on demand.. increase DELAY from 1000 uS to 10000uS

28 years agoIntroduce two /dev/audio compat alias names for flushing and draining
Joerg Wunsch [Wed, 17 Jul 1996 20:18:56 +0000 (20:18 +0000)]
Introduce two /dev/audio compat alias names for flushing and draining
the pcaudio device.  Now, XBoing sounds much better...

28 years agoCorrect the Unix programmer's error #1: "char c = getc();".
Joerg Wunsch [Wed, 17 Jul 1996 20:14:42 +0000 (20:14 +0000)]
Correct the Unix programmer's error #1: "char c = getc();".
Closes PR # bin/1386: lpf Text Filter does not w...

Submitted by: andreas@marvin.RoBIN.de

28 years agoCorrectly declare main() as `int'.
Joerg Wunsch [Wed, 17 Jul 1996 20:13:33 +0000 (20:13 +0000)]
Correctly declare main() as `int'.

Closes PR # bin/1385: /usr/games/pom, invalid de...

Submitted by: zach@freebsd.gaffaneys.com (Zach Heilig)

28 years agoMerged the latest timezone data file release.
Garrett Wollman [Wed, 17 Jul 1996 20:07:52 +0000 (20:07 +0000)]
Merged the latest timezone data file release.

Changed zones: Algeria, Egypt, Ghana, Libya, Morocco, Sierra Leone,
  South Africa, Sudan, Tunisia, Armenia, Myanmar, China, Taiwan, Hong
  Kong, Macao, Cyprus, Georgia, Iran, Israel, Jordan, Kazakhstan,
  Kirgizstan, Lebanon, Mongolia, the Phillippines, Syria, Tajikistan,
  Turkmenistan, Uzbekistan, Australia, Kiribati, New Caledonia, New
  Zealand, Vanuatu, the United Kingdom, Ireland, the Czech Republic,
  Finland, France, Greece, Hungary, Iceland, Italy, Luxembourg, the
  Netherlands, Norway, Portugal, Romania, Spain, Switzerland, Turkey,
  Canada, Mexico, the Bahamas, Barbados, Belize, Costa Rica, Cuba, the
  Dominican Republic, El Salvador, Guatemala, Haiti, Nicaragua,
  Brazil, the Falkland Islands, Paraguay

Deleted zones: Asia/Tomsk (superseded by Asia/Krasnoyarsk)

Added zones: Asia/Aktau (area formerly part of Asia/Alma-Ata);
  Asia/Krasnoyarsk (supersedes Asia/Tomsk); America/Glace_Bay (area
  formerly part of America/Halifax); America/Thunder_Bay,
  America/Nipigon, America/Rainy_River (areas formerly covered by
  America/Montreal); America/Swift_Current (area formerly part of
  America/Regina); America/Dawson_Creek (area formerly part of
  America/Vancouver); America/Pangnirtung, America/Iqaluit,
  America/Rankin_Inlet, America/Yellowknife, America/Inuvik,
  America/Dawson (areas formerly part of America/Whitehorse)

28 years agoIncreased listen() queue-depth limit to 64.
David Greenman [Wed, 17 Jul 1996 15:00:28 +0000 (15:00 +0000)]
Increased listen() queue-depth limit to 64.

28 years agoRestored most of suggestion about using NULL, even though wollman
Bruce Evans [Wed, 17 Jul 1996 12:32:18 +0000 (12:32 +0000)]
Restored most of suggestion about using NULL, even though wollman
disagrees with it personally :-), and fixed the misleading parts.

28 years agoYet^2 another fix for the line continuation bug.
Bruce Evans [Wed, 17 Jul 1996 12:18:51 +0000 (12:18 +0000)]
Yet^2 another fix for the line continuation bug.

The fundamental problem with the original code is that it accesses
p[-2] which is one before the beginning of the input buffer for
empty lines.  rev.1.6 just moved the problem from failures when
p[-2] happens to be '\\' to failures when it happens to be '\0'.
rev.1.5 was confused about the trailing newline and other things.

I went back to rev.1.5 and fixed it.  The result is the same as
Keith Bostic's final version in PR 1356 except it loses more
gracefully for excessively long input lines.

28 years agoFixed adjustment of `time' when timer0 is released. 27465 was 27645 in
Bruce Evans [Wed, 17 Jul 1996 11:26:05 +0000 (11:26 +0000)]
Fixed adjustment of `time' when timer0 is released.  27465 was 27645 in
a comment and in code that was only used when pcaudio was closed.  The
maximum error was 66 usec.

28 years agoAdded a -V option to print make's idea of the value of a variable.
Bruce Evans [Wed, 17 Jul 1996 11:02:43 +0000 (11:02 +0000)]
Added a -V option to print make's idea of the value of a variable.

Submitted by: mark@linus.demon.co.uk (Mark Valentine)

Fixed bugs and inconsistencies in synopsis and usage message.

28 years agoFixed new and old standards conformance bugs. The non-POSIX confstr() was
Bruce Evans [Wed, 17 Jul 1996 10:52:38 +0000 (10:52 +0000)]
Fixed new and old standards conformance bugs.  The non-POSIX confstr() was
in the POSIX section for a log time.  The non-POSIX getgrouplist() and
setgroups() were recently added to the POSIX section although setgroups()
was already in the non-POSIX section.

28 years agoAdd "Matthew N. Dodd" <winter@jurai.net> for his contribution of the
Satoshi Asami [Wed, 17 Jul 1996 06:35:56 +0000 (06:35 +0000)]
Add "Matthew N. Dodd" <winter@jurai.net> for his contribution of the
new pine port.

28 years ago1. Fix the CD installation bogon for Novice install I mentioned.
Jordan K. Hubbard [Tue, 16 Jul 1996 17:11:45 +0000 (17:11 +0000)]
1. Fix the CD installation bogon for Novice install I mentioned.
2. Add some code for dealing with a ports collection on the second CD now.

28 years agoAdd Gianmarco Giovannelli to Donors gallery.
Jordan K. Hubbard [Tue, 16 Jul 1996 15:56:58 +0000 (15:56 +0000)]
Add Gianmarco Giovannelli to Donors gallery.

28 years agoVarious fixes from frank@fwi.uva.nl (Frank van der Linden) via
Doug Rabson [Tue, 16 Jul 1996 10:19:45 +0000 (10:19 +0000)]
Various fixes from frank@fwi.uva.nl (Frank van der Linden) via
rick@snowhite.cis.uoguelph.ca:

1. Clear B_NEEDCOMMIT in nfs_write to make sure that dirty data is
correctly send to the server.  If a buffer was dirtied when it was in
the B_DELWRI+B_NEEDCOMMIT state, the state of the buffer was left
unchanged and when the buffer was later cleaned, just a commit rpc was
made to the server to complete the previous write.  Clearing
B_NEEDCOMMIT ensures that another write is made to the server.

2. If a server returned a server (for whatever reason) returned an
answer to a write RPC that implied that fewer bytes than requested
were written, bad things would happen.

3. The setattr operation passed on the atime in stead of the mtime to
the server. The fix is trivial.

4. XIDs always started at 0, but this caused some servers (older DEC
OSF/1 3.0 so I've been told) who had very long-lasting XID caches to
get confused if, after a reboot of a BSD client, RPCs came in with a
XID that had in the past been used before from that client. Patch is
to use the current time in seconds as a starting point for XIDs. The
patch below is not perfect, because it requires the root fs to be
mounted first. This is because of the check BSD systems do, comparing
FS time to system time.

Reviewed by: Bruce Evans, Terry Lambert.
Obtained from:  frank@fwi.uva.nl (Frank van der Linden) via rick@snowhite.cis.uoguelph.ca

28 years agoPut back reference to the Cyclades section which was recently removed
Alexander Langer [Tue, 16 Jul 1996 00:15:53 +0000 (00:15 +0000)]
Put back reference to the Cyclades section which was recently removed
during a merge.

28 years agoo Update my "tips" section of the handbook.
Jordan K. Hubbard [Mon, 15 Jul 1996 19:31:47 +0000 (19:31 +0000)]
o Update my "tips" section of the handbook.
o Create the goals section at last using some text of mine which
  James Raynard dug up someplace. :)

28 years agoMoved declaration of zbuf outside of #ifdef DEVFS code.
Nate Williams [Mon, 15 Jul 1996 18:22:07 +0000 (18:22 +0000)]
Moved declaration of zbuf outside of #ifdef DEVFS code.

28 years agoDo a bounds check on the strcpy of environment variables onto the stack.
Paul Traina [Mon, 15 Jul 1996 16:29:03 +0000 (16:29 +0000)]
Do a bounds check on the strcpy of environment variables onto the stack.

28 years agoMake crunchgen match the new obj/ convention.
Poul-Henning Kamp [Mon, 15 Jul 1996 11:20:21 +0000 (11:20 +0000)]
Make crunchgen match the new obj/ convention.

28 years agoRemove the ipfw sample files from the Makefile too.
Poul-Henning Kamp [Mon, 15 Jul 1996 05:48:27 +0000 (05:48 +0000)]
Remove the ipfw sample files from the Makefile too.
Forgotten by: alex :-)

28 years agoQuick fix for previous commit: don't free zbuf on close since it may be
Bruce Evans [Mon, 15 Jul 1996 05:23:04 +0000 (05:23 +0000)]
Quick fix for previous commit: don't free zbuf on close since it may be
in use in another process that blocked in uiomove().

28 years agoChange Arlington Heights, IL to 847.
Alexander Langer [Mon, 15 Jul 1996 00:27:55 +0000 (00:27 +0000)]
Change Arlington Heights, IL to 847.

28 years agoSwitch back to logging accepted packets with the text "Allow" instead
Alexander Langer [Sun, 14 Jul 1996 21:12:52 +0000 (21:12 +0000)]
Switch back to logging accepted packets with the text "Allow" instead
of "Accept"

28 years agoGrammar fix described by wollman in response to PR 1363.
Alexander Langer [Sun, 14 Jul 1996 17:51:08 +0000 (17:51 +0000)]
Grammar fix described by wollman in response to PR 1363.

28 years agoThese files have been replaced by /etc/rc.firewall.
Alexander Langer [Sun, 14 Jul 1996 16:49:55 +0000 (16:49 +0000)]
These files have been replaced by /etc/rc.firewall.

28 years agoMove setting of username to the correcft place; also initialize it.
Guido van Rooij [Sun, 14 Jul 1996 16:42:33 +0000 (16:42 +0000)]
Move setting of username to the correcft place; also initialize it.
Reviewed by: peter@freebsd.org

28 years agoFix the recently added whereobj target.
Peter Wemm [Sun, 14 Jul 1996 11:09:12 +0000 (11:09 +0000)]
Fix the recently added whereobj target.

Add missing end-of-line backslash
Remove two extra @ characters

28 years agoTurn SCSIDEBUG into a new-style option.
Joerg Wunsch [Sun, 14 Jul 1996 10:46:56 +0000 (10:46 +0000)]
Turn SCSIDEBUG into a new-style option.

28 years agoAlmost gratuitious improvement of the performance of reading
John Dyson [Sun, 14 Jul 1996 06:05:53 +0000 (06:05 +0000)]
Almost gratuitious improvement of the performance of reading
/dev/zero.

28 years agoDamn - looks like upgrade got broken along the way and it's not something
Jordan K. Hubbard [Sun, 14 Jul 1996 01:54:39 +0000 (01:54 +0000)]
Damn - looks like upgrade got broken along the way and it's not something
I usually test, so... :-(  Guess we'll have to slide the tag forward on
these two files - Peter, could you do the honors?  I've been up for the last
30 hours or so and I just *know* that any attempt on my part to do this would
probably end up deleting the entire repository somehow. :-)

28 years agoA few minor mods (improvements) to support more efficient pipe
John Dyson [Sat, 13 Jul 1996 22:52:50 +0000 (22:52 +0000)]
A few minor mods (improvements) to support more efficient pipe
operations for large transfers.  There are essentially no differences
for small transfers, but big transfers should perform about 20%
better.

28 years agoIn _yp_dobind(), if we find ourselves required to contact the local ypbind
Bill Paul [Sat, 13 Jul 1996 20:23:13 +0000 (20:23 +0000)]
In _yp_dobind(), if we find ourselves required to contact the local ypbind
directly in order to obtain binding information, check that the local
ypbind is using a reserved port and return YPERR_YPBIND if it isn't.
We should not trust any ypbind running on a port >= IPPORT_RESERVED;
it may have been started by a malicious user hoping to trick us into
talking to a bogus ypserv.

Note that we do not check the ypserv port returned to us from ypbind.
It is assumed that ypbind has already done a reserved port test (or not,
depending on whether or not it was started with -s); if we trust the
authenticity of the local ypbind, we should also trust its judgement.

Obtained from: OpenBSD

28 years agoStart sendmail after ldconfig. Put the nail in the coffin on misc/1346.
Paul Traina [Sat, 13 Jul 1996 17:27:39 +0000 (17:27 +0000)]
Start sendmail after ldconfig.  Put the nail in the coffin on misc/1346.
Submitted by: Hiroharu Tamaru <tamaru@ap.t.u-tokyo.ac.jp>

28 years agoEnable transmit complete interrupt...
David Greenman [Sat, 13 Jul 1996 10:49:53 +0000 (10:49 +0000)]
Enable transmit complete interrupt...

(author's explaination):

 Bit 15 is the flag to request a transmit complete interrupt.  The
driver was apparently written to minimize interrupts, and if not for a
3-COM design quirk, everything would be just ducky.
 Prior to loading the outbound packet into the FIFO, the driver checks
to see if there's enough space to contain the packet.  If not, the
driver requests a transmit-available interrupt when there is
sufficient room.  Unfortunately, the card is continuing to process the
prior FIFO, and by the time the driver sets the threshold for a
transmit available interrupt, the space is already available.  When
this occurs, the 3COM card ignores the interrupt request, and the
driver is hung waiting for an interrupt that will never occur.
There's probably a more elegant solution, but requesting the transmit
complete interrupt was the easiest to implement.  An alternative fix
might be to check free FIFO space again, after requesting the transmit
available interrupt, but I haven't bothered pursuing this.  Since the
patch, my 3C590 (PCI, same FIFO interface as 3C509) has been rock
solid.

Submitted by: mevans@candle.com (Mike Evans)

28 years agoUpgrade Apache to 1.1.1.
Jordan K. Hubbard [Sat, 13 Jul 1996 06:05:42 +0000 (06:05 +0000)]
Upgrade Apache to 1.1.1.

28 years agoMake CD version clash non-fatal.
Jordan K. Hubbard [Sat, 13 Jul 1996 05:48:44 +0000 (05:48 +0000)]
Make CD version clash non-fatal.

28 years agoBack out my change for Peter which did transfer timings based on current
Jordan K. Hubbard [Sat, 13 Jul 1996 05:44:51 +0000 (05:44 +0000)]
Back out my change for Peter which did transfer timings based on current
chunk rather than distribution - it's just caused the numbers to fluctuate
too wildly, sorry Peter! ;-(

28 years agoFix a bogon in the Novice mode CD auto-selection.
Jordan K. Hubbard [Sat, 13 Jul 1996 05:13:25 +0000 (05:13 +0000)]
Fix a bogon in the Novice mode CD auto-selection.

28 years agoFix EBUSY checking in devices.c - DTRT when it's detected on a CD.
Jordan K. Hubbard [Sat, 13 Jul 1996 05:09:29 +0000 (05:09 +0000)]
Fix EBUSY checking in devices.c - DTRT when it's detected on a CD.

28 years agoMerge.
Jordan K. Hubbard [Sat, 13 Jul 1996 04:33:23 +0000 (04:33 +0000)]
Merge.

28 years agocreate missing /usr/share/examples/removeuser
Wolfram Schneider [Fri, 12 Jul 1996 19:58:44 +0000 (19:58 +0000)]
create missing /usr/share/examples/removeuser

Submitted by: Ollivier ROBERT  roberto@keltia.freenix.fr

28 years agoInclude the proper header file (<unistd.h>) and declare [gs]etdomainname()
Garrett Wollman [Fri, 12 Jul 1996 19:55:20 +0000 (19:55 +0000)]
Include the proper header file (<unistd.h>) and declare [gs]etdomainname()
with the correct return type.  This does not include the renaming
of KERN_DOMAINNAME to KERN_NISDOMAINNAME.

Pointed-out-by: Keith Bostic
28 years agoGeneral -Wall warning cleanup, part I.
Jordan K. Hubbard [Fri, 12 Jul 1996 19:24:27 +0000 (19:24 +0000)]
General -Wall warning cleanup, part I.
Submitted-By: Kent Vander Velden <graphix@iastate.edu>
28 years agoGeneral -Wall warning cleanup, part I.
Jordan K. Hubbard [Fri, 12 Jul 1996 19:08:36 +0000 (19:08 +0000)]
General -Wall warning cleanup, part I.
Submitted-By: Kent Vander Velden <graphix@iastate.edu>
28 years agoGeneral -Wall warning cleanup, part I.
Jordan K. Hubbard [Fri, 12 Jul 1996 18:57:58 +0000 (18:57 +0000)]
General -Wall warning cleanup, part I.
Submitted-By: Kent Vander Velden <graphix@iastate.edu>
28 years agoFixed two bugs in previous commit: be sure to include tcp_debug.h when
David Greenman [Fri, 12 Jul 1996 17:28:47 +0000 (17:28 +0000)]
Fixed two bugs in previous commit: be sure to include tcp_debug.h when
TCPDEBUG is defined, and fix typo in TCPDEBUG2() macro.

28 years agoFix braino in rev 1.30 fix; m_copy() the mbuf that has the header
Bill Fenner [Fri, 12 Jul 1996 17:22:32 +0000 (17:22 +0000)]
Fix braino in rev 1.30 fix; m_copy() the mbuf that has the header
pulled up already.  This bug can cause the first packet from a source
to a group to be corrupted when it is delivered to a process listening
on the mrouter.

28 years agoaccross -> across.
John Fieber [Fri, 12 Jul 1996 16:18:50 +0000 (16:18 +0000)]
accross -> across.
& -> &amp;.
Remove references to imaginary freebsd-policy mailing list.
Submitted by: John Mulhollen <JMULHOLLEN@gcwf.com>
Thomas Graichen <graichen@axp5.physik.fu-berlin.de>

28 years agoRemove some suspect sector size calculations which are also the source
Jordan K. Hubbard [Fri, 12 Jul 1996 15:24:49 +0000 (15:24 +0000)]
Remove some suspect sector size calculations which are also the source
of some confusing messages from newfs (just judging by the number of people
who point them out, anyway).

28 years agoSmall changes so that this actually stands a chance of doing the
Gary Palmer [Fri, 12 Jul 1996 13:12:46 +0000 (13:12 +0000)]
Small changes so that this actually stands a chance of doing the
right thing...

28 years agoBump RELDATE in -current to be greater than RELDATE in -stable (and hence
Peter Wemm [Fri, 12 Jul 1996 11:21:57 +0000 (11:21 +0000)]
Bump RELDATE in -current to be greater than RELDATE in -stable (and hence
2.1.5-RELEASE).  This will obviously be set "for real" closer to the time.

(some ports use this to differentiate the two branches /dev/kmem kernel
architectures.  This exact same procedure happened in November last year
for the 2.1 RELEASE as well.)

28 years agoFix something I broke with CDROM installation (well, I knew my first
Jordan K. Hubbard [Fri, 12 Jul 1996 11:14:15 +0000 (11:14 +0000)]
Fix something I broke with CDROM installation (well, I knew my first
test CD would turn at least one bug up :-).

28 years agoFixed brackets in usage message.
Bruce Evans [Fri, 12 Jul 1996 08:20:28 +0000 (08:20 +0000)]
Fixed brackets in usage message.

Reformatted some of recent changes to KNF.

28 years agoStaticized some variables.
Bruce Evans [Fri, 12 Jul 1996 08:14:58 +0000 (08:14 +0000)]
Staticized some variables.

Fixed initialization of pipe_pgid - don't default to pid 0 (swapper) for
SIGIO.

Added comments about other implicit initializations, mostly for struct
stat.

Fixed initialization of st_mode.  S_IFSOCK was for when pipes were sockets.
It is probably safe to fix the bogus S_ISFIFO() now that pipes can be
distinguished from sockets in all cases.

Don't return ENOSYS for inappropriate ioctls.

28 years agoUse a big delta in adjtime() for big negative adjustments as well as
Bruce Evans [Fri, 12 Jul 1996 07:55:35 +0000 (07:55 +0000)]
Use a big delta in adjtime() for big negative adjustments as well as
for big positive adjustments.  The existence of big adjustments may
be a bug (it's not documented...) but there was no good reason for
the asymmetric behaviour.

Reviewed by: wollman

28 years agoStaticized a few variables.
Bruce Evans [Fri, 12 Jul 1996 07:41:34 +0000 (07:41 +0000)]
Staticized a few variables.

Fixed warnings about unused variables.

28 years agoRemoved "optimization" using gcc's builtin memcpy instead of bcopy.
Bruce Evans [Fri, 12 Jul 1996 07:18:12 +0000 (07:18 +0000)]
Removed "optimization" using gcc's builtin memcpy instead of bcopy.
There is little difference now since the amount copied is large,
and bcopy will become much faster on some machines.

28 years agoRenamed upa to p0upa to match p0upt.
Bruce Evans [Fri, 12 Jul 1996 06:48:55 +0000 (06:48 +0000)]
Renamed upa to p0upa to match p0upt.

Cleaned up some comments.

28 years agoExport `dumpmag' to utilities but not to the kernel.
Bruce Evans [Fri, 12 Jul 1996 06:09:49 +0000 (06:09 +0000)]
Export `dumpmag' to utilities but not to the kernel.

Restored a truncated comment.

28 years agoFixed cloned comments about npx traps to match context.
Bruce Evans [Fri, 12 Jul 1996 06:03:14 +0000 (06:03 +0000)]
Fixed cloned comments about npx traps to match context.

28 years agoAdd whereobj target to find that pesky obj dir
Paul Traina [Fri, 12 Jul 1996 06:01:55 +0000 (06:01 +0000)]
Add whereobj target to find that pesky obj dir