cracauer [Wed, 16 Aug 2000 10:39:43 +0000 (10:39 +0000)]
From submitter:
growstackblock() sometimes relocates a stack_block considered empty
without properly relocating stack marks referencing that block.
The first call to popstackmark() with the unrelocated stack mark
as argument then causes sh to abort.
Relocating the relevant stack marks seems to solve this problem.
The patch changes the semantics of popstackmark() somewhat. It can
only be called once after a call to setstackmark(), thus cmdloop() in
main.c needs an extra call to setstackmark().
grog [Wed, 16 Aug 2000 04:31:37 +0000 (04:31 +0000)]
open_drive:
Add support for AMD RAID controllers as "disks".
Requested-by: Marius Bendiksen <mbendiks@eunet.no>
Remove potential panic when attempting to open non-existent drivers.
init_drive: Return error codes correctly. Previously it would
occasionally return 0. The error was redetected
elsewhere, but this was causing a number of confusing
error messages.
rnordier [Tue, 15 Aug 2000 17:42:24 +0000 (17:42 +0000)]
Partially revert r1.12, in which a warnx() if the device is not a
character device is changed to an errx(). This unnecessarily
compromises device independence.
sheldonh [Tue, 15 Aug 2000 15:09:34 +0000 (15:09 +0000)]
Add a sample ifconfig entry for an IPX address family address, to give
IPX folks a fighting chance of figuring this out themselves. I can't
work out how to document this carefully in rc.conf(5), but this ought
to close the PR.
PR: 17904
Reported by: John Gelnaw <jeg@hawk.circa.ufl.edu>
sheldonh [Tue, 15 Aug 2000 14:42:50 +0000 (14:42 +0000)]
Describe the process used for the gawk-3.0.6 update in
FREEBSD-upgrade and remove the config.h which should never
have existed in the contrib area. That file has been moved
into gnu/usr.bin/awk where it belongs.
brian [Tue, 15 Aug 2000 10:25:42 +0000 (10:25 +0000)]
Maintain input and output throughput averages and choose the highest
of the two when calculating the MP throughput average for the ``set
autoload'' implementation.
This makes more sense as all links I know of are full-duplex. This
also means that people may need to adjust their autoload settings
as 100% bandwidth is now the theoretical maximum rather than 200%
(but of course, halfing the current settings is probably not the
correct answer either!).
This involves a ppp version bump as we need to pass an extra
throughput array through the MP local domain socket.
sobomax [Tue, 15 Aug 2000 05:42:39 +0000 (05:42 +0000)]
Several cleanups:
- use getopt(3) to parse command line arguments instead of home-made incomplete
parser;
- be more verbose when error in command line encountered (i.e. incorrect
playing/recording device, incorrect recsrc syntax).
archie [Tue, 15 Aug 2000 01:05:50 +0000 (01:05 +0000)]
Add three more control messages to complement their opposites:
NGM_ETHER_SET_ENADDR, NGM_ETHER_GET_PROMISC, and NGM_ETHER_GET_AUTOSRC.
Alter parsing algorithm so the EN address really looks like one.
brian [Tue, 15 Aug 2000 00:59:21 +0000 (00:59 +0000)]
Calculate the average link throughput using a counter based on the
cumulative total of all active links rather than basing it on the
total of PROTO_MP traffic.
This fixes a problem whereby Cisco routers send PROTO_IP packets only
when there's only one link (hmm, what a good idea!).
onoe [Mon, 14 Aug 2000 13:45:42 +0000 (13:45 +0000)]
add dev/awi/awi_wicfg.c to support wi(4) compatible configuration interface.
add dev/awi/awi_wep.c to support WEP for awi.
add dependency for awi to crypto/rc4/rc4.c
onoe [Mon, 14 Aug 2000 13:42:38 +0000 (13:42 +0000)]
Add support for WEP functionality.
Add support for wi(4) compatible configuration interface. It enables
wicontrol(8) to configure some 802.11 specific parameters.
Some minor fixes from NetBSD.
Obtained from: NetBSD current
onoe [Mon, 14 Aug 2000 13:29:49 +0000 (13:29 +0000)]
Change the argument for SIOCG80211NWID/SIOCS80211NWID to include the
length of NWID. This breaks binary compatibility but only the awi driver
refers this ioctl; no userland tools refers it.
Add WEP stuff.
Obtained from: NetBSD current
sheldonh [Mon, 14 Aug 2000 08:48:55 +0000 (08:48 +0000)]
Add the -i option, as found in rm(1), which provides an interactive
mode in which the user is prompted for confirmation before an
existing file is replaced.
gshapiro [Mon, 14 Aug 2000 02:49:39 +0000 (02:49 +0000)]
Upon installation, create a symbolic link for /etc/aliases pointing to
/etc/mail/aliases. This should both help users as well as other MTAs which
still use a default aliases path of /etc/aliases.
markm [Sun, 13 Aug 2000 20:05:58 +0000 (20:05 +0000)]
Suidperl fixes.
1) Official patch - remove the whole effort to fork off a process
to run /bin/mail; we don't have a /bin/mail, but this brings our
code in line with mainstream Perl recommendation.
2) Make the "Can't do setuid" message a bit clearer; when our userbase
bumps into our suidperl-with-no-commit-bit, give them a good clue as
to what is going on.
nsayer [Sun, 13 Aug 2000 19:20:02 +0000 (19:20 +0000)]
This patch appears to solve the problems with recording resulting
in bogus hwptr warnings. Further comments sought on -hackers
were not forthcoming. I can only hope that calling DELAY() like
this doesn't cause any heartburn.
gshapiro [Sun, 13 Aug 2000 18:53:58 +0000 (18:53 +0000)]
Do not require a local-host-names file as this configuration file is the
default /etc/mail/sendmail.cf installed on a fresh install.
Problem noted by: Hajimu UMEMOTO <ume@mahoroba.org>
n_hibma [Sun, 13 Aug 2000 18:39:24 +0000 (18:39 +0000)]
From NetBSD:
Make it possible to move a device to its unconfigured state by
using config #0.
Add some comments.
Change error reporting in port reset function.
usbd_devinfo_vp(): search the know devs array also if the device doesn't
return product description (e.g. Kye's Genius NetScroll mouse returns
vendor, but not product); the strings returned by device are still
preferred to those in the array, though
gshapiro [Sun, 13 Aug 2000 18:38:58 +0000 (18:38 +0000)]
Complete migration of aliases file to /etc/mail/aliases.
The maintainers of share/examples/diskless/README.TEMPLATING and mergemaster
have been contacted so those may be updated as well.
joe [Sun, 13 Aug 2000 12:36:40 +0000 (12:36 +0000)]
Define SUPHOST. If this is set a '-h ${SUPHOST}' is added to the
SUPFLAGS when a 'make update' is run. This means that the supfile
doesn't need to be edited because the -h will override the
CHANGE_THIS.FreeBSD.org host.
joe [Sun, 13 Aug 2000 12:17:03 +0000 (12:17 +0000)]
Un-deprecate the -G flag at obrien's request. Colour sequences are still
dependent upon the output being directed to a terminal however.
(Use the CLICOLOR_FORCE variable to force output).
gshapiro [Sun, 13 Aug 2000 09:01:12 +0000 (09:01 +0000)]
Add alaises as another file to install into /etc/mail/.
Rename the variable from NOSPAM to ETCMAIL as the list of files actually
only contains one antispam related file.
imp [Sun, 13 Aug 2000 01:40:06 +0000 (01:40 +0000)]
Always build and install suidperl. Only install suidperl setuid when
ENABLE_SUIDPERL is set to true. When perl is updated to remove the
fork mail code, additional warnings will enable the users to know what
is gonig on and how to correct it. Markm will make those commits as
part of his perl patch integration. suidperl is installed with
execute permissions so that markm's added error messages wil be seen
by the user.
joe [Sat, 12 Aug 2000 22:40:14 +0000 (22:40 +0000)]
A change to the way that colours are switched on in ls. The -G
flag has been depricated, although it still works with a warning
message, and replaced with an environment variable CLICOLOR (command
line interface colour). This could be used by other tools that
want to be able to control colour output.
In addition if the environment variable CLICOLOR_FORCE is defined
colour sequences are output irrespective of whether the output is
directed to a terminal (as long as TERM references a colour capable
terminal of course ;)