Commit Graph

4216 Commits

Author SHA1 Message Date
Daniel O'Callaghan
087572a597 Fix typos. 1998-09-09 05:09:55 +00:00
Brian Somers
7ac9884afe Initialise lcp::his_mru to the ``set mtu'' value if it's less
than DEF_MRU, allowing our interface mtu to be decreased
despite negotiation with the peer.
1998-09-09 00:03:09 +00:00
Søren Schmidt
1235adff33 Add 'blank' and 'nextwriteable' commands for atapi CD-R/RW support. 1998-09-08 20:51:24 +00:00
Jordan K. Hubbard
5d7e166f85 Whoops, update the makefile too while I'm at it. 1998-09-08 11:44:37 +00:00
Jordan K. Hubbard
dac9272725 Go back to using MSDOSFS instead of Robert Nordier's stand-alone DOS
library.  I have to include MSDOSFS on the boot floppy anyway (so I can
read DOS floppies in a few other contexts) and since both -stable and
-current MSDOSFS handle long filenames, I'm OK on that now.  Should
save about 10K of space.
1998-09-08 11:44:08 +00:00
Jordan K. Hubbard
aa75b0b778 Make totally sure that we have the latest 1.7 version of booteasy
(it looked like it already to me, but the PR gives me cause to wonder).
PR:		2514
1998-09-08 10:46:40 +00:00
Jordan K. Hubbard
8c26c30381 o Set paths internally for pkg_add for tools we might want to invoke.
o Fix bogus suffix handling.
o Tell user when an FTP url is being xferred rather than being silent.
  This sort of violates "the unix way" but it stops people from whacking
  ^C when they think it's hung, too.  Sometimes visual indication of
  success is important.  Doesn't spit out anything if not on a TTY.
1998-09-08 10:42:26 +00:00
Jordan K. Hubbard
4a641d8eeb Fix bogus suffix stripping to be less naive.
PR:		3418
Noted by:	pst
1998-09-08 03:15:41 +00:00
Jordan K. Hubbard
62203a9ce5 Fail as documented when a dependency cannot be found
PR:		7318
Submitted by:	djv@bedford.net
1998-09-08 03:02:45 +00:00
John Birrell
db36ef8f02 Change MACHINE to MACHINE_ARCH to support MACHINE=pc98. 1998-09-05 08:22:30 +00:00
David E. O'Brien
72c53665f2 With the change to the 4.4Lite2 mount interface we don't need special
conf files.
1998-09-05 00:58:37 +00:00
Brian Somers
9e8ec64b6b Don't cast potentially unaligned addresses to pointers to
non-char types on non-i386 architectures.
On Alpha and Sparc we get a bus error if we do.
1998-09-04 18:26:00 +00:00
Warner Losh
94d1a20141 o Enable standby mode in apm utility. You need a newer kernel for this
functionality to work (however, the kernel changes were committed
  to current at 1998/07/05 23:29:11 PDT).
o Enable setting of a timer for later wakeup.  Note, not all APM
  BIOSes support this for all modes (mine doesn't support waking up on
  a timer from standby mode).
o Print out the APM capabilities, as reported by the BIOS.
o Report wake on ring indication.  No way to enable/disable this, but
  it is reported.
o update man page with above
o The output of this command has changed, so if you have a script that
  parses its output, then you may need to rewrite it slightly.
o The code attempts to deal with older kernels than July 5, 1998, but
  that part of the code isn't well tested.
1998-09-04 16:08:54 +00:00
Kazutaka YOKOTA
afab29051f Fix uninitialized variable.
PR: bin/7799
Submitted by: Sheldon Hearn (axl@iafrica.com)
1998-09-04 10:15:48 +00:00
David E. O'Brien
89fb7161b9 Don't utilize the pre-4.4Lite2 INITMOUNTNAMES compatibility cruft.
(bde will remove it soon)
1998-09-04 08:55:29 +00:00
Andrey A. Chernov
aa578ab67a add missing sys/queue.h 1998-09-04 07:48:53 +00:00
Nicolas Souchu
8d8b289af3 Reviewed by: Doug Rabson
Submitted by:	nsouch
'local' token added to support new bus architecture .c files generated
by .m files.
1998-09-03 21:03:43 +00:00
Brian Somers
9de9848b61 Install amd.conf 1998-09-02 21:09:14 +00:00
Jordan K. Hubbard
45878e4d34 Silence potentially bogus warning. 1998-09-01 06:58:11 +00:00
Jordan K. Hubbard
119cff04ef Don't set the router_enable variable by default. 1998-08-31 17:47:52 +00:00
Wolfram Schneider
acd8019083 Sort cross references. 1998-08-31 16:41:09 +00:00
Brian Somers
c9a426e9e1 Remove OpenBSD build support - let the Makefile vary per
OS rather than making it a mess and potentially screwing
up cross builds.
Suggested by: bde
1998-08-31 12:14:32 +00:00
Jordan K. Hubbard
87757a15d3 Accept gateway value of NO 1998-08-31 09:02:03 +00:00
Joseph Koshy
06f64964ea The `group{del,mod,show}' take require a '[group|gid]' argument.
PR: docs/7788
1998-08-31 04:49:04 +00:00
Brian Somers
e8ede338eb Add OpenBSD build support 1998-08-30 23:53:25 +00:00
Brian Somers
09bc8205a9 Add OpenBSD build support
Remove -Wmissing-prototypes
1998-08-30 23:53:00 +00:00
Gary Palmer
0451ac36bd Split lines into one subdir per line. 1998-08-30 20:58:16 +00:00
Gary Palmer
971104bfb7 Make pstat machine-independant again 1998-08-30 20:15:09 +00:00
Gary Palmer
dd6303bd2a DPDADD -> DPADD 1998-08-30 19:59:53 +00:00
Gary Palmer
1f4dcd683a Fix parallel makes falling over on xwhere 1998-08-30 19:59:35 +00:00
Joseph Koshy
80c936833f Install ipmon.8 in man8/ not man1/.
PR: 7778
Submitted by: horikawa@jp.freebsd.org
1998-08-30 04:48:00 +00:00
Brian Somers
a804ec2201 Don't use `-width 20'', it's misleading. Use `-width XX''
instead.
1998-08-29 23:02:45 +00:00
Brian Somers
7fdd475323 Don't claim that the alias library isn't loaded until
used.
1998-08-29 23:02:43 +00:00
Brian Somers
131ef891c7 Add the following word substitutions when running a shell
command:
  AUTHNAME:     The local authname
  ENDDISC:      The local endpoint discriminator
  LABEL:        The configuration label in use
  PEER_ENDDISC: The peers endpoint discriminator
  USER:         The peers authname
1998-08-29 23:02:42 +00:00
Brian Somers
080a2247c2 Allow the use of HISADDR, MYADDR and INTERFACE as words
embedded in the args of a "shell" or "!bg" command, and
only accept upper case versions.

We can now do:
  ! sh -c "ifconfig INTERFACE >/tmp/myfile"
1998-08-29 23:02:39 +00:00
Brian Somers
e227fded3f Mention `cbcp'' in `set log ?'' 1998-08-29 18:37:02 +00:00
Jordan K. Hubbard
ccee8446a8 Add /usr/lib to the list of things to chflag before upgrading.
Noticed by:	Blaz Zupan <blaz@gold.amis.net>
1998-08-28 01:03:41 +00:00
Jordan K. Hubbard
47d8228368 Fix recursive package add problem (for on-disk package files) I introduced
with the change in semantics to make_playpen().  Now package dependencies
more than 2 levels deep should work again.  Pass the hat.
1998-08-27 14:59:55 +00:00
David E. O'Brien
f4a9d83b40 bmake framework for contrib_amd 1998-08-27 08:09:42 +00:00
David E. O'Brien
87c1e71689 Make way for the contrib_amd bmake frame work. 1998-08-27 08:03:35 +00:00
Jordan K. Hubbard
0fc1c5c44a Catch more cases where the CDROM has been mounted. 1998-08-27 00:50:14 +00:00
Brian Somers
37d818fb21 Fix some OpenBSD/alpha warnings 1998-08-26 18:07:57 +00:00
Brian Somers
653ead3365 Remove redundant include file. 1998-08-26 17:39:38 +00:00
Brian Somers
5a72b6eda3 Put the IP buffer queues into struct ipcp.
Forgotten by: me
1998-08-26 17:39:37 +00:00
Brian Somers
4a7a066106 The protocol must be in network byte order (OpenBSD only). 1998-08-26 17:39:35 +00:00
Joseph Koshy
842d977707 Remove identity crisis in ispcvt(8) man page. Include reference to
ispcvt(8) in pcvt(4).

PR: docs/7743
Submitted by: <k-horik@yk.rim.or.jp>
1998-08-26 02:46:24 +00:00
Julian Elischer
352ef9ec55 Submitted by: archie@whistle.com
quieten cc -Wall
1998-08-25 21:16:47 +00:00
Brian Somers
f80e09b53a Mention what ``set authname'' does in -direct mode. 1998-08-25 17:48:55 +00:00
Brian Somers
6f8e9f0a8a If we've got a full output buffer queue and cannot send
anything for two mintues (see ``set choked'' and ``show
bundle''), nuke the ip, mp and link level buffer queues.

This should fix problems where ``ppp -auto'' seems to stop
responding after failing to connect to the peer a few times.
1998-08-25 17:48:43 +00:00
Doug Rabson
dbf9b92f80 Change length arguments to sysctl to size_t. 1998-08-25 07:38:19 +00:00
Brian Somers
9773f8c0c8 Consolidate the two malloc()s that are done when allocating
an mbuf.
1998-08-21 18:10:15 +00:00
Brian Somers
3f37462e61 Make ``show mem'' display the number of packets allocated as well as the
number of octets.
1998-08-21 18:09:57 +00:00
Brian Somers
b538df1666 Fix ``lp=port@machine'' syntax and mention it in printcap(5). 1998-08-21 18:08:46 +00:00
John Birrell
1be40924a9 Build kvm_mkdb and natd on alpha too. 1998-08-20 21:51:35 +00:00
Bruce Evans
f6f60773dd Increased column widths for tty input watermark fields so that watermarks
for 11520-byte buffers for 115200 bps are displayed properly.

Fixed my recent printf format error fixes.  %p is almost unusable
in tables, since its width and format are unknown/machine-dependent.
Use %8lx and cast pointers to (u_long)(void*).  This is still quite
broken, e.g., for machines with 64-bit pointers.
1998-08-19 01:32:28 +00:00
John Birrell
4b82d708ae Bruce says that %p is intended to format void pointers only. So use a void *
cast. There are pointers and then there are _pointers_. One day I'll
figure out which are which. 8-)
1998-08-18 02:10:05 +00:00
Brian Somers
b6f5f44231 Destroy any existing chat timeouts in datalink_ComeDown()
If we're told to close/down while in DIAL or LOGIN state,
we don't want to keep our timeout running :-/
1998-08-18 00:53:48 +00:00
Wolfram Schneider
10e41acac5 Removing -batch option from adduser. Adduser was written as
an *interactive* command for newbies. The pw(8) does now a much better
job for adding users from command line.  Also, the -batch option is
not well tested, buggy and unsupported.
1998-08-17 18:50:29 +00:00
Doug Rabson
744857bc1c Update to use the new elf headers. 1998-08-17 08:47:19 +00:00
Brian Somers
fc254be9bd Don't lose an allocated pointer if realloc() fails.
Free it instead.
Pointed out by: Theo de Raadt
1998-08-17 06:42:40 +00:00
John Birrell
44ab8b53f2 Remove a cast and print the pointer value with %p instead of %x. 1998-08-17 06:16:59 +00:00
John Birrell
9d1135a9e1 Ad #include stdlib.h to get the prototype for malloc(). 1998-08-17 06:05:55 +00:00
Gary Palmer
67e55fa568 We need config to build on the alpha also ... kinda difficult to build
kernels without it :)
1998-08-17 05:48:22 +00:00
Poul-Henning Kamp
c7fb30fbe4 /usr/sbin/spkrtest and /usr/sbin/vidfont (aka kbdmap) use very
predictable /tmp files (static prefix + process number) which are
overwritten blindly, and follow links.

These workarounds change it from a process number to a very random
(9999 with tons of decimal places) number.

PR:		7565
Submitted by:	Thomas Stromberg <tstrombe@rtci.com>
1998-08-14 06:26:58 +00:00
Brian Somers
f841c4e56e Be careful about using ``.Bd -literal'' as groff sometimes keeps
the `-literal' after the closing .Ed.
Where this happens, use ``.Bd -unfilled'' with ``.It Li'' to dodge
the problem - it looks better too.
Problem reported by: Dom Mitchell <dom@phmit.demon.co.uk>
1998-08-11 18:59:36 +00:00
Bill Paul
9e8aac2526 DNS lookups for partially qualified hosts didn't work right. I was trying
to be clever by avoiding the 'check all domains in the search list'
cycle in certain cases, but this would lose if handed a name like
"foo.ctr" which refers to an FQDN of "foo.ctr.columbia.edu". If
"columbia.edu" is in the search list in /etc/resolv.conf then the
DNS lookup code should resolve it, but it didn't.
1998-08-10 19:43:33 +00:00
Brian Somers
7955cdca14 `dns' option defaults to disabled, not enabled. 1998-08-09 23:40:31 +00:00
Brian Somers
0f5ecc8b46 Add missing .El 1998-08-09 17:17:23 +00:00
Brian Somers
74e4a8dab7 /var/run/tunX.pid is created regardless of ppps mode.
Spotted by: Alex <garbanzo@hooked.net>
1998-08-09 17:17:10 +00:00
Brian Somers
44cae95d95 Use IFT_PPP from net/if_types.h rather than hard-coding it. 1998-08-09 16:41:01 +00:00
Brian Somers
bf1d3ff614 When entering ``term'' mode, don't output any messages until
the device is successfully opened.  If we fail to open it,
mention the fact.
Also go back into command mode as soon as the device is closed
rather than waiting for the user to type something before noticing.
1998-08-09 15:34:11 +00:00
Brian Somers
2a63083586 Don't forget to call PacketAliasInit().
PR:	7515
1998-08-09 09:13:54 +00:00
Brian Somers
0581dfeff0 Missed these... 1998-08-07 18:44:16 +00:00
Brian Somers
92b0955883 o Support callback types NONE, E.164, AUTH and CBCP.
(see the new ``set callback'' and ``set cbcp'' commands)
o Add a ``cbcp'' log level and mbuf type.
o Don't dump core when \T is given in ``set login'' or
  ``set hangup''.
o Allow ``*'' and blanks as placeholders in ppp.secret and
  allow a fifth field for specifying auth/cbcp dialback
  parameters.
o Remove a few extraneous #includes
o Define the default number of REQs (restart counter) in defs.h
  rather than hardcoding ``5'' all over the place.
o Fix a few man page inconsistencies.
1998-08-07 18:42:51 +00:00
John Birrell
170812ea7a Add snprintf.c to SRCS so that the function quad_to_string exists. The
snprintf function itself is still #ifdef'd out by conf.h. This allows this
program to link when compiled without optimization. With optimization,
the call to quad_to_string gets removed by the compiler. Unfortunately
the linker still links in the quad_to_string function even though it
isn't called. 8-(
1998-08-06 23:01:49 +00:00
Eivind Eklund
60175a9772 Don't mess around in OBJDIR for includes, and remove some warnings. 1998-08-06 21:19:11 +00:00
Kazutaka YOKOTA
b897510f7a The control code ^_ (0x1f) should really be called "us" rather than "ns".
In the mean time, accept both "us" and "ns" in the keymap file as ^_
for the compatibility with the existing keymap files.
1998-08-06 09:44:23 +00:00
Eivind Eklund
b755b88510 Update DPT driver from 1.4.3 to 1.4.5
Submitted by: Simon Shapiro <shimon@simon-shapiro.org>
1998-08-05 00:54:38 +00:00
Nate Williams
5e91a8ac91 - On second thought, attempt to get the read-only lock, but don't
consider it a exit failure if it doesn't work.  This means that root
  processes can safely get the lock, but normal processes can still use
  the 'pw' utility to get information (which may change out from under
  them.)
1998-08-04 22:31:26 +00:00
Nate Williams
2a6797aae2 - Removed read-only lock from 'pw'. This removes portions of the FIX
from PR/6787, but allow non-root users to use pw to get password
  information.  However, this should be safe since the fixes for
  disallowing multiple instances from modifying the DB are still intact.

Bug noted by:	 dima@best.net (Dima Ruban)
1998-08-04 22:20:11 +00:00
Peter Wemm
22b78769f8 Remove old sendmail (to the Attic) 1998-08-04 16:35:57 +00:00
Peter Wemm
943c997663 Descend into makemap/mailstats/praliases when building sendmail. 1998-08-04 15:28:25 +00:00
Peter Wemm
9b89318646 Use sendmail-8.9.1 makemap 1998-08-04 15:27:40 +00:00
Peter Wemm
2810afd3fb Use sendmail-8.9.1 praliases 1998-08-04 15:26:57 +00:00
Peter Wemm
205c3be48b Build sendmail-8.9.1 makemap. 1998-08-04 15:25:32 +00:00
Peter Wemm
22751f562c Connect up sendmail-8.9.1 1998-08-04 15:24:04 +00:00
Peter Hawkins
b69602f3bb PR: 7489
Submitted by:	Jos.Backus@nl.origin-it.com
Correct execvp fail message in current
1998-08-04 14:33:42 +00:00
Kazutaka YOKOTA
28d2c691c0 Added the `saver' key definition. The saver key will activate the screen
saver if one is loaded.
1998-08-03 11:33:22 +00:00
Kazutaka YOKOTA
2aa0aafb2d - Set bell pitch in hertz and duration in msecs.
The change corresponds to syscons.c 1.268.

PR: bin/6037
Submitted by: Kouichi Hirabayashi (kh@eve.mogami-wire.co.jp)
1998-08-03 09:12:39 +00:00
Bruce Evans
ab84534772 Fixed printf format errors. 1998-08-02 16:06:35 +00:00
Bruce Evans
92f896a9cc Fixed printf format errors. 1998-08-02 14:41:34 +00:00
Brian Somers
0bdcbcbe9b PR: 7469
Be careful that the current or next prompt in the list
that we're iterating through doesn't get changed by
descriptor_Read().
1998-08-02 13:01:16 +00:00
Brian Somers
94245ac66c On receipt of a sig 15, do a full bundle_Close() even if
our current phase is PHASE_DEAD as it's possible that there
are links stuck in OPENING waiting for a redial timer.
1998-08-02 06:56:40 +00:00
Brian Somers
68a0e17122 When we receive an LCP config REQ in Opened state,
do TLD *before* processing the config request as
TLD initialises the peers LCP values.

It's strange that an IRC isn't required here - but
I'll bow to the wisdom of the rfc.
1998-08-01 01:02:41 +00:00
Brian Somers
cff2b1c9b4 Cosmetic: Diagnostic wording (Unknown -> Unexpected) 1998-08-01 01:02:12 +00:00
Brian Somers
c31ac0b396 Always dial immediately on `open'', dial'' and `call''.
We don't need a ``!''.
1998-07-31 19:50:24 +00:00
Poul-Henning Kamp
84a6914bd8 ndc hardcodes 'named' instead of using $named_program from rc.conf
PR:		7425
Reviewed by:	phk
Submitted by:	frf <frf@xocolatl.com>
1998-07-31 08:47:16 +00:00
Joseph Koshy
0d58ca2312 Document meanings of flags to the -r and -s options. 1998-07-30 04:17:12 +00:00
Brian Somers
ba23f3976a Allow an optional ``!'' in the open, dial & call commands.
When used, the redial timer is ignored and the modem is
opened immediately.
1998-07-29 18:21:17 +00:00
Brian Somers
50fa554e42 Use tcsetattr TCSANOW instead of TCSADRAIN so that dedicated mode doesn't
end up blocking indefinitely when there's no carrier.
1998-07-29 18:20:53 +00:00
Joerg Wunsch
62052b46f7 Document the kern.logsigexit sysctl variable (sort of).
Reminded by:	bde
1998-07-29 08:30:37 +00:00
Warner Losh
ad60f0a60d MAXPATHLEN is long enough 1998-07-29 03:31:03 +00:00
Warner Losh
44e90c32c9 when changing mktemp -> mkstemp, make sure to include the new s 1998-07-29 03:25:08 +00:00
Warner Losh
90bc3b2e4b Fix temp file race in unused file. If someone wanted to clean the
tree a little, many files here are likely ripe for removal...
1998-07-29 03:23:18 +00:00
Brian Somers
2062443fd7 Silence ``Network unreachable'' warnings when using
``add .... HISADDR''.  The network will never be
reachable at this point unless we're in -auto or reading
the command from ppp.linkup.

We can now run the following lines and get the expected
results:

  set ifaddr 1.2.3.4/0 5.6.7.8/0
  add default HISADDR

where a route is added immediately in auto mode and the
whole thing is delayed 'till the IP numbers have been
agreed in other modes.

Essentially, ppp.linkup is no longer required.
1998-07-28 21:54:54 +00:00
Brian Somers
93280d730e o Tidy up PAP and CHAP diagnostics. They're now all logged as PHASE
diagnostics (which are on by default).
o Deal correctly with both sides wanting CHAP.
o Output a warning if we're using an empty ``authname''.  This is
  *not* what we want to do.
1998-07-28 21:54:30 +00:00
Jordan K. Hubbard
77b7b41b81 Don't exit() from cleanup() if we got there via a non-signal since
we're only going to exit (after printing a more detailed error message)
afterwards anyway.
PR:		7020
1998-07-28 11:55:39 +00:00
Jacques Vidrine
dd123c1609 Paranoia: use mkdtemp instead of mktemp
PR:		bin/3212
Reviewed by:	jkh@FreeBSD.ORG
1998-07-28 01:18:02 +00:00
Jacques Vidrine
292c7b2582 Paranoia: use mkstemp instead of mktemp.
PR:		bin/3211
Reported by:	Mark Pritchard <mpp@FreeBSD.ORG>
1998-07-27 22:26:25 +00:00
Poul-Henning Kamp
6a19bdc8af Harlan.Stenn@pfcs.com added two (very interesting) options to syslogd for
-current (Thanks Harald). However, on my attempt to try this on -STABLE,
I found that when forwarding to another host the actual messages gets lost.
This is due to a wrong index because when the -v option was added, the
indexes shifted one place.

PR:		7407
Submitted by:	Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
1998-07-27 13:04:14 +00:00
Andrey A. Chernov
a07f318f8c Add (struct timezone *) cast to NULL for K&R 1998-07-24 08:28:33 +00:00
Andrey A. Chernov
19ce94466c Use NULL as gettimeofday arg instead of 0 cast
Add missing arg to error diagnostic
Print yet one arg of error diagnostic
1998-07-23 20:05:02 +00:00
Poul-Henning Kamp
d4676e5ad7 last patch misapplied. 1998-07-22 14:24:12 +00:00
Poul-Henning Kamp
2eec1ab091 Add -u, -v and -vv options to syslogd, this improves the control and
logging verbosity about facility & priority levels.
PR:		7278
Reviewed by:	phk
Submitted by:	Harlan Stenn <Harlan.Stenn@pfcs.com>
1998-07-22 06:15:19 +00:00
Poul-Henning Kamp
3939bb662d A comment in /usr/src/usr.sbin/ypserv/Makefile.yp
(a.k.a. /var/yp/Makefile.dist) refers to an obsoleted usage of the
-m option of rpc.yppasswdd.  It is currently taken over by the -t
option.  -m is used for a different purpose now.

PR:		7279
Reviewed by:	phk
Submitted by:	Amakawa Shuhei <amakawa@nebula.sf.t.u-tokyo.ac.jp>
1998-07-22 06:01:13 +00:00
Poul-Henning Kamp
02c589d9e9 This may apply to all known versions of inetd.
For a tcp/nowait connection, inetd invokes accept(2) for
each pending connection; this call returns a file descriptor
associated with the new connection.

Twelve years ago, code was added to inetd to detect "failing
servers".  The heuristic that identifies a failing server is
one that has been invoked a large number of times over some
specified interval (e.g., more than 128 ftp services started
in 60 seconds may flag the ftp service as "failing").  These
compile-time constants vary depending on vendor.

The problem is that, when a failing server is detected, the
code neglects to close the file descriptor returned by the
accept(2).

Security-Implications:
I suppose someone with ample free time could orchestrate an
attack buy pummeling services until the inetd process finally
runs out of file descriptors thus rendering inetd useless to
any new connections that require a new descriptor.

PR:		7286
Reviewed by:	phk
Submitted by:	Jeff Forys <jeff@forys.cranbury.nj.us>
1998-07-22 05:53:53 +00:00
Doug Rabson
deec8506c1 Dump out ISA device resources for alpha. 1998-07-21 21:47:51 +00:00
Joerg Wunsch
aa81f3a9d8 Document sef's recent changes in the corefile naming.
Reviewed by:	sef (well, i believe his `Looks good' was a review result :)
1998-07-21 18:16:16 +00:00
Jordan K. Hubbard
9c5697dd4f MF22: various fixes for new XFree86 dist and cdrom warnings. 1998-07-21 06:44:42 +00:00
Kazutaka YOKOTA
e1fe6b4298 MF22: fix typo in a keymap filename (lat-amer.iso -> lat-amer). 1998-07-20 10:48:11 +00:00
Brian Somers
501f548011 Add missing braces - without them, the IP & label were mis-selected
from ppp.secret.
Problem reported by: Dom Mitchell <dom@phmit.demon.co.uk>
1998-07-19 21:07:24 +00:00
Robert Nordier
560cbdb57d Drop mkdosfs (replaced by newfs_msdos).
Prompted by: joerg
1998-07-19 13:41:08 +00:00
Tim Vanderhoek
922fcd0032 Clarify "Cannot delete file as directory" errmessage.
PR:		bin/1985
1998-07-18 22:19:11 +00:00
Jordan K. Hubbard
8eac04a792 MF22: Paul Traina's changes. 1998-07-18 09:42:02 +00:00
Eivind Eklund
4dc6689c09 Avoid race-conditions on playpen delete. 1998-07-17 14:56:31 +00:00
Nate Williams
73375325b1 Fix race condition in pw caused by multiple instances of pwd_mkdb being
run at the same time.

Notes:
    The fileupdate function is still somewhat broken.  Instead of
    returning a failure code if it can't modify the original file it
    renames the .new file and continues as though nothing is wrong.
    This will cause the lock on the original file to be lost and could
    lead to a similar race condition.  I left that portion of the code
    alone since I feel that the maintainer of the code would have a
    better concept of how he wants to handle errors in that function
    than I do.

PR:		bin/6787
Submitted by:	Craig Spannring <cts@internetcds.com>
1998-07-16 17:18:25 +00:00
Dag-Erling Smørgrav
19111ad381 Allow blank lines in /var/yp/securenets. 1998-07-15 11:56:28 +00:00
Philippe Charnier
06389a253a Add Id. .Nm nologin -> .Nm. 1998-07-15 06:37:07 +00:00
Philippe Charnier
9b4d716bbb Do not dot terminate syslog() string. Remove unused #includes. Add rcsid. -Wall. 1998-07-15 06:33:15 +00:00
Philippe Charnier
7485340223 Correct improper use of .Sm. Document -d flag. Correct use of .Nm. Remove
unused #includes. Add usage(). Use warnx(). Correct spelling. Abort when
malloc() fails.
1998-07-15 06:21:41 +00:00
Joseph Koshy
06d073b9a9 Fix inconsistent port numbering in man page.
PR: 7250
Submitted-by: Norihiro Kumagai <kuma@jp.freebsd.org>
1998-07-15 03:32:45 +00:00
Bruce Evans
af01fff37b ioctl() request args are unsigned longs, so don't attempt to store
them as ints.  Among other bugs, doing so at best caused benign
overflow followed by fatal sign extension on machines with 32-bit
ints and 64-bit longs.
1998-07-14 10:32:27 +00:00
Joseph Koshy
fa0bc432ca Add $Id$.
PR:		7251
Submitted by:   Norihiro Kumagai <kuma@jp.freebsd.org>
1998-07-14 08:28:15 +00:00
Joseph Koshy
cdcd36c48e Add $Id$.
PR: 7249
1998-07-14 08:18:51 +00:00
Dag-Erling Smørgrav
cf1414e15e Inserted missing .Bl in the FILES section.
Unknowingly pointed out by: Snob Art Genre <benedict@echonyc.com>
1998-07-14 07:55:27 +00:00
Stefan Eßer
8808ae1353 Remove printing of variable "reselect" which is not really maintained
by the NCR driver.

Fix use of "regtime" which became an int (had been a time_t).

Submitted by:	bde
1998-07-12 20:30:11 +00:00
Brian Somers
7e22ee1f07 Show on-screen ``phase'' logging and try to negotiate
nameserver IPs by default at install time.
Approved by: jkh
1998-07-12 17:11:53 +00:00
Bruce Evans
784c3c3465 Removed all traces of PARAM in Makefile.i386. Incremented CONFIGVERS
to reflect the dependency of Makefile.i386 on nothing being put in
PARAM.

Config versioning is too closely coupled with the Makefile.i386.
1998-07-12 09:52:45 +00:00
Bruce Evans
8778add542 Convert the maxusers directive to a normal MAXUSERS option (normally
define MAXUSERS in opt_param.h as directed in /sys/conf/options;
if it's not mentioned there, then define it in IDENT; never define
it in PARAM).  MAXUSERS probably should be a completely normal option.

Don't define PARAM now that it is empty.

Cleaned up similar conversion of cpu directives to XXX_CPU options.
1998-07-12 08:10:33 +00:00
Bruce Evans
d8dd03ae32 Warn about redefined options. Keep using the last value processed.
Options are processed reverse file order, so the first definition in
the config file wins (except for directives that are converted to
option).
1998-07-12 02:31:08 +00:00
Bruce Evans
f59d2e0292 Fixed off-by-1 errors in option line numbers. yyline is 0-based, but
was used as if it is 1-based.  This happened to give the correct result
for options without values because of a compensating error in newline
lexing.  Didn't fix the latter, so line numbers in yyerror() may still
be 1 too high in some cases.
1998-07-12 02:18:41 +00:00
Brian Somers
3b09372a14 Correct enable/disable handling (broken when ironing out
32/64 bit issues recently).
1998-07-12 00:30:18 +00:00
Brian Somers
7d797fa780 Check the ``alive'' filter for a packet *before* the
mbuf is deallocated by vj_SendFrame().
1998-07-11 19:05:24 +00:00
Brian Somers
14593dfd98 Change MIN_LQRPERIOD from 5 to 2. 1998-07-11 02:48:36 +00:00
Joseph Koshy
8c47bb115c Remove illegal ".Nm". This file is still using -man, not -mdoc.
PR: 7223
1998-07-09 04:53:11 +00:00
Bruce Evans
78cda23056 Fixed printf format errors. 1998-07-06 20:28:08 +00:00
Bruce Evans
6497a56c81 Removed bogus #ifdef INET - <net/if_slvar.h> no longer depends on it. 1998-07-06 20:09:36 +00:00
Philippe Charnier
e37a54892b Correct use of .Nm. Spelling. Add rcsid and remove unused #includes. 1998-07-06 07:19:27 +00:00
Joseph Koshy
ec500c67a1 Document -I' and -R' options to `pkg_info'.
PR: 7155
1998-07-06 04:39:20 +00:00
Brian Somers
9dae3e8d4b Don't disable ^D in interactive mode.
Wished for by: pkh
1998-07-04 22:04:12 +00:00