Commit Graph

8920 Commits

Author SHA1 Message Date
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
bde
8ba63f456c 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
dbe3013fc1 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
1c9ad9c342 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
bde
0368f74e33 Don't unlink the target file if the copy failed. This behaviour isn't
documented and is incompatible with gnu cp.  It has very few good effects
(it recovers some disk space) and many bad ones:
- special files are unlinked after certain errors.
- the data may not be recoverable if the source is a special file or fifo.
- unlinking destroys the target attributes as well as the target data.
- unlinking doesn't actually remove the target data if the target is multiply
  linked.
1995-06-14 05:41:27 +00:00
bde
c4baec265f Don't convert \n to \r\n in pccnputc(). This is the responsibility of
cnputc().
1995-06-14 05:16:12 +00:00
bde
89206a06f3 Replace \n\r by \n in error messages. 1995-06-14 05:06:51 +00:00
bde
f8e6606128 Output \n as \r\n, not as \n\r. 1995-06-14 04:52:39 +00:00
wollman
6c86108b8d I was wrong. I thought that the ip_mroute lkm would still compile, but it
seems to have stopped working on me.  Disable it until I get a chance to
fix it.
1995-06-13 20:51:13 +00:00
wollman
5146b472bb Re-write `netstat -g' code to match the 3.5 data structures. 1995-06-13 19:18:40 +00:00
wollman
4dcec62f4c Re-enable netstat now that it compiles again. 1995-06-13 19:18:19 +00:00
wollman
7d98a3baf5 Re-enable mrouted now that it matches the kernel code again. 1995-06-13 18:07:05 +00:00
wollman
d7ec2bee9b This is mrouted version 3.5, with the route-change notification hook from
mrouted-3.5n.  This is being splatted onto the head rather than properly
imported thanks to the ``delete trailing whitespace'' screw.  This code is
now actively working in an operational environment (the DARTNET) so I
have some confidence that the basic functionality actually works.

Obtained from: Bill Fenner, PARC, and ISI
1995-06-13 18:05:16 +00:00
wollman
20ad4f8359 Kernel side of 3.5 multicast routing code, based on work by Bill Fenner
and other work done here.  The LKM support is probably broken, but it
still compiles and will be fixed later.
1995-06-13 17:51:16 +00:00