Commit Graph

3845 Commits

Author SHA1 Message Date
hoek
f63f5b169f Clarify "Cannot delete file as directory" errmessage.
PR:		bin/1985
1998-07-18 22:19:11 +00:00
jkh
db59c4fa8f MF22: Paul Traina's changes. 1998-07-18 09:42:02 +00:00
eivind
90eaf524e1 Avoid race-conditions on playpen delete. 1998-07-17 14:56:31 +00:00
nate
717f8cfcdf 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
des
989cf78aa7 Allow blank lines in /var/yp/securenets. 1998-07-15 11:56:28 +00:00
charnier
3b57dbf726 Add Id. .Nm nologin -> .Nm. 1998-07-15 06:37:07 +00:00
charnier
2d7179e242 Do not dot terminate syslog() string. Remove unused #includes. Add rcsid. -Wall. 1998-07-15 06:33:15 +00:00
charnier
130964b262 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
jkoshy
8b4cc24853 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
bde
8de3c68d1f 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
jkoshy
a1d267c737 Add $Id$.
PR:		7251
Submitted by:   Norihiro Kumagai <kuma@jp.freebsd.org>
1998-07-14 08:28:15 +00:00
jkoshy
50ae10cdf2 Add $Id$.
PR: 7249
1998-07-14 08:18:51 +00:00
des
9684dea064 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
se
fada06fc70 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
748046395f 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
bde
315f3aed95 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
bde
6f3e11d7f8 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
bde
f3a2e33147 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
bde
8bd43c3241 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
13445e8201 Correct enable/disable handling (broken when ironing out
32/64 bit issues recently).
1998-07-12 00:30:18 +00:00
brian
c8bacb1b72 Check the ``alive'' filter for a packet *before* the
mbuf is deallocated by vj_SendFrame().
1998-07-11 19:05:24 +00:00
brian
cc68975652 Change MIN_LQRPERIOD from 5 to 2. 1998-07-11 02:48:36 +00:00
jkoshy
493d543f2a Remove illegal ".Nm". This file is still using -man, not -mdoc.
PR: 7223
1998-07-09 04:53:11 +00:00
bde
91d0197e22 Fixed printf format errors. 1998-07-06 20:28:08 +00:00
bde
1807ada780 Removed bogus #ifdef INET - <net/if_slvar.h> no longer depends on it. 1998-07-06 20:09:36 +00:00
charnier
bdb351fc08 Correct use of .Nm. Spelling. Add rcsid and remove unused #includes. 1998-07-06 07:19:27 +00:00
jkoshy
7b85db8c1a Document -I' and -R' options to `pkg_info'.
PR: 7155
1998-07-06 04:39:20 +00:00
brian
e6802dbf0e Don't disable ^D in interactive mode.
Wished for by: pkh
1998-07-04 22:04:12 +00:00
brian
7bbd96e068 Don't require context when there's only one link
for ``open lcp''
1998-07-04 22:03:56 +00:00
jkh
dffc2c777f MF22: check for null pointer. 1998-07-04 14:13:01 +00:00
brian
70e65d7691 Make things clearer.
Submitted (some time ago) by: Ted Mittelstaedt <tedm@portsoft.com>
1998-07-04 12:07:03 +00:00
brian
c61598e50c Version 2.0-beta becomes 2.0 :-) 1998-07-04 10:24:49 +00:00
brian
fe5471bbb4 Suggest port 8668 rather than 6668 for natd.
6668 is IRC.
1998-07-04 01:53:54 +00:00
brian
505c39dfb7 Only start checking carrier when the datalink state machine
exceeds DATALINK_READY.  When we go back to READY or less
(eg. ``close lcp''), switch the carrier-checking-timer off again.

This fixes the callback example in ppp.conf.sample.
Noted as broken by: Damian Kuczynski <damian@best.pw.edu.pl>
1998-07-03 17:24:38 +00:00
guido
6581cc8a98 Fix off by 1 error. 1998-07-02 19:35:40 +00:00
phk
4a2b54cc38 /var/log/wtmp entries for ptys are treated differently in ac, since
they may not be logins.  The code for determining whether it is a pty
entry is broken.

PR:		7137
Reviewed by:	phk
Submitted by:	Tom Rush <tarush@mindspring.com>
1998-07-02 05:34:08 +00:00
brian
2f84dc04f7 The CCP layer now behaves as follows:
o If we've denied and disabled all compression protocols, stay
  in ST_INITIAL and do an LCP protocol reject if we receive any
  CCP packets.
o If we've disabled all compression protocols, go to ST_STOPPED
  and wait for the other side to ask for something.
o If we've got anything enabled, start REQing as soon as the auth
  layer is up.
o If we're in multilink mode, than the link level CCP goes
  straight to ST_STOPPED irrespective of what's configured so that
  we never try to compress compressed stuff by default.
1998-06-30 23:04:17 +00:00
bde
9f41cd2f54 Don't assume that time_t is long. 1998-06-29 18:15:21 +00:00
bde
42426b4044 Don't assume that time_t is long. Fixed printf format errors. 1998-06-29 18:12:08 +00:00
bde
5ce7f7bbb5 Don't assume that time_t is long. 1998-06-29 18:09:59 +00:00
bde
8d79264e17 Don't assume that time_t is long. 1998-06-29 17:54:29 +00:00
bde
894c12aeef Don't assume that time_t is long. Fixed printf format errors (don't
assume that ntohl() returns long).
1998-06-29 17:51:39 +00:00
bde
0f93d85dc5 Don't assume that time_t is long. 1998-06-29 17:38:35 +00:00
bde
58651aa5fd Don't assume that time_t is long. 1998-06-29 17:25:46 +00:00
jkh
bdbef7d35a Crank the max possible disks/slices constants way down.
The probe for this sometimes makes IDE drives chatter their guts out
and takes an inordinately long time in such cases..
1998-06-29 09:28:01 +00:00
brian
d4ead1113f o Fix remaining sizeof problems for 64 bit machines.
o Allow ``set ....'' when we have multiple links but aren't in
  multilink mode.
o Do a TLS when we receive a ``Open'' event in ``Closed'' state,
  despite the rfc state transition table.  This is clearly an
  error in the RFC as TLS cannot have yet been called (without
  TLF) in the ``Closed'' state.
  I've posted a message to comp.protocols.ppp for confirmation.
1998-06-27 23:48:54 +00:00
steve
6375191994 Note in log file if messages are being forwarded from a
remote machine.

PR:		7055
Submitted by:	Edwin Groothus <edwin@nwm.wan.philips.com>
1998-06-27 21:45:59 +00:00
steve
5b1735b188 Typo.
PR:		7093
Submitted by:	Stefan Eggers <seggers@semyam.dinoco.de>
1998-06-27 21:29:35 +00:00
brian
fe729191a1 More u_long -> u_int32_t 1998-06-27 16:24:52 +00:00
brian
901772c27a I find it *really* irritating that you can't ``cvs rm''
things without removing them first.
1998-06-27 15:33:17 +00:00