Commit Graph

8933 Commits

Author SHA1 Message Date
dg
bc8af5206c Protect the call to if_up() with an splnet(). 1995-06-21 09:11:22 +00:00
dg
d78e91c98d 1) Set interface up/down correctly as a function of open and close of the
SLIP device.
2) Don't directly frob the IFF_UP flag - use if_up/if_down as it was
   intended.
3) Return ENETDOWN if IFF_UP isn't set when outputing, drop the packet if
   if IFF_UP isn't set when inputing.
1995-06-21 08:48:19 +00:00
dima
6e294b7979 `dev_bsize' must be reset to 1 before the bread() or
quotacheck -a will fail after the first partition (because
    dev_bsize is 512 and is messes up the superblock read of the second
    partition)

Submitted by:	dillon@best.com (Mattew Dillon)
1995-06-21 03:55:12 +00:00
hsu
969b124869 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
jfieber
139fc3d880 Fix braino induced typo. (Okay class, its time for spelling!)
Submitted by:	wollman@lcs.mit.edu
1995-06-20 16:51:38 +00:00
jfieber
7c52edbe8d Fix a stupid typo, rearrange the url for the usenet archive. 1995-06-20 16:42:48 +00:00
jfieber
2595dce9ce 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
rgrimes
060195fcfb 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
asami
4686908bd3 Rename, lt_LN.ISO8859-1 -> lt_LN.ISO_8859-1.
Reviewed by:	rgrimes
1995-06-19 22:15:35 +00:00
wollman
4133e8a26c 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
wollman
0c180bc68d Correct spelling mistake: upcated -> updated. 1995-06-19 16:55:16 +00:00
wollman
37654c52db Print out the statistics for cache updates of rtt, rttvar, and ssthresh. 1995-06-19 16:46:21 +00:00
wollman
a1aa4b6c80 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
amurai
4e33c8eed3 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
asami
0896cbdfdd 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
wpaul
32fda3f3ae 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
ache
dac9b56c4e 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
ache
4ceec44820 Fix error:
which /bin/ls
.//bin/ls
Obtained from: NetBSD
1995-06-18 14:20:16 +00:00
ache
b47fb59bab 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
ache
b948d2a3ae Upgrade multiport cards list 1995-06-18 13:34:32 +00:00
ache
b93930422d Fix parsing SYSV/GNU "include" 1995-06-18 13:08:18 +00:00
ache
5b84039fb3 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
dg
1c7c56a93b 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
wpaul
0ddcef0978 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
ache
4137dcf51e Fix lseek arg by including unistd.h 1995-06-17 04:07:09 +00:00
wpaul
3e0e2d1182 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
ache
364241ddc5 Rename ISO8859-1 to ISO_8859-1 per RFC1700 1995-06-17 03:37:18 +00:00
ache
0f99c0e047 Rename ISO8859-1 to ISO_8859-1 per RFC1700 1995-06-17 03:25:34 +00:00
ache
c8f182e00d Rename ISO8859-1 to ISO_8859-1 per RFC1700 1995-06-17 03:17:16 +00:00
ache
361c030727 Rename *.ISO8859-1 to *.ISO_8859-1 per RFC1700 1995-06-17 03:14:31 +00:00
ache
4c49848733 Add /usr/local/share/nls to default search path 1995-06-17 03:02:21 +00:00
ache
d5c3dcd9e0 Create share/nls/* for local-installed message catalog pgms 1995-06-17 02:51:03 +00:00
ache
88a149d82b Create missing nls/C 1995-06-17 02:49:53 +00:00
ache
ec44130408 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
wollman
d395e15c7c Fix pruning bug described in PR 524.
Submitted by: Soochon Radee <slr@mitre.org>
1995-06-16 16:57:20 +00:00
phk
3ab2271645 manupilation -> manipulation. 1995-06-16 07:07:56 +00:00
wpaul
dbffd217e2 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
ache
f59dcad15f 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
wollman
7264dc39d6 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
wollman
f263333317 Correctly calculate length of local-domain socket name for RSRR server. 1995-06-15 18:30:44 +00:00
pst
763ad9c0a0 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
dg
af679f9c57 Took out P2P_LOCALADDR_SHARE option and made it standard. 1995-06-15 00:19:56 +00:00
joerg
fad4d09ecc Mention Chuck Robey for his contribution of a floppy tape streamer
for experimental work.
1995-06-14 22:17:57 +00:00
ache
38b4136817 Next version, many bugs fixed 1995-06-14 19:37:02 +00:00
jfieber
27d378a02a 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
909ce53e78 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
dg
0d486c5e12 Added ftp.ctr.vt.edu.
Submitted by:	Mathew Mead
1995-06-14 17:09:23 +00:00
wollman
1914854cfa Correct misspelling of `mrouted'. Shows what I get for not re-building
from the top...
1995-06-14 15:55:07 +00:00
amurai
32d43dca1c 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
bde
909b527c19 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