]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
28 years agoDo not send "welcome mail" as default. If you want this feature
Wolfram Schneider [Tue, 13 Aug 1996 21:50:51 +0000 (21:50 +0000)]
Do not send "welcome mail" as default. If you want this feature
you can still enable it. Better, use mail client like elm or pine.

Requested by: Jordan

28 years agoCorrect instructions for ftp'ing entire ports hierarchies.
Jordan K. Hubbard [Tue, 13 Aug 1996 19:51:36 +0000 (19:51 +0000)]
Correct instructions for ftp'ing entire ports hierarchies.
Submitted-by: Elliot Schwartz <elliot@mit.edu>
28 years agoSubmitted by: doug Rabson (dfr@render.com)
Julian Elischer [Tue, 13 Aug 1996 19:48:41 +0000 (19:48 +0000)]
Submitted by: doug Rabson (dfr@render.com)
cleaning up some of the vnode usage..

(I'm sure it still needs more..)
where can one find out what each vfs call expects to be locked
on completion, and how can one find out what each layer expects
to be freed on error.?

28 years agoCompletely rewrite handling of protocol field for firewalls, things are
Paul Traina [Tue, 13 Aug 1996 19:43:41 +0000 (19:43 +0000)]
Completely rewrite handling of protocol field for firewalls, things are
now completely consistent across all IP protocols and should be quite a
bit faster.

Discussed with: fenner & alex

28 years agoCompletely rewrite handling of protocol field for firewalls, things are
Paul Traina [Tue, 13 Aug 1996 19:43:24 +0000 (19:43 +0000)]
Completely rewrite handling of protocol field for firewalls, things are
now completely consistent across all IP protocols and should be quite a
bit faster.

Use getprotoname() extensively, performed minor cleanups of admin utility.
The admin utility could use a good kick in the pants.

Basicly, these were the minimal changes I could make to the code
to get it up to tollerable shape.  There will be some future commits
to clean up the basic architecture of the firewall code, and if
I'm feeling ambitious, I may pull in changes like NAT from Linux
and make the firewall hooks comletely generic so that a user can
either load the ipfw module or the ipfilter module (cf Darren Reed).

Discussed with: fenner & alex

28 years agoFix nasty bracketing/precedence bug. Every time something read (and
Peter Wemm [Tue, 13 Aug 1996 17:49:45 +0000 (17:49 +0000)]
Fix nasty bracketing/precedence bug.  Every time something read (and
refilled) a file that was either line- or un-buffered, all files were
flushed.  According to the code comment, the flush (according to ANSI)
is supposed to happen on write + line buffered output files, not _all_
files.

Obtained from: OpenBSD / Theo de Raadt, possibly from proven@cygnus.com

28 years agoBack out fallback approximation changes, they are not so right to live
Andrey A. Chernov [Tue, 13 Aug 1996 17:03:18 +0000 (17:03 +0000)]
Back out fallback approximation changes, they are not so right to live

28 years agoFix last commit (and PR bin/1489) by creating both sockets before
Bill Fenner [Tue, 13 Aug 1996 16:28:59 +0000 (16:28 +0000)]
Fix last commit (and PR bin/1489) by creating both sockets before
setuid().

28 years agoAdd collate_range_cmp
Andrey A. Chernov [Tue, 13 Aug 1996 14:55:09 +0000 (14:55 +0000)]
Add collate_range_cmp

28 years agoBack out minor bumping per Peter suggestion
Andrey A. Chernov [Tue, 13 Aug 1996 14:37:53 +0000 (14:37 +0000)]
Back out minor bumping per Peter suggestion

28 years agoUse collate for alpha character ranges
Andrey A. Chernov [Tue, 13 Aug 1996 14:33:05 +0000 (14:33 +0000)]
Use collate for alpha character ranges

28 years agoUse collate for alpha character ranges
Andrey A. Chernov [Tue, 13 Aug 1996 14:21:48 +0000 (14:21 +0000)]
Use collate for alpha character ranges

28 years ago#if !ANSI !POSIX newly added collate_range_cmp function
Andrey A. Chernov [Tue, 13 Aug 1996 14:01:40 +0000 (14:01 +0000)]
#if !ANSI !POSIX newly added collate_range_cmp function

28 years agosimplify/speedup/extend
Andrey A. Chernov [Tue, 13 Aug 1996 13:38:35 +0000 (13:38 +0000)]
simplify/speedup/extend

28 years agoReverse my patch which erroneously removed the library dependencies
Jordan K. Hubbard [Tue, 13 Aug 1996 12:46:10 +0000 (12:46 +0000)]
Reverse my patch which erroneously removed the library dependencies
for a library.  They're needed.

28 years agoNew collating rules, reflect POSIX better now
Andrey A. Chernov [Tue, 13 Aug 1996 12:20:11 +0000 (12:20 +0000)]
New collating rules, reflect POSIX better now

28 years agoBump minor number - new function added
Andrey A. Chernov [Tue, 13 Aug 1996 10:00:35 +0000 (10:00 +0000)]
Bump minor number - new function added

28 years agoFix a few minor type problems that turned up with gcc-2.7.2
Peter Wemm [Tue, 13 Aug 1996 09:21:38 +0000 (09:21 +0000)]
Fix a few minor type problems that turned up with gcc-2.7.2

28 years agoAdd RTF_STATIC to default route's flags in the hope that routed will no
Peter Wemm [Tue, 13 Aug 1996 09:19:45 +0000 (09:19 +0000)]
Add RTF_STATIC to default route's flags in the hope that routed will no
longer remove it while it is running.

28 years agoAdd RTF_STATIC to flags when creating a default route. Hopefully this
Peter Wemm [Tue, 13 Aug 1996 09:16:49 +0000 (09:16 +0000)]
Add RTF_STATIC to flags when creating a default route.  Hopefully this
will stop routed from removing it if it is also running.

28 years agoSame as non-secure telnetd, add support for ``-P altlogin'' to specify
Peter Wemm [Tue, 13 Aug 1996 07:53:54 +0000 (07:53 +0000)]
Same as non-secure telnetd, add support for ``-P altlogin'' to specify
an alternate /usr/bin/login type program to be run.

28 years agoAdd a ``-P altlogin'' option which allows the sysadmin to specify an
Peter Wemm [Tue, 13 Aug 1996 07:51:45 +0000 (07:51 +0000)]
Add a ``-P altlogin'' option which allows the sysadmin to specify an
alternate login(1) type program to run.

28 years agosymlink support in devfs.
Julian Elischer [Tue, 13 Aug 1996 07:21:45 +0000 (07:21 +0000)]
symlink support in devfs.

it only barely works so don't get too carried away..
I noticed that teh symlink is length 0..
I guess I'll fix that tomorrow..
it also sometimes panics with "cleaned vnode isn't" but it's not more
broken than it was before.. I really want to go over it with someone
who understands the lifecycle of a vnode better than I do..

terry?
kirk?
david?
john?

28 years agoAttempt to unlink any stale .o files before relocating code.
Paul Traina [Tue, 13 Aug 1996 00:50:59 +0000 (00:50 +0000)]
Attempt to unlink any stale .o files before relocating code.
Abort if a file is still present, and make output file mode 0600.

Reviewed by: bde

28 years agoCover a potential buffer overrun problem
Paul Traina [Tue, 13 Aug 1996 00:43:01 +0000 (00:43 +0000)]
Cover a potential buffer overrun problem

28 years agoFix tcp/udp port ranges
Paul Traina [Tue, 13 Aug 1996 00:41:05 +0000 (00:41 +0000)]
Fix tcp/udp port ranges

28 years agoChange in man page to document "-" flag as stdin/stdout, add
Chuck Robey [Tue, 13 Aug 1996 00:13:49 +0000 (00:13 +0000)]
Change in man page to document "-" flag as stdin/stdout, add
example showing how to move file hierarchies.
Reviewed by: jkh

28 years agoTake out 0201-0207 range - those characters abused by sh
Andrey A. Chernov [Mon, 12 Aug 1996 22:14:50 +0000 (22:14 +0000)]
Take out 0201-0207 range - those characters abused by sh

28 years agoConvert to newly added collate compare function
Andrey A. Chernov [Mon, 12 Aug 1996 21:32:15 +0000 (21:32 +0000)]
Convert to newly added collate compare function

28 years agoFix two minor oddities introduced by my yesterday's patches:
Joerg Wunsch [Mon, 12 Aug 1996 21:31:07 +0000 (21:31 +0000)]
Fix two minor oddities introduced by my yesterday's patches:

. preserve a multi-char sequence in a small static buffer inside
  pccngetc(), so it won't be clobbered later (used to happen when
  breaking into DDB user Ctrl-Alt-ESC), and

. simplify the ``keystroke is present'' determination in sgetc(), thus
  making pccncheck() actually working without waiting for a keystroke.

28 years agoBack out mistaken local change that sneaked in on the last commit.
Garrett Wollman [Mon, 12 Aug 1996 20:03:16 +0000 (20:03 +0000)]
Back out mistaken local change that sneaked in on the last commit.

28 years agoDon't declare the user_ldt functions unless USER_LDT is defined.
Garrett Wollman [Mon, 12 Aug 1996 19:57:10 +0000 (19:57 +0000)]
Don't declare the user_ldt functions unless USER_LDT is defined.
Eliminates an obnoxious warning.

28 years agoConvert to newly added collate compare function
Andrey A. Chernov [Mon, 12 Aug 1996 19:31:11 +0000 (19:31 +0000)]
Convert to newly added collate compare function

28 years agoRemove old version hooks
Andrey A. Chernov [Mon, 12 Aug 1996 19:18:47 +0000 (19:18 +0000)]
Remove old version hooks

28 years agoConvert to newly aded collate compare function
Andrey A. Chernov [Mon, 12 Aug 1996 19:12:40 +0000 (19:12 +0000)]
Convert to newly aded collate compare function

28 years agoConvert to newly aded collate compare function
Andrey A. Chernov [Mon, 12 Aug 1996 19:04:24 +0000 (19:04 +0000)]
Convert to newly aded collate compare function

28 years agoConvert to newly aded collate compare function
Andrey A. Chernov [Mon, 12 Aug 1996 18:56:38 +0000 (18:56 +0000)]
Convert to newly aded collate compare function

28 years agoConvert to newly aded collate compare function
Andrey A. Chernov [Mon, 12 Aug 1996 18:49:54 +0000 (18:49 +0000)]
Convert to newly aded collate compare function

28 years agoThere is so many places where range comparation (using collate)
Andrey A. Chernov [Mon, 12 Aug 1996 18:38:49 +0000 (18:38 +0000)]
There is so many places where range comparation (using collate)
needed (much more than I think initially), so I forced to add
new user-visible non-standard function to libc.

28 years agoThere is so many places where range comparation (using collate)
Andrey A. Chernov [Mon, 12 Aug 1996 18:30:43 +0000 (18:30 +0000)]
There is so many places where range comparation (using collate)
needed (much more than I think initially), so I forced to add
new user-visible non-standard function to libc.

28 years agoUse collate for alpha character ranges
Andrey A. Chernov [Mon, 12 Aug 1996 18:03:54 +0000 (18:03 +0000)]
Use collate for alpha character ranges

28 years agoPick collate info too
Andrey A. Chernov [Mon, 12 Aug 1996 17:55:41 +0000 (17:55 +0000)]
Pick collate info too

28 years agoExtend the poll code so that it can periodically scan the host cards
Peter Wemm [Mon, 12 Aug 1996 17:12:07 +0000 (17:12 +0000)]
Extend the poll code so that it can periodically scan the host cards
for work regardless of whether there was an interrupt.  This needs more
work, it should be able to run better when there are more than 3 host
cards present, ie: all cards in polling-only mode with no IRQ.  (The
host cards have a choice of 3 irq's, 11, 12, or 15, or just polling)

28 years agoAdd a simple -v (verbose) option that allows you to see when -C actually
Peter Wemm [Mon, 12 Aug 1996 17:03:30 +0000 (17:03 +0000)]
Add a simple -v (verbose) option that allows you to see when -C actually
installs something.  This is not 100% right, since it has a false hit
when install -C snaps hard links.

Also, run strip(1) from the $PATH, otherwise you need a special version
of install to install (say) elf binaries which have a different strip.
With JDP's elfkit, the layout of the path determines which binary format
you are generating.

28 years ago&ero; -> &amp;
John Fieber [Mon, 12 Aug 1996 16:07:50 +0000 (16:07 +0000)]
&ero; -> &amp;

28 years agoAdd new option to chpass: -e "expire" ; change the account expire time
Peter Wemm [Mon, 12 Aug 1996 14:45:26 +0000 (14:45 +0000)]
Add new option to chpass:  -e "expire" ; change the account expire time
from a script as if it was done in the interactive editor.

When reassembling the gecos string, trim any excess trailing commas, they
look ugly in the passwd file. :-)

Have a simple Makefile tweak to prevent mortal users from changing their
fullname.  As ISP's we have seem some real bizzare stuff here..

When decoding the change/expire string, allow the month number as a
synonym for the name of the month.. (ie: 1 as well as Jan or January)
Note that using numbers means there's a chance that you can get bitten
if you're not used to the American DD-MM-YY order.

28 years agoclear sockaddr_in's on stack before use
Peter Wemm [Mon, 12 Aug 1996 14:14:09 +0000 (14:14 +0000)]
clear sockaddr_in's on stack before use
set sin_len
close one ftp port bounce attack
have rresvport() use bindresvport() rather than duplicate the code,
  rresvport() is a superset of bindresvport().

Obtained from: OpenBSD / Jason Downs / Theo de Raadt, minor tweaks by me.

28 years agoUse the more robust and more efficient reserved port allocation mechanism
Peter Wemm [Mon, 12 Aug 1996 14:09:46 +0000 (14:09 +0000)]
Use the more robust and more efficient reserved port allocation mechanism
now built into bind(2).

Obtained from: OpenBSD / Jason Downs / Theo de Raadt

28 years agoAdd two more portrange sysctls, which control the area of the below
Peter Wemm [Mon, 12 Aug 1996 14:05:54 +0000 (14:05 +0000)]
Add two more portrange sysctls, which control the area of the below
IPPORT_RESERVED that is used for selection when bind() is told to allocate
a reserved port.

Also, implement simple sanity checking for all the addresses set, to make
it a little harder for a user/sysadmin to shoot themselves in the feet.

28 years agoclear various struct sockaddr_in's on stack, set sin_len.
Peter Wemm [Mon, 12 Aug 1996 14:00:26 +0000 (14:00 +0000)]
clear various struct sockaddr_in's on stack, set sin_len.

(Noticed when comparing to OpenBSD source)

28 years agoFix broken modtime preservation code. *Now* it preserves the modtime
Jordan K. Hubbard [Mon, 12 Aug 1996 12:55:26 +0000 (12:55 +0000)]
Fix broken modtime preservation code. *Now* it preserves the modtime
correctly!
Noticed-By: knarf@camelot.de (Frank Bartels)
28 years agoSimplify expression
Andrey A. Chernov [Mon, 12 Aug 1996 12:31:28 +0000 (12:31 +0000)]
Simplify expression

28 years agoPick collate info too
Andrey A. Chernov [Mon, 12 Aug 1996 12:24:20 +0000 (12:24 +0000)]
Pick collate info too

28 years agoUse collate info for alpha character ranges
Andrey A. Chernov [Mon, 12 Aug 1996 12:13:16 +0000 (12:13 +0000)]
Use collate info for alpha character ranges
8bit cleanup

28 years agoRemove the quotes from some of the kernel options that dont need it.
Peter Wemm [Mon, 12 Aug 1996 11:48:49 +0000 (11:48 +0000)]
Remove the quotes from some of the kernel options that dont need it.
eg:  options "SCSI_DELAY=15" should be options SCSI_DELAY=15, as config
knows about the "=" and splits it correctly into key=value for the #defines.
The only options that need quotes are those that have numbers as part of
the actual name, eg: "TUNE_1542" and "COMPAT_IBCS2".

28 years agoLocalize it
Andrey A. Chernov [Mon, 12 Aug 1996 11:39:24 +0000 (11:39 +0000)]
Localize it

28 years agoUse collate for alpha character ranges
Andrey A. Chernov [Mon, 12 Aug 1996 04:03:50 +0000 (04:03 +0000)]
Use collate for alpha character ranges

28 years agoRemove static collcmp, use new internal function now
Andrey A. Chernov [Mon, 12 Aug 1996 03:51:16 +0000 (03:51 +0000)]
Remove static collcmp, use new internal function now

28 years agoRemove static collcmp, ise new internal function now
Andrey A. Chernov [Mon, 12 Aug 1996 03:45:53 +0000 (03:45 +0000)]
Remove static collcmp, ise new internal function now

28 years agoAdd internal function __collcmp once instead of adding it statically
Andrey A. Chernov [Mon, 12 Aug 1996 03:40:37 +0000 (03:40 +0000)]
Add internal function __collcmp once instead of adding it statically
to many places in the libc

28 years agoUse collate for alpha character ranges
Andrey A. Chernov [Mon, 12 Aug 1996 02:08:43 +0000 (02:08 +0000)]
Use collate for alpha character ranges

28 years agoUse collate for alpha character ranges
Andrey A. Chernov [Mon, 12 Aug 1996 02:00:56 +0000 (02:00 +0000)]
Use collate for alpha character ranges

28 years agoApply my small patch to make detection of ATAPI CD-ROMs happen a
Bill Paul [Mon, 12 Aug 1996 00:53:02 +0000 (00:53 +0000)]
Apply my small patch to make detection of ATAPI CD-ROMs happen a
little more reliably. So far I've received a couple of positive
responses and no objections to these changes.

There are two one-line changes:

- In wdprobe(), when testing the error status of drives, don't
  unconditionally decide that there is no controller present if we
  read back a value of 0x81 (drive 0 okay, drive 1 failed) twice
  in a row. This may be caused by having an ATAPI CD-ROM jumpered
  as a master on the controller with no slave.

- In wdgetctlr(), when checking for a status of WDCS_READY, check the
  value twice. The first time may be bogus. This stops a phantom wd2
  device from being detected when an ATAPI CD-ROM is attached to the
  secondary controller alone as a slave. (This can cause installation to
  fail when sysinstall attempts to open the phantom device and wedges the
  system as a result. This has bitten me a couple of times on some
  Gateway 2000 machines.)

28 years agoFix unsetenv of locale variable
Andrey A. Chernov [Sun, 11 Aug 1996 23:10:38 +0000 (23:10 +0000)]
Fix unsetenv of locale variable

28 years agoLocalize it
Andrey A. Chernov [Sun, 11 Aug 1996 22:51:00 +0000 (22:51 +0000)]
Localize it

28 years ago8bit cleaness (ctype) fixes
Andrey A. Chernov [Sun, 11 Aug 1996 19:20:30 +0000 (19:20 +0000)]
8bit cleaness (ctype) fixes

28 years agoMake it at least semi-worked
Andrey A. Chernov [Sun, 11 Aug 1996 18:08:53 +0000 (18:08 +0000)]
Make it at least semi-worked

28 years agoLocalize it
Andrey A. Chernov [Sun, 11 Aug 1996 17:46:35 +0000 (17:46 +0000)]
Localize it
8bit cleanup

28 years agoAdd support for i686 machine check trap.
David Greenman [Sun, 11 Aug 1996 17:41:25 +0000 (17:41 +0000)]
Add support for i686 machine check trap.

28 years agoDefined T_MCHK exception for i686; renumbered T_RESERVED to 29.
David Greenman [Sun, 11 Aug 1996 17:29:39 +0000 (17:29 +0000)]
Defined T_MCHK exception for i686; renumbered T_RESERVED to 29.

28 years agoPreviously, if the dial script had any problems, pppd would simply
Paul Traina [Sun, 11 Aug 1996 17:29:37 +0000 (17:29 +0000)]
Previously, if the dial script had any problems, pppd would simply
bomb out.  Unfortunately, FreeBSD's sio driver and certain internal
modems don't get along very well, which can cause the serial port to
wedge until it is closed and reopened.

Add new variable, connect-max-attempts, default = 1 (to mimic previous
behavior).  If > 1, will try up to "n" times to dial remote site before
aborting.

28 years agoThrow some unnecessary dreck out of this Makefile.
Jordan K. Hubbard [Sun, 11 Aug 1996 17:21:20 +0000 (17:21 +0000)]
Throw some unnecessary dreck out of this Makefile.

28 years agoPick collate info for RE character ranges
Andrey A. Chernov [Sun, 11 Aug 1996 16:59:27 +0000 (16:59 +0000)]
Pick collate info for RE character ranges

28 years agoLocalize it
Andrey A. Chernov [Sun, 11 Aug 1996 16:48:11 +0000 (16:48 +0000)]
Localize it
8bit cleanup

28 years agoPick collate info for RE character ranges
Andrey A. Chernov [Sun, 11 Aug 1996 16:22:47 +0000 (16:22 +0000)]
Pick collate info for RE character ranges

28 years agoUse collate data for national alpha character ranges like [a-z]
Andrey A. Chernov [Sun, 11 Aug 1996 16:08:17 +0000 (16:08 +0000)]
Use collate data for national alpha character ranges like [a-z]

28 years agoDescribe collation order rules (from POSIX WG)
Andrey A. Chernov [Sun, 11 Aug 1996 14:55:14 +0000 (14:55 +0000)]
Describe collation order rules (from POSIX WG)

28 years agodelete rule 3 (advertising) from copyright
Wolfram Schneider [Sun, 11 Aug 1996 13:03:25 +0000 (13:03 +0000)]
delete rule 3 (advertising) from copyright

resolve symlinks before removing user's home directory
with /bin/rm -rf <home dir>

Submitted by: Guy Helmer <ghelmer@alpha.dsu.edu>

28 years agoAdd a hook ``MANFILTER''. This optionally specifies a command to
Peter Wemm [Sun, 11 Aug 1996 12:31:57 +0000 (12:31 +0000)]
Add a hook ``MANFILTER''.  This optionally specifies a command to
pipe the man page source through before compressing or installing.
This can be used to do do (eg) sed substitution on man pages from
3rd party packages (in particular, ncurses and bind-4.9.4)

This should not affect anything already in the source tree.

28 years agoReplace some leaky ``cpp | as'' pipelines with ``cc -x <lang>'' commands
Peter Wemm [Sun, 11 Aug 1996 12:24:44 +0000 (12:24 +0000)]
Replace some leaky ``cpp | as'' pipelines with ``cc -x <lang>'' commands
to do the preprocessing and assembling.

(I've been running this for months, and had forgotten about it)

28 years agoShort value is better for hash due to easy overflow in 8bit characters
Andrey A. Chernov [Sun, 11 Aug 1996 11:49:23 +0000 (11:49 +0000)]
Short value is better for hash due to easy overflow in 8bit characters

28 years agoUse locale for character classes instead of hardcoded values
Andrey A. Chernov [Sun, 11 Aug 1996 11:42:03 +0000 (11:42 +0000)]
Use locale for character classes instead of hardcoded values
Misc 8bit cleanup

28 years agoAdd missing netatalk, netipx and netkey directories.
Peter Wemm [Sun, 11 Aug 1996 04:32:14 +0000 (04:32 +0000)]
Add missing netatalk, netipx and netkey directories.

28 years agoFix some improperly wrapped lines in the code.
Alexander Langer [Sun, 11 Aug 1996 02:20:05 +0000 (02:20 +0000)]
Fix some improperly wrapped lines in the code.

28 years agoFix many long-standing bugs and problems with pcvt, namely:
Joerg Wunsch [Sat, 10 Aug 1996 22:14:36 +0000 (22:14 +0000)]
Fix many long-standing bugs and problems with pcvt, namely:

. make pccncheck() work even when interrupts are disabled, so the
  ``Press a key on the console...'' procedure will work,
. make kernel colors #ifndef, so they can be overridden from the
  config file,
. use shutdown_nice() instead of cpu_reset() if Ctrl-Alt-Del is
  enabled,
. allow pccngetc() to return more than a single character, so the
  arrow keys will work (and thus visual UserConfig!),
. fix a warning.

This closes all know PRs related to pcvt, in particular #845, #1236,
and #1265.  PR #991 is a duplicate for 845, and PR #1283 has already
been fixed earlier in rev 1.11 of pcvt_conf.h.

Submitted by: Ulf Kieber (kieber@sax.de), for the kernel color fix

28 years agoTeach UserConfig about ANSI (DEC?) ``application mode'' arrow key
Joerg Wunsch [Sat, 10 Aug 1996 22:06:09 +0000 (22:06 +0000)]
Teach UserConfig about ANSI (DEC?) ``application mode'' arrow key
sequences (ESC O A, as opposed to ESC [ A).

28 years agoTypo corrections. Closes PR 1477.
Alexander Langer [Sat, 10 Aug 1996 17:51:15 +0000 (17:51 +0000)]
Typo corrections.  Closes PR 1477.

Submitted by: Masafumi Nakane <max@sfc.wide.ad.jp>

28 years agoChange syslog examples from /386bsd to /kernel. Closes PR 1475.
Alexander Langer [Sat, 10 Aug 1996 17:38:37 +0000 (17:38 +0000)]
Change syslog examples from /386bsd to /kernel.  Closes PR 1475.

28 years agoThis commit was generated by cvs2svn to compensate for changes in r17497,
Mark Murray [Sat, 10 Aug 1996 17:19:16 +0000 (17:19 +0000)]
This commit was generated by cvs2svn to compensate for changes in r17497,
which included commits to RCS files with non-trunk default branches.

28 years agoNext version from the author - from SSLeay.0.6.3
Mark Murray [Sat, 10 Aug 1996 17:19:16 +0000 (17:19 +0000)]
Next version from the author - from SSLeay.0.6.3

28 years agochmod(2) directories once only (was twice)
Adam David [Sat, 10 Aug 1996 15:05:26 +0000 (15:05 +0000)]
chmod(2) directories once only (was twice)

28 years agoFinally implement a simple commandline history in DDB.
Joerg Wunsch [Sat, 10 Aug 1996 13:38:44 +0000 (13:38 +0000)]
Finally implement a simple commandline history in DDB.

Emacs-style line editing has already been there (did anybody ever
notice this? :), so i `only' had to add ^P and ^N.  The approach is
fairly minimalistic, with the advantage of keeping the bloat as small
as 864 bytes of .text and 16 bytes of .bss, plus 10*120 bytes
malloc'ed history buffer at the first use.

28 years agoYeesh! I shouldn't have looked. Fix a whole bunch more. Pray
Jordan K. Hubbard [Sat, 10 Aug 1996 13:37:02 +0000 (13:37 +0000)]
Yeesh!  I shouldn't have looked.  Fix a whole bunch more.  Pray
for ncurses to replace this soon.

28 years agoFix an exceedingly confusing typo.
Jordan K. Hubbard [Sat, 10 Aug 1996 13:30:11 +0000 (13:30 +0000)]
Fix an exceedingly confusing typo.

28 years agos/trace -C/ktrace -C/
Peter Wemm [Sat, 10 Aug 1996 09:05:17 +0000 (09:05 +0000)]
s/trace -C/ktrace -C/

Pointed out by: zgabor@code.hu (Zahemszky Gabor)  PR#1486

28 years agoAdded A JOSEPH KOSHY <koshy@india.hp.com> for the AMD cpu id code, and
Peter Wemm [Sat, 10 Aug 1996 08:11:25 +0000 (08:11 +0000)]
Added A JOSEPH KOSHY <koshy@india.hp.com> for the AMD cpu id code, and
andy@sarc.city.ac.uk (Andy Whitcroft) for the rdist fix.

28 years agoAdd recognition for the AMD 5x86 CPU models.
Peter Wemm [Sat, 10 Aug 1996 08:04:24 +0000 (08:04 +0000)]
Add recognition for the AMD 5x86 CPU models.

Submitted by: A JOSEPH KOSHY <koshy@india.hp.com>

28 years agoRemove the need for rdist(1) to run setuid, thus completely closing any
Peter Wemm [Sat, 10 Aug 1996 07:54:17 +0000 (07:54 +0000)]
Remove the need for rdist(1) to run setuid, thus completely closing any
possibility of a security hole.  It now does what rdist-6 does, and calls
/usr/bin/rsh if not running as root.  There are NO protocol changes, this
is 100% compatable with the old rdist, except that it does not need setuid
root privs.

However, there are some minor differences to the base rdist-6 code in that
if it is being run by root, it will call rcmd(3) directly rather than
piping everything through rsh(1).  This is a little more efficient as it
doesn't involve context switching on pipe reads/writes.

Also, the -P option was added from rdist-6.1.2, which allows an alternative
rsh program to be specified, such as ssh.  Note that it requires the fixes
to the ssh port to disable the unconditional USE_PIPES option that was
recently added.  The rcmd(3) optimisation is disabled if a non-rsh program
is speficied.

28 years agoTrivial cosmetic tweak to make the i[56]86 CPU MHz reprting round to the
Peter Wemm [Sat, 10 Aug 1996 06:35:35 +0000 (06:35 +0000)]
Trivial cosmetic tweak to make the i[56]86 CPU MHz reprting round to the
nearest .01 Mhz rather than simply truncating it downwards.

This hack makes this 89.999928 Mhz clock correctly round to the closer
90.00-MHz rather than 89.99-MHz:
  > i586 clock: 89999928 Hz, i8254 clock: 1193152 Hz
  > CPU: Pentium (90.00-MHz 586-class CPU)

28 years agoSubmitted by: archie@whistle.com
Julian Elischer [Fri, 9 Aug 1996 22:57:06 +0000 (22:57 +0000)]
Submitted by: archie@whistle.com
allow a tunnel interface to be openned even if it has no remote address yet.
this may be needed if you have used
route add default -interface tun0
where the remote end might not even HAVE a number (e.g. netcom links)