Commit Graph

107734 Commits

Author SHA1 Message Date
mhitch
0dec3c2159 Lance chip needs to be accessed in sparse address space for alpha. Fixes
Turbochannel Ethernet card on Alpha 3000 systems.
2003-01-22 08:06:21 +00:00
jhawk
8eaf521be2 progress(1) and sysinst uses it. 2003-01-22 06:04:30 +00:00
jhawk
5541e55b38 Allow the user to select a progress bar for file extraction, rather
than simply silence or maximum verbosity. Leverage progress(1).
2003-01-22 05:59:07 +00:00
jhawk
d8390bf622 install /usr/bin/progress along with sysinst on all installation media
of all architectures that use sysinst.
2003-01-22 05:57:37 +00:00
lukem
1075c8325b Apply DoS fix as described by Crist J. Clark <crist.clark@attbi.com>
on <security@freebsd.org>, and subsequently in FreeBSD's cvs repository
as libexec/ftpd/ftpd.c rev 1.133:

	The FTP daemon was vulnerable to a DoS where an attacker could bind()
	up port 20 for an extended period of time and thus lock out all other
	users from establishing PORT data connections. Don't hold on to the
	bind() while we loop around waiting to see if we can make our
	connection.

Bump version to 20030122.
2003-01-22 04:46:08 +00:00
lukem
6d15ebd30b Fixes from Dmitry Sivachenko <demon@freebsd.org>:
- always set "curname" to something appropriate (even when logging is
  not in effect).
- fix usage for "PORT" command
2003-01-22 04:33:35 +00:00
rafal
c406903ac2 LWP'ify the svr4_mcontext stuff. 2003-01-22 04:32:17 +00:00
jhawk
252f8847d5 Drop gratuitous warning for failure to get terminal width; it makes piping
progress' output ugly.
2003-01-22 04:11:34 +00:00
enami
cb5a2282ea Remove second item in BUGS section; it is fixed in progress.c rev. 1.2. 2003-01-22 03:40:33 +00:00
christos
18350cdfbe not all windows have 80 columns. 2003-01-22 03:24:21 +00:00
enami
23066b7faf Advance a pointer correctly. 2003-01-22 03:13:32 +00:00
lukem
8d469d6c4b use ftp(1) instead of lukemftp 2003-01-22 02:58:16 +00:00
lukem
b489ebc3bf need bsd.own.mk for NETBSDSRCDIR 2003-01-22 02:56:30 +00:00
grant
1ba646ba74 add usr/bin/progress and man pages (hi, jhawk!). 2003-01-22 00:29:42 +00:00
jhawk
39ffd8d76c make progress(1) 2003-01-22 00:16:39 +00:00
jhawk
98f6cccbef progress(1) is a standalone version of lukemftp's progress bar
(pulled in via reachover makefile) suitable for measuring the
input to arbitrary pipes.
This is intended for use by sysinst.
2003-01-22 00:14:12 +00:00
keihan
d7a3ec11fd TYPO:
bounary => boundary

Reviewed by Luke Mewburn.
2003-01-21 23:50:05 +00:00
nathanw
dc651e62df Don't bother acquiring the tsd_lock and reading the destructor function
if the corresponding TSD entry is empty.

Cuts down lock/unlock pairs for this operation from 256 to the number
of active TSD entries; sicne this is done when every thread exits, it saves
many total lock/unlock pairs.
2003-01-21 23:29:22 +00:00
nathanw
6003a24dd4 Use recursive mutexes from libpthread rather than implementing
our own with normal mutexes and condition variables.
2003-01-21 23:26:02 +00:00
wiz
831ba492c3 Replace -1 with \-1 for PostScript output; drop a trailing space and fix two typos. 2003-01-21 23:00:56 +00:00
is
cc76c3867a Use a neutral error message - the details have been printed already, and
the older message is plain wrong under some circumstances. See PR 5398,
which is fixed.
2003-01-21 22:47:20 +00:00
jdolecek
fe21ba6c7f comment out static prototype for pci_intr_fixup_ibm_6040() for now,
it's not implemented here (nor used)
2003-01-21 22:01:57 +00:00
jdolecek
225c76a84a add prototype for switch_lwp_exit() 2003-01-21 21:59:49 +00:00
kleink
8b314175ec Add ns32k ucontext userland portions. Untested, but compiled in the
recent past and presumed working.
2003-01-21 21:03:25 +00:00
augustss
0dd40ac3d5 Fix typo in last commit. 2003-01-21 21:00:56 +00:00
augustss
98a0fdb690 Make sure to set xs->datalen when we force a short inquiry. From kern/19971,
Shingo WATANABE.
2003-01-21 20:56:57 +00:00
augustss
fa5b0c9ca0 Add quirk for Melco adapter. From kern/19971, Shingo WATANABE. 2003-01-21 20:56:13 +00:00
augustss
9c6ee93f4b Regen. 2003-01-21 20:53:51 +00:00
augustss
234e556fd2 Add Melco USB-IDE adapter. 2003-01-21 20:53:29 +00:00
kleink
d6d8fabf91 Add <pc532/mcontext.h>. 2003-01-21 20:52:58 +00:00
kleink
2726c9bbeb Add ns32k ucontext kernel portions. Not entirely updated for the LWP
universe (like the rest of the port), but presumed working.
2003-01-21 20:50:43 +00:00
martin
fbc8c025c2 Rename the DIV0 traps to avoid confusion with the usage on the sparc
port: T_IDIV0 is the hardware trap generated on integer division by
zero, T_DIV0 is the software trap used to signal the same event.

This makes 32 bit kernels able to run sparc code with the v7 multiply/
divide library, as well as with the v8 one.
2003-01-21 20:42:02 +00:00
bouyer
099e41a34e Pass proper len to word_zero().
Bump totlen in the last wantsbyte case, so that it's always even.
Both pointed out by Gunther Nikl.
2003-01-21 20:39:29 +00:00
kleink
7a9f64971b Add swapcontext() lint stub. 2003-01-21 20:26:10 +00:00
kleink
cd9f53e12c Add swapcontext() lint stub. 2003-01-21 20:14:07 +00:00
martin
8772c68807 Rename the DIV0 traps to avoid confusion with the usage on the sparc
port: T_IDIV0 is the hardware trap generated on integer division by
zero, T_DIV0 is the software trap used to signal the same event.

This makes 32 bit kernels able to run sparc code with the v7 multiply/
divide library.

Spotted by Valeriy E. Ushakov.
2003-01-21 19:46:49 +00:00
kleink
a26c2fe5e2 A function wrapper cannot be used for getcontext(), so error out
if neither weak aliases nor indirect references are available.
2003-01-21 19:15:05 +00:00
erh
f3281c94bd Return the correct exit status in the trap handler so errors get caught.
Also make sure the status is less than 256.
2003-01-21 19:07:05 +00:00
christos
f24857bf36 Add a uniquefier for the history function. 2003-01-21 18:40:23 +00:00
martin
46ca961c02 Let v9 machines (ultras running sparc64 32bit kernels) use the v8
library too.
2003-01-21 18:15:54 +00:00
kleink
fb7df61857 Sprinkle some restrict. 2003-01-21 17:45:04 +00:00
christos
98e93eb66e fix directory descriptor leak [from michael at moria dot de] 2003-01-21 17:41:38 +00:00
jhawk
401927b1d5 Abstract out progress bar support into progressbar.[ch], for inclusion
in external programs (conditionalized on -DSTANDALONE_PROGRESS).

The following moved from util.c to progressbar.c:
  alarmtimer(), progressmeter(), psummary(), ptransfer(),
  xsignal(), xsignal_restart()

The following moved from extern.h and ftp_var.h to progressbar.h:
  STALLTIME, verbose, fromatty, progress, quit_time, ttywidth
2003-01-21 16:08:06 +00:00
kent
19056063ce Add DIAGNOSTIC code provided in PR kern/19919 by DHOYASHIKI Shinichi. 2003-01-21 16:05:21 +00:00
wiz
c7aab7fab8 Warn if Rv has no function name argument. 2003-01-21 15:40:02 +00:00
kleink
6279465ec2 Add <machine/mcontext.h> wrapper. 2003-01-21 14:39:35 +00:00
abs
cb588f7bde Among the many things postinstall should check are up to date is... postinstall 2003-01-21 14:28:55 +00:00
wiz
0c18ab1d39 sigaltstack(2), not (3), and same for sigprocmask. From kleink. 2003-01-21 14:21:47 +00:00
christos
aa30f99ab5 - add $NetBSD$
- include <sys/cdefs.h>
- remove variable names from args
2003-01-21 14:11:31 +00:00
wiz
f3095c7e49 New dhcp versions out: 3.0pl2 and 3.0.1rc11. 2003-01-21 13:57:14 +00:00