Commit Graph

17193 Commits

Author SHA1 Message Date
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
John Fieber
353dcfcf87 Be explicit about the doc name (handbook) rather than inferring it
from the directory name.

2.2 candidate
1996-11-19 14:09:02 +00:00
Masafumi Max NAKANE
8744efd866 Sync with the English version in -current. 1996-11-19 11:33:33 +00:00
Poul-Henning Kamp
fe6aa2730a typo 1996-11-19 11:08:27 +00:00
Masafumi Max NAKANE
995444baad Typo.
(Gee, no one knew what the correct & official name of our project was. :)
1996-11-19 08:36:25 +00:00
Sean Eric Fagan
4055611a53 Move the terminal handling code to a later location; this allows
the signal handlers to be set up; it also means that a failed name lookup
won't mess up the nokerninfo setting of the tty.

Reviewed by:	pst, nate
1996-11-19 03:32:32 +00:00
Bill Paul
5a0da0a5bc Dohw! Left out one important htonl() in update_arptab().
Pointed out by: Bill Fenner
1996-11-18 23:32:55 +00:00
Masafumi Max NAKANE
b6d897f22b Added some info about Japanese handbook in the abstract to avoid confusing
Japanese readers and send queries about Japanese handbook to doc@freebsd.org
in Japanese.

Some cosmetic tweaks.

Some improvement in translation.

This change, together with recent change to jmembers.sgml and jcontrib.sgml,
should definitely go into 2.2.
1996-11-18 23:14:37 +00:00
Masafumi Max NAKANE
bd2fe20f84 Use newly defined &a.doc-jp; for Japanese doc project's list. 1996-11-18 23:07:45 +00:00
Masafumi Max NAKANE
0c0b1b4ba8 Defined an entity for Japanese documentation project's mailing-list.
Updated Naoki Hamada's e-mail address.
1996-11-18 23:06:20 +00:00
Bill Paul
867de4336b Fix up new rarpd.
This includes the following changes:

- Support for poking ARP entries into the local table is now built
  in, so the arptab.c module I hacked together is no longer needed.

- rarp_process() and rarp_reply() now accept a len argument which is
  passed down from rarp_loop() which tells rarp_reply() exactly how
  long the original RARP frame was. (Usually, it's 60 bytes, which is
  the minimum.) Previously, the length was calculated using the sum
  of sizeof(struct ether_header) + sizeof(struct ether_arp) (plus the
  ethernet frame header, I think). The result was a total packet
  length of 42 bytes. Now, rarp_reply() sends out packets that are
  the same size as those it recieves (60 bytes). This agrees with the
  behavior of rarpd on SunOS (as observed with tcpdump). The unused
  extra bytes are zeroed.
1996-11-18 22:07:41 +00:00
Bill Paul
557201898b This commit was generated by cvs2svn to compensate for changes in r19855,
which included commits to RCS files with non-trunk default branches.
1996-11-18 21:53:21 +00:00
Bill Paul
4bef56e86c Import new version of rarpd from the BPF 1.1 distribution from LBL.
Obtained from: LBL, BPF 1.1 distribution
1996-11-18 21:53:21 +00:00
Peter Wemm
a30a31bb3f put on my flame resistant suit and tempt fate by attempting to fix some of
the races in my previous commits here, and fix some other problems with
syslogd as well.

- if the child process exited early (eg: could not bind to the socket),
  the boot process would hang for 30 seconds.  The parent was not noticing
  that the child had exited.  (my fault)
- when writing to tty devices, instead of treating them like files that
  need \r\n instead of \n, actually use ttymsg() which has specific code
  intended to write to potentially blocking ttys safely.  I had a machine
  lock up last night because /dev/console on a serial port got flow control
  blocked.  Setting comcontrol drainwait fixed everything but syslogd which
  was going into a spin trying to write to the console and completely
  ignoreing everything else.
- fix a couple of nonsensical bits of code while here..  eg: wait3 takes
  a pointer to an int.  There is no sense in declaring it as 'union wait',
  then casting the pointer to (int *), then forgetting about it.
1996-11-18 21:48:29 +00:00
Bill Fenner
80844fd18a Fix arg parsing. kdump used to allow a single argument, which it
silently ignored.
1996-11-18 19:37:52 +00:00
Bruce Evans
766631018f Fixed execvp() of an empty pathname to fail POSIXly. Previously it
attempted to exec the components of $PATH and it usually set errno
to the wrong value.

Found by:	NIST PCTS
1996-11-18 19:24:47 +00:00
Bruce Evans
1ad652a54c Fixed uninitialized variables for the '/'-in-pathname case in execvp().
Garbage in `eacces' caused the wrong errno to be set for non-EACCES errors.
Garbage in `etxtbsy' caused a semi-random retry strategy for ETXTBSY errors.

Found by:	NIST-PCTS.  gcc -Wall reported the problem, but -Wall is not
		enabled for libc.
1996-11-18 16:56:51 +00:00
Masafumi Max NAKANE
f8b04ff4fc Updated Naoki Hamada's e-mail address:
nao@sbl.cl.nec.co.jp -> nao@tom-yam.or.jp

Requested by:	Naoki Hamada
1996-11-18 07:39:16 +00:00
Masafumi Max NAKANE
8720de7b28 Added IMAMURA Tomoaki <tomoak-i@is.aist-nara.ac.jp> for making port of jp-hex. 1996-11-18 06:38:50 +00:00
David Greenman
5b73c1866a Fixed broken SIOCGIFADDR. It was copying out garbage as the ethernet
address.
1996-11-18 04:55:44 +00:00
David Greenman
9c7d26071e Fixed obsolete comment. 1996-11-18 02:45:46 +00:00
Peter Wemm
39c2b03943 Merge conflicts from 8.8.3 import onto mainline. 1996-11-18 02:34:34 +00:00
Peter Wemm
dfae3a83bb This commit was generated by cvs2svn to compensate for changes in r19841,
which included commits to RCS files with non-trunk default branches.
1996-11-18 02:26:51 +00:00
Peter Wemm
fcf445de96 Import sendmail-8.8.3 - this contains the official fix to replace the
previous workaround patch that I used.

Obtained from: Eric Allman <eric@sendmail.org>
1996-11-18 02:26:51 +00:00
Andrey A. Chernov
16deb17977 xterm: add Home & End keys, they are different from tc=vt220
2.2 candidate
1996-11-18 01:29:09 +00:00
Bill Fenner
31a322801a Update wording of the one message that was in the DIAGNOSTICS section.
Add three other common messages.

This should be in 2.2 to go with the netinet/if_ether.c rewording.
1996-11-17 23:25:17 +00:00
David E. O'Brien
cd7d667682 Added speal about MASTER_SITE_{XCONTRIB,PERL_CPAN,TEX_CTAN,SUNSITE} 1996-11-17 19:14:54 +00:00
David E. O'Brien
2c3cb670b7 Explained the new MAN[1-9NL] varaiables. 1996-11-17 18:54:51 +00:00
Andrey A. Chernov
5e57bd1999 Detect GUS patches now 1996-11-17 11:03:07 +00:00
Poul-Henning Kamp
a5c57c4040 Make the case where there is no changes look less fatal. 1996-11-17 08:11:18 +00:00
Wolfram Schneider
24e41f4044 removeuser moved from /usr/share/examples/removeuser to /usr/sbin/rmuser 1996-11-17 03:59:46 +00:00
Wolfram Schneider
7232e09ce1 delete removeuser 1996-11-17 03:57:08 +00:00