Commit Graph

17224 Commits

Author SHA1 Message Date
Bill Fenner
2f1a0ba831 Allocate a header mbuf for the start of the encapsulated packet.
The rest of the code was treating it as a header mbuf, but it was
allocated as a normal mbuf.

This fixes the panic: ip_output no HDR when you have a multicast
tunnel configured.
1996-11-23 19:07:02 +00:00
Masafumi Max NAKANE
e77f3b436d Added info' subdirectory to the section `Subdirectories'' as the location
to install info pages.
(It hasn't been clear in the handbook either share/info or info should be
used.)
1996-11-23 19:02:25 +00:00
Masafumi Max NAKANE
81bce5c950 Minor typo. 1996-11-23 18:26:30 +00:00
Andreas Klemm
36dbe558af Name Pentium Pro Support.
Changed an expression "one year ago", which is in fact only valid
for a short period of time.
Updated the section about ports. Make this more general, "hundreds of
ports" and give a concrete number of ports (over 710) with a timestamp
"at end of November 96".

I reformatted the "ports" paragraph using fmt, because I think it looks
nicer now in sgml source. So the diff shows more changed lines than was
actually changed. If this isn't suitable for you, then I'll do my best
in the future, to avoid this. My intention was, to make the source look
nicer as well.
1996-11-23 12:33:34 +00:00
Peter Wemm
f2a58aec0a Make this compile again after the syscons/psm/kbdio changes that removed
the keyboard IO port definitions from <machine/console.h>.

Note: I do not have a machine available to test this yet,  I sent this
for review to several people who have not replied.

This is also totally busted in 2.2, which has half of the syscons/psm/kbdio
changes in it.  This really desperately needs to be tested and fixed
in 2.2 as well.
1996-11-23 07:38:25 +00:00
Andrey A. Chernov
041f99248c Add missing nls directories
2.2 candidate
1996-11-23 04:06:10 +00:00
Andrey A. Chernov
6e3c6e4277 Understand ru_RU too 1996-11-23 02:31:40 +00:00
Paul Traina
f308a4b42c get_myaddress() wasn't following the interface array properly
Cannidate for: 2.2
1996-11-22 23:37:08 +00:00
Gary Palmer
a818b58970 Fix minor typo/grammatical error
Submitted by:	John-Mark Gurney <jmg@nike.efn.org> in PR 2085
1996-11-22 22:16:25 +00:00
Peter Wemm
b988beb8f9 make the Usage string match reality
Submitted by:  faried nawaz <fn@uidaho.edu>, PR#2075
1996-11-22 13:58:03 +00:00
Paul Traina
a13e275f66 Back out recent security patch for rexecd. After more careful analysis,
it is both uneeded and breaks certain lock-step timing in the rexec
protocol.

Yes, an attacker can "relay" connections using this trick,  but a properly
configured firewall that would make this sort of subterfuge necessary in the
first place (instead of direct packet spoofing) would also thwart useful
attacks based on this.
1996-11-22 08:59:07 +00:00
Justin T. Gibbs
ccddabb0c7 Add code to the SCSIINT handler for unexpected busfrees and handling immediate
SCBs in response to a busfree.

When re-queueing an SCB that returned with QUEUE FULL status, reset its timeout.

Ensure that aborted SCBs have an error code set in there xs before it gets
passed back up with scsi_done.

Fix a few KNF nits.
1996-11-22 08:28:45 +00:00
David E. O'Brien
a33b54a061 Added reminder to edit the parent Makefile to add what you just imported. 1996-11-22 08:28:32 +00:00
Justin T. Gibbs
70f6e5521c Conditionally enable the busfree interrupt to catch unexpected busfrees.
Immediate SCBs, since they always send messages that tell the target to
transition to bus free now rely on the busfree interrupt instead of the
IMMEDDONE sequencer interrupt that was generated before.

Rearrange some code in the message out loop to give ATN a little more time
to drop before we ACK the last byte.

Use SPIORDY instead of REQINIT when snooping for a tag message on a reconnect.
This is done for the same reasons we use SPIORDY in the inb functions.

When going into BITBUCKET mode, turn off HDMAEN in the DFCNTRL register so
that we can "not care" what the value of HCNT is.  If HCNT is 0, BITBUCKET
mode won't transfer any data if HDMAEN is set.  Seeing as we don't want the
transfer to even think about touching the host, this seems more sane anyway.
Thanks to "Dan Willis" <dan@plutotech.com> for pointing out that this was
a problem.
1996-11-22 08:25:23 +00:00
Peter Wemm
2fa4e5a7fc Set a more explicit #include path for building aix7xxx_asm, otherwise it
uses /usr/include/sys/*, which may point to a different build tree.  I'm
not sure that this is necessary, but there was a question mark over what
/usr/include/sys points to when building the "user mode" binaries in the
kernel code, especially when building the smp tree.

I suspect that the "right" line here is to use ${INCLUDES}, but that
causes warnings about unused static inline functions in stdio.h and ctype.h
1996-11-22 04:27:43 +00:00
Guido van Rooij
18503982d8 Fix ifconfig link flag handling
Submitted by:	"Jon Morgan" <morgan@terminus.trailblazer.com>
1996-11-21 21:04:50 +00:00
Garrett Wollman
a1199adebc Fix lots of non-bug questionable code:
- Don't link against libkvm and don't uselessly include <kvm.h>.
- Declare constant objects as const.
- Declare functions with the correct types.
- Call functions with the correct parameters.

Not fixed:

- The sysctl parsing remains ugly (but it may be the best we can do).
- atnetrange() should use strtoul() rather than sscanf() for better
  error checking.
1996-11-21 19:36:09 +00:00
Poul-Henning Kamp
da18dc1a65 Don't dump core on zero-size files. 1996-11-21 15:17:04 +00:00
Andrey A. Chernov
838037af6d ru_SU -> ru_RU 1996-11-21 10:17:45 +00:00
Andrey A. Chernov
7be3905425 Add ru_RU as alias to ru_SU 1996-11-21 10:13:25 +00:00
Julian Elischer
acdbeb6b1c changes to make devfs more 'normal'
also fixes a bug I've been chasing for a LONG TIME,
due to the fact that spec_bwrite is a NOP and I didn't realise it..

old symptom:
mount -t devfs devfs /mnt
mount /mnt/wd0e /mnt/mnt2
umount /mnt2 <process hangs>

there are some pretty large structural differences internal to devfs
but outwards it should look the same.
I have not yet tested extensively but will do so and fix 3 warnings tomorrow.
1996-11-21 07:19:00 +00:00
Andrey A. Chernov
68827afe2b Back out Russian zones/rulez awaiting for new Paul Eggert update
Reviewed by: wollman
1996-11-21 07:17:08 +00:00
Justin T. Gibbs
3d9a12be07 Update comment and disable SCB paging for Rev E cards since paging, at least
in its current form, will not work with these cards.
1996-11-21 06:19:13 +00:00
Justin T. Gibbs
ad34debda8 Change the way Automatic PIO is performed in the mesgin and mesgout phases.
SPIORDY should go active on any REQ of the bus, so testing for REQINIT is
not necessary.  It also seems that testing for SPIORDY is more robust then
REQINIT since SPIORDY comes active after REQINIT and PHASEMIS seems to take
some time to come true after REQ is asserted if the phase has changed.  Of
course, none of this is documented.

This should give the code savings of my original changes, without breaking the
driver on fast peripherals.
1996-11-21 06:18:33 +00:00
Paul Traina
dacc975297 Conditionalize setsockopt IP_PORTRANGE to make ftpd portable. 1996-11-20 22:13:51 +00:00
Paul Traina
312c86cfd9 Truncate argument list to avoid buffer overflows.
Cannidate for: 2.1 and 2.2
1996-11-20 22:12:50 +00:00
Garrett Wollman
3267ea91c8 Oops, we still want to build/install the static libraries. 1996-11-20 20:55:11 +00:00
Garrett Wollman
bbcb8093fe Copy a slightly modified version of the `libgnumalloc hack' to allow
us to finally phase out the 8K shared version of liby in favor of the
600-byte static one, as was done years ago for libl/libfl.
1996-11-20 20:54:28 +00:00
Garrett Wollman
1608c04fbd For some reason the merge of this file didn't get committed properly.
Who has the conical hat?

Make things compile again.
1996-11-20 15:23:40 +00:00
Masafumi Max NAKANE
76178c41b5 Typo.
Improvement in translation.

Submitted by:	Mitsuru IWASAKI <iwasaki@pc.jaring.my>
1996-11-20 14:49:59 +00:00
John Fieber
3050475d9a SLIP -> PPP
Submitted by:	Bob TIllman <btillman@mail.kersur.net>
1996-11-20 14:18:25 +00:00
Poul-Henning Kamp
83c7762d77 Latest reality. 1996-11-20 08:21:27 +00:00
Jordan K. Hubbard
0bf57c683e Got the bugger. Eric's now passing in a hint structure to dbopen()
but forgot to zero the structure first, leaving hinfo.bsize undefined
and causing a loop in __log2().
1996-11-20 07:53:42 +00:00
Wolfram Schneider
42eacfd392 do not print 'illegal shell' for pseudo users news and xten
Submitted by:	 kuku
1996-11-20 01:07:46 +00:00
Bill Paul
7632575be6 Although I got rarpd to work, it was largely through kludgery. Bill
Fenner was kind enough to point out the error of my ways. This incorporates
diffs from him which:

- Keep everything in network order.
- Log the booted ether & ip address, instead of my address on that net
- change several exit()'s to return()'s, so that rarpd continues running
  even if it thinks it's in a weird state.

One small tweak by me: in rarp_bootable(), we have to make sure to
construct 'ipname' in host byte order (if we don't, we have to
specify /tftpboot/<remote IP in hex> with <remote IP in hex> in
network byte order, which is confusing).

Also restored use of <dirent.h> rather than <sys/dir.h> as pointed
out by bde.

Also updated the man page so that the -v flag is documented.

With any luck, I won't have to touch this thing again.
1996-11-19 23:57:06 +00:00
Joerg Wunsch
b0fa330d5f Remove two uninitialized and unused variables that used to cause a
segfault before.
1996-11-19 23:21:52 +00:00
Garrett Wollman
2832011fa2 Matching routed.h to go along with latest routed. 1996-11-19 21:22:18 +00:00
Garrett Wollman
52ad60210f Merge from vendor branch and use system MD5 library. 1996-11-19 20:42:43 +00:00
Garrett Wollman
3399732029 This commit was generated by cvs2svn to compensate for changes in r19882,
which included commits to RCS files with non-trunk default branches.
1996-11-19 20:26:54 +00:00
Garrett Wollman
c9c588ef9b Last import was botched. Fix it. 1996-11-19 20:26:54 +00:00
Garrett Wollman
47fe01ae9c This commit was generated by cvs2svn to compensate for changes in r19880,
which included commits to RCS files with non-trunk default branches.
1996-11-19 20:23:47 +00:00
Garrett Wollman
d5b718b3ee Latest version of SGI routed courtesy of Vern Schryver. This version
adds the capability to use MD5 authentication as defined in the latest
documents.

Submitted by:	Vernon J. Schryver <vjs@mica.denver.sgi.com>
1996-11-19 20:23:47 +00:00
Garrett Wollman
d095837342 Revert `Factory' to previous message advising use of tzsetup. 1996-11-19 19:19:58 +00:00
Garrett Wollman
cadbe55eb2 Update to the latest version from the vendor branch. These files are
now identical with the distributed versions, which may cause some
abbreviations to change for people in obscure zones.  (The abbreviations
can be changed again if need be.)  It also changes the abbreviation
of Central European Time to `CET' from its previous value of `MET'
(a curious German-English hybrid).  Finally, we have finally rid
ourselves of those nasty ZONE-DESCR comments, which were a maintenance
nightmare, in favor of the new zone.tab file.  We are not using the
distribution's iso3166.tab file because we have our own list.

Obtained from: Arthur David Olson; ftp://elsie.nci.nih.gov
1996-11-19 19:17:19 +00:00
Garrett Wollman
ca9df13eda This commit was generated by cvs2svn to compensate for changes in r19876,
which included commits to RCS files with non-trunk default branches.
1996-11-19 19:09:28 +00:00
Garrett Wollman
16aa018c72 Latest timezone data files from Arthur Olson 1996-11-19 19:09:28 +00:00
Garrett Wollman
f7e7913a57 Initial revision 1996-11-19 19:09:26 +00:00
Garrett Wollman
037def9693 Completely re-vamped `tzsetup':
- It no longer attempts to fiddle wall-vs-UTC-in-RTC.  The results
  were just confusing most of the time.

- The program no longer contains a pre-compiled list of timezones
  (compiled by groveling through the tzdata source files for comments
  starting with `ZONE-DESCR').  Now it uses the new `zone.tab' file
  supplied with current versions of the timezone data files, to determine
  the list at run time.  (It also requires the ISO 3166 table  I
  committed some months ago.)

AS A RESULT, this program will NOT work until the new timezone data files
are committed (should happen sometime soon).
1996-11-19 18:09:41 +00:00
Paul Traina
6c6cc60e38 Do not attempt to open reverse channel until authentication phase has
succeeded.

Never allow the reverse channel to be to a privileged port.

Cannidate for:	2.1 and 2.2 branches

Reviewed by:	pst (with local cleanups)
Submitted by:	Cy Shubert <cy@cwsys.cwent.com>
Obtained from:	Jaeger <jaeger@dhp.com> via BUGTRAQ
1996-11-19 18:03:16 +00:00
Nate Williams
3d989d58d8 Fix UserConfig w/syscons.
The 'getchar' function in syscons (sccngetc) is used by UserConfig to
get keyboard input from the user.  When it was modified to use the
shared keyboard port routines it used the port passed in during the
probe routine.  Since the probe routine was not yet called, the port was
set to 0, which is obviously not going to work.

Pre-initialize sc_port to IO_KBD which is really a kludge, but it's how
the previous driver did it's job.

Found by:	remote GDB
1996-11-19 17:08:10 +00:00