Commit Graph

8629 Commits

Author SHA1 Message Date
Jeffrey Hsu
e78bad2371 Don't cast void functions to void.
Obtained from: NetBSD commit by jtc on June 16, 1995.
1995-06-20 18:31:16 +00:00
John Fieber
43f8595f73 Fix braino induced typo. (Okay class, its time for spelling!)
Submitted by:	wollman@lcs.mit.edu
1995-06-20 16:51:38 +00:00
John Fieber
c469fa9c70 Fix a stupid typo, rearrange the url for the usenet archive. 1995-06-20 16:42:48 +00:00
John Fieber
87b64aa499 Fixed a blatant lie regarding newsgroups. Added pointers to indexed
arcihves of the mailing lists and usenet groups.

Renamed the last part "Appendicies"

Moved "PC hardware reference" to the Appendicies section and added
an introduction.

Fixed a dangling cross reference.  (submitters.sgml)
1995-06-20 16:29:55 +00:00
Rodney W. Grimes
a851ee6e7b Correct spelling of Judy Garland's name.
Submitted by:	Kenneth Stailey <kstailey@gnu.ai.mit.edu>
Obtained from:  NetBSD gnats bug list
1995-06-20 12:40:48 +00:00
Satoshi Asami
9509c1b284 Rename, lt_LN.ISO8859-1 -> lt_LN.ISO_8859-1.
Reviewed by:	rgrimes
1995-06-19 22:15:35 +00:00
Garrett Wollman
4650161123 Fix a resource allocation bug where multicast forwarding would leak mbufs
in certain cases when allocation of another mbuf has already failed.

Submitted by: Bill Fenner <fenner@parc.xerox.com>
1995-06-19 17:22:01 +00:00
Garrett Wollman
7b4315a73a Correct spelling mistake: upcated -> updated. 1995-06-19 16:55:16 +00:00
Garrett Wollman
861b18288b Print out the statistics for cache updates of rtt, rttvar, and ssthresh. 1995-06-19 16:46:21 +00:00
Garrett Wollman
9167720192 Now that we've gone to all sorts of effort to allow TCP to cache some of
its connection parameters, we want to keep statistics on how often this
actually happens to see whether there is any work that needs to be done in
TCP itself.

Suggested by: John Wroclawski <jtw@lcs.mit.edu>
1995-06-19 16:45:33 +00:00
Atsushi Murai
4112bc7874 1. Supporting fast sync value displayin latest firmware.
2. Use restrict round-robin scheme rather than a  agresive one if
   firmware has a this capability.
1995-06-19 13:02:09 +00:00
Satoshi Asami
037b03ba12 Add jp.106.kbd and jp.106x.kbd to list of KEYMAPS so that they will
get installed.

Submitted by:	Nobuhiro Yasutomi <nobu@psrc.isac.co.jp>
1995-06-19 08:21:24 +00:00
Bill Paul
0a6205d8d0 Fixed awk scripts for 'netgroup,' 'ethers.*' and 'bootparams' targets so that
corresponding map databases are created correctly.

This fixes the problem Ken Wilcox noted on the freebsd-bugs list.
1995-06-18 16:08:15 +00:00
Andrey A. Chernov
e77fe975bb Additionly print strerror(errno), when getwd() fails to start
in initial directory.
Obtained from: idea from NetBSD
1995-06-18 14:34:48 +00:00
Andrey A. Chernov
32d0c07493 Fix error:
which /bin/ls
.//bin/ls
Obtained from: NetBSD
1995-06-18 14:20:16 +00:00
Andrey A. Chernov
f3e38b1c4c When filec active, TCSANOW was used in any case instead of
sensing TCSADRAIN/TCSAFLUSH
Obtained from: NetBSD
1995-06-18 14:08:44 +00:00
Andrey A. Chernov
ebd70bcd2c Upgrade multiport cards list 1995-06-18 13:34:32 +00:00
Andrey A. Chernov
fa19ca391b Fix parsing SYSV/GNU "include" 1995-06-18 13:08:18 +00:00
Andrey A. Chernov
76da55f6bc NetBSD fixes: declare more prototypes, move .OPTIONAL in alphabet
order, prevent suffix rule, if direct or children dependances exists,
forget to free v->name in var.c
My fixes: fix famous ^\t\n bug, correct free order in str_end
Reviewed by: bde
Obtained from: NetBSD, me
1995-06-18 12:34:14 +00:00
David Greenman
ecf74fe675 The final negotiation of DO_BINARY in the LINEMODE portion of the telnetd code
causes some clients that do not support linemode to mis-interpret the return
key (i.e. double returns).
The fix is to only do the state check for binary options if linemode will
be used.
Closes PR#505.

Submitted by:	Charles Henrich
1995-06-17 05:50:47 +00:00
Bill Paul
0932a90b65 Close out PR #507 (loading LM_MISC pseudo-lkms twice crashes system).
For the LKM_E_LOAD case of the DISPATCH() macro, use lkmexists() to
make sure we don't have another instance the module we're trying to
load already loaded _before_ calling the module's load() function.
If lkmexists() returns true, return EEXIST without trying to load
the module.

For most types of modules, the individual dispatch functions in the
kernel check for duplicated modules, but for LM_MISC we can't trust
the module to do the checks itself. Currently, the kernel does
do an lkmexists() check on LM_MISC modules, but not until after
the module's load() function has been called, which is too late
for it to do any good. If the load() function does irreversible
things to the kernel, the belated lkmexists() check forces an
unload() and a crash.
1995-06-17 05:02:30 +00:00
Andrey A. Chernov
ee0aa83a01 Fix lseek arg by including unistd.h 1995-06-17 04:07:09 +00:00
Bill Paul
85e8f5bee2 Make _havemaster() use yp_first() (again) instead of yp_order() to
ward off possible NIS+ evil. (I might be overly paranoid with this,
but it doesn't hurt, so...)
1995-06-17 04:00:02 +00:00
Andrey A. Chernov
24af9b645e Rename ISO8859-1 to ISO_8859-1 per RFC1700 1995-06-17 03:37:18 +00:00
Andrey A. Chernov
56718b4a07 Rename ISO8859-1 to ISO_8859-1 per RFC1700 1995-06-17 03:25:34 +00:00
Andrey A. Chernov
d10e63cc74 Rename ISO8859-1 to ISO_8859-1 per RFC1700 1995-06-17 03:17:16 +00:00
Andrey A. Chernov
1064e529e5 Rename *.ISO8859-1 to *.ISO_8859-1 per RFC1700 1995-06-17 03:14:31 +00:00
Andrey A. Chernov
0b2c143cff Add /usr/local/share/nls to default search path 1995-06-17 03:02:21 +00:00
Andrey A. Chernov
7c37167c74 Create share/nls/* for local-installed message catalog pgms 1995-06-17 02:51:03 +00:00
Andrey A. Chernov
75a962b5b8 Create missing nls/C 1995-06-17 02:49:53 +00:00
Andrey A. Chernov
6ed40291ad Allow additional parsing of SYSV/GNU make "include" directive, it covers
90% of problems in ports Makefiles
1995-06-16 22:46:38 +00:00
Garrett Wollman
e58d47b1ae Fix pruning bug described in PR 524.
Submitted by: Soochon Radee <slr@mitre.org>
1995-06-16 16:57:20 +00:00
Poul-Henning Kamp
4a11bffe6d manupilation -> manipulation. 1995-06-16 07:07:56 +00:00
Bill Paul
8a363d18bb Patch to fix PR #518. In a system with no NIS, passwd will complain
that it can't contact an NIS server when asked to change the password
of an invalid user. It should say 'unknown user' instead.

The fix is to check for the _PW_KEYYPENABLED flag in the password
database and only roll over into the yppasswd stuff if the flag
is enabled (this means passwd will not behave as yppasswd if
there are no +::::::::: entries in /etc/master.passwd). If
NIS is enabled but the user says 'passwd -l foouser' where
foouser exists in the NIS maps, but not in /etc/master.passwd,
we also say 'unknown user.' This is so we don't outsmart ourselves:
specifying the -l flag restricts passwd to the local password database
even if NIS is enabled.

This change should probably be merged into 2.1.
1995-06-16 03:33:10 +00:00
Andrey A. Chernov
00999cd623 Optimized and simplified version of setreuid/gid
Fixed: lack of crcopy in certain conditions, lack
of setting sv[ug]id in certain conditions. Fixes non-critical.
1995-06-15 22:32:03 +00:00
Garrett Wollman
8137012ce6 Add a little program to test the functionality of RSRR by getting
a vif list and printing it a la netstat -g (but simpler).  This
doesn't get installed, so there's no man page.
1995-06-15 19:23:08 +00:00
Garrett Wollman
783570d79c Correctly calculate length of local-domain socket name for RSRR server. 1995-06-15 18:30:44 +00:00
Paul Traina
00a838879b Give the BPF the ability to generate signals when a packet is available.
Reviewed by:	pst & wollman
Submitted by:	grossman@cygnus.com
1995-06-15 18:11:00 +00:00
David Greenman
3740e2ad04 Took out P2P_LOCALADDR_SHARE option and made it standard. 1995-06-15 00:19:56 +00:00
Joerg Wunsch
60562de998 Mention Chuck Robey for his contribution of a floppy tape streamer
for experimental work.
1995-06-14 22:17:57 +00:00
Andrey A. Chernov
ae39e7ee16 Next version, many bugs fixed 1995-06-14 19:37:02 +00:00
John Fieber
017b6c4995 New sections added: release notes, installation, kernel debugging.
Numerous other edits.  Empty sections now have an * in the section header.
1995-06-14 18:38:56 +00:00
Karl Strickland
bc2cfd7131 Added -o port option. Use specified port number for NFS requests. The default
is to query the portmapper for the NFS port.  This is useful for CFS users.
1995-06-14 17:41:04 +00:00
David Greenman
afbc52c4dc Added ftp.ctr.vt.edu.
Submitted by:	Mathew Mead
1995-06-14 17:09:23 +00:00
Garrett Wollman
4db6e5b1cd Correct misspelling of `mrouted'. Shows what I get for not re-building
from the top...
1995-06-14 15:55:07 +00:00
Atsushi Murai
634ccfcbf6 Bestmatch check for cd-drive always faild due to additional space
on manufacture and  other items. So it's never probe as MORE_LUNS
after frist SONY entry....
1995-06-14 12:28:32 +00:00
Bruce Evans
f53dbe9765 Convert %p to 0x%x instead of to 0x%8x. The latter gives blank padding
in the wrong place.  Blank padding in the right place or zero padding
would be inconsistent with user mode.

Put case 'p' in alphabetical order.

Implement %p in sprintf() too.  I'd like only a single, more complete
printf() core, perhaps one based on vsnprintf().
1995-06-14 07:55:07 +00:00
Bruce Evans
6f5014b462 Convert to ANSI C: change #endif THING to #endif /* THING */.
Fix one such THING in code to match comment.
Sort IO_GSC* into numeric order and update comments about the gaps.
Sort common SCSI addresses into alphabetical order.
Remove bogus comments about com ports having i/o size 4.
Uniformize whitespace.
Uniformize case in hex digits.

This file is very incomplete.  In particular, it doesn't mention any
network cards.  This doesn't matter much for the base addresses, but
it means that the comments about which addresses are free are mostly
bogus.  The i/o sizes are unreliable because of split address ranges
for many devices (VGA, wd).  The i/o sizes are incomplete.  In
particular, there are no sizes for SCSI controllers.  The bt driver
still returns a truth value instead of a size.
1995-06-14 07:38:31 +00:00
Joerg Wunsch
5fbea18fbe Make `ld' properly honoring the umask setting when chmod'ing the
output file for the `x' bits.

This is a Posix requirement.
1995-06-14 06:25:09 +00:00
Joerg Wunsch
ec05e1f5d7 The duplicate information returned in fa_type and fa_mode
is an ambiguity in the NFS version 2 protocol.

VREG should be taken literally as a regular file.  If a
server intents to return some type information differently
in the upper bits of the mode field (e.g. for sockets, or
FIFOs), NFSv2 mandates fa_type to be VNON.  Anyway, we
leave the examination of the mode bits even in the VREG
case to avoid breakage for bogus servers, but we make sure
that there are actually type bits set in the upper part of
fa_mode (and failing that, trust the va_type field).

NFSv3 cleared the issue, and requires fa_mode to not
contain any type information (while also introduing sockets
and FIFOs for fa_type).

The fix has been tested against a variety of NFS servers.
It fixes problems with the ``Tropic'' NFS server for Windows,
while apparently not breaking anything.

Pointed-out by: scott@zorch.sf-bay.org (Scott Hazen Mueller)
1995-06-14 06:23:38 +00:00