Commit Graph

5967 Commits

Author SHA1 Message Date
Brian Somers
194750d657 Hard sentence breaks and trailing space tidy-ups
Obtained from: OpenBSD
2000-06-11 14:58:32 +00:00
Brian Somers
e97b220c8c Don't oan about padding characters 2000-06-11 12:22:06 +00:00
Brian Somers
6c1d673108 Add ``set ifqueue'' to control the size of the outgoing packet
queue.  Doing ``set ifqueue 0'' and ``set urgent none'' will allow
full use of luigi's WF2Q code.

Requested by: luigi
2000-06-11 02:30:51 +00:00
Peter Wemm
3f664fc689 A checkpoint of a part of a work-in-progress. Some more cleanups for
config(8).  This commit allows control of the creation of the
#include "foo.h" files.  We now only create them explicitly when needed.
BTW; these are mostly bad because they usually imply static limits on
numbers of units for devices.  eg: struct mysoftc sc[NFOO];
These static limits have Got To Go.
2000-06-10 22:13:40 +00:00
Brian Somers
4c24043766 Allow ``set urgent none'' to disable all urgent ports and IPTOS_LOWDELAY
prioritisation.

Requested by: luigi
2000-06-08 20:07:48 +00:00
Kris Kennaway
a8cc952fab Prevent a non-exploitable remote buffer overflow.
Reported by:	twitch <twitch@vicar.org>
Submitted by:	Guido van Rooij <guido@gvr.org>
Reviewed by:	security-officer
2000-06-08 03:54:45 +00:00
David Nugent
6a1eaeca35 Fix db syncronization when username is changed with -l under usermod.
pw(8) was calling pwd_mkdb -u oldusername instead of newusername, so
the update appears to have failed until the next full pwd_mkdb
syncronization.

PR:		bin/16418
2000-06-06 07:33:00 +00:00
Yoshihiro Takahashi
a40915d750 - Remove obsolete PC-card boot.flp hack. It was for making both PC-card
boot.flp and plain boot.flp.
- Clean up crunchgen related routine.

- Add PC-98 support.
  TODO:
    o Documentation
    o Fix some messages for PC-98
    o Decrease the size of fixit.flp to 1.2MB
    o I18N (See: http://www.jp.FreeBSD.org/BootAsia/index.html)

No response from jkh
2000-06-05 13:17:23 +00:00
Brian Somers
3142868451 Specify a trigger address of 0.0.0.0 here so that we can sucessfully
negotiate with broken ppp implementations that won't supply an IP
number unless we suggest 0.0.0.0

Noted by:	Andrew Parry <andrew.parry@db.com>
2000-06-05 10:59:43 +00:00
Jeroen Ruigrok van der Werven
c192455b47 Fix typo.
PR:		18845
Submitted by:	Kevin <kevin@ns1.stcp.net>
2000-06-04 16:15:56 +00:00
Tim Vanderhoek
0e61e4dd08 Install mailer.conf as ${BINOWN}, ${BINGRP}, rather than root:wheel. This
lets unprivileged installworld: almost work first try and always work second.

BINOWN isn't quite right for this, but it's not really worth creating
a MAILOWN for this.
2000-06-04 01:20:58 +00:00
Tim Vanderhoek
87dc218ee3 Use rm -f if the -f (force) option was given. 2000-06-02 04:32:37 +00:00
Poul-Henning Kamp
d2c1dda326 Add -y option which doesn't ask for confimation, but still shows progress
PR:		9259
Submitted by:	Clark Gaylord <cgaylord@vt.edu>
2000-06-01 22:27:30 +00:00
Tim Vanderhoek
8c0e8d96d2 Add a NO_LPR option. Useful for people who want to use LPRng.
PR:	bin/18787 (David Gilbert <dgilbert@velocet.ca>)
2000-05-31 21:45:15 +00:00
Jordan K. Hubbard
91bb0c05fe Update the australian NTP server entry.
Submitted by:	Peter Matthews <peter@netwise.com.au>
2000-05-31 21:40:50 +00:00
Brian Somers
a339e6448b Use mp_CheckAutoloadTimer() rather than mp_StopAutoloadTimer()
when opening or closing an auto link due to the autoload
setting.

Spotted by: David Hedley <david@inty.co.uk>
2000-05-31 15:35:29 +00:00
Brian Somers
3356db52df Don't use the umask to chmod local domain server sockets, use
the mask
2000-05-31 09:06:52 +00:00
Mike Smith
5744d83648 /dev/rXXX -> /dev/XXX 2000-05-31 01:04:22 +00:00
Mike Smith
49eb60e70f Don't do anything with /dev/rXXX 2000-05-31 01:03:26 +00:00
Mike Smith
07b1028579 Finish the /dev/rXXX removal job. With the libdisk fixes, this should
actually work again.
2000-05-31 00:57:48 +00:00
Brian Feldman
9e72c31886 Fix the ident server up more: use ssize_t/size_t/socklen_t/int all in the
proper places and make the fakeid parsing code a bit less stupid.  Also,
remove an "Rflag" that snuck in there (-R wouldn't be accepted by it,
anyway).
2000-05-30 22:51:05 +00:00
John Baldwin
1078172a77 Fix a 64-bit'ism in the handling of the ident service. sysctlbyname() takes
a size_t as its 3rd argument, which is 64-bits on the alpha.  The 'len'
variable used was a int, which is only 32-bits.  Use size_t as the type
for 'len' to work-around this.
2000-05-30 18:32:58 +00:00
Mitsuru IWASAKI
6ebef682a8 Add regex(3) matching feature for card line strings.
- This feature will be enabled only if the string is
   enclosed by '/' something like;
	card "SunDisk" "/.*/"
 - Also added matching additional information strings
   followed by version string.  This is for the card which is
   difficult to idendentify by only the manufacturer and
   card version strings matching.
	card "MACNICA" "MIRACLE SCSI" "mPS100" "D.0"

Reviewed by:	imp
Obtained from:	PAO
2000-05-30 15:33:56 +00:00
Guy Helmer
e35ba769a6 Adjust the width of the first column in output from "sa -m" to match
the max length of user names.

PR:		bin/10905
Submitted by:	Ben Smithurst <ben@scientia.demon.co.uk>
2000-05-30 13:27:33 +00:00
Philippe Charnier
b620c1f5d6 Typo
Add FreeBSD Id
2000-05-29 20:23:04 +00:00
Philippe Charnier
a6b855e77f Make use of .Ic asked by Sheldon. Spelling fix I missed yesterday.
Submitted by:	Sheldon Hearn <sheldonh@uunet.co.za>
2000-05-29 20:21:46 +00:00
Philippe Charnier
92c926c438 1000000 usecs to 1 sec conversion 2000-05-28 15:06:45 +00:00
Philippe Charnier
7718805b57 Convert to errx() 2000-05-28 15:05:15 +00:00
Philippe Charnier
9a784c6a99 Add prototype 2000-05-28 15:04:01 +00:00
Philippe Charnier
cd684bdd15 Use .Fx 2000-05-28 15:03:14 +00:00
Philippe Charnier
39e80db3db Do not add progname in err() strings, it will be printed twice 2000-05-28 15:02:26 +00:00
Philippe Charnier
db66828c4b Simplify .Nm. Be consistent with subcommand name 2000-05-28 15:01:12 +00:00
Philippe Charnier
6dd6dc5dce Put ASCII under .Tn 2000-05-28 14:59:54 +00:00
Philippe Charnier
1399a5318f Dot not dot terminate in FILES and SEE ALSO sections 2000-05-28 14:59:02 +00:00
Philippe Charnier
7f69f4fdb0 match prototype 2000-05-28 14:57:49 +00:00
Philippe Charnier
d8724a3a0d Do not dot terminate lines in FILES section 2000-05-28 14:56:04 +00:00
Brian Somers
962a3cbc83 If the fsm header reports a length greater than the packet size,
drop the packet rather than just whinging about it in the log.
If the fsm header has a smaller length, continue to whinge.
2000-05-26 21:11:55 +00:00
Brian Somers
07e4efad3d Remove an unused variable 2000-05-26 08:29:11 +00:00
Brian Somers
5e269efe6e When we do a `dial'' or `open'' from DATALINK_READY, go to
DATALINK_CARRIER and turn off scripting.

This should fix instances where ``term'' is used followed by ~.
and then ``dial''/``open'' (it currently just sits there looking
at you).

Reported by: Tim Vanderhoek <vanderh@ecf.utoronto.ca>
2000-05-26 08:26:56 +00:00
Jake Burkholder
e39756439c Back out the previous change to the queue(3) interface.
It was not discussed and should probably not happen.

Requested by:		msmith and others
2000-05-26 02:09:24 +00:00
David E. O'Brien
13c6acf19d Add the 'Z' key to the slice editor. Hitting it toggles the units the
sizes are displayed in.

Ok'ed by:	murray
2000-05-26 00:38:20 +00:00
Brian Somers
682cb20f5d Fix a topy (if (expr); command;)
Submitted by:	Renaud Waldura <renaud@guppy.evolunet.com>
2000-05-25 16:12:55 +00:00
Mike Smith
6af0a0de78 Remove all of the block devices, correct major numbers to point to the
corresponding character devices.  This is (currently) untested, but
should be correct.
2000-05-25 02:48:15 +00:00
Mike Smith
f8883ef3e1 Teach sysinstall about 'twe' disks. Note that this is currently
untested, and with the current state of flux surrounding the death
of bdevs other things here may need to change.
2000-05-25 02:28:50 +00:00
Brian Somers
d4c74446f7 The name /var/log/alias.log is *not* likely to change in the near
future...
2000-05-24 20:56:30 +00:00
Darren Reed
f86f73a6eb add common.c to SRCS 2000-05-24 20:47:08 +00:00
Brian Somers
632cd66778 Mention what ``enable proxy'' actually does 2000-05-24 13:49:39 +00:00
Mike Pritchard
fe6c63c617 Remove the lpr/runqueue directory and associated files.
These are not used anymore and are outdated and only cause
confusion (I just committed a fix to one of these files within
the last hour, thinking it was still valid).
2000-05-24 13:05:50 +00:00
Mike Pritchard
50545e9e59 Re-implement my fix from rev 1.6 (same rev for both files being committed)
that was lost during the lite-2 merge.  From the original commit message:

Initialize the group list so that any filter programs that are
run by lpd are not run with root's groups.
2000-05-24 11:38:50 +00:00
Brian Somers
d9626e9459 Honour `set speed sync'' and `set device !program'' when
used together by creating a SOCK_DGRAM socketpair() between
the processes.

Be polite when closing !program links and send a HUP to the
process.  This makes ssh tunnels over unreliable media (such
as via httptunnel) reconnect properly.
2000-05-24 09:05:58 +00:00