Commit Graph

64703 Commits

Author SHA1 Message Date
John Baldwin
04b5a9bbd6 - Axe holding_giant as it is not used now anyways and was ok'd by
dillon in an earlier e-mail.
- We don't need to test the console right before we vfprintf() the panicstr
  message.  The printing of the panic message is a fine console test by
  itself and doesn't make useful messages scroll off the screen or tick
  developers off in quite the same.

Requested by:	jlemon, imp, bmilekic, chris, gsutter, jake (2)
2001-09-10 21:04:49 +00:00
Bruce A. Mah
bad6515af2 According to message-id <yfk7kv6rj15.fsf@vader.clickarray.com> on
freebsd-ports, ports/packages will be re-frozen and re-rolled before
4.4-RELEASE, so we can (imprecisely) mark the CVSup bugfix as being MFC-ed.
2001-09-10 20:41:39 +00:00
Bruce A. Mah
6b6ff9a926 New release note: Non-root-owned binaries in standard system paths
now have the schg flag set.
2001-09-10 18:51:13 +00:00
Mike Heffner
b3a0a7cd53 Remove a field width specifier that's not doing anything more than
what using snprintf() achieves. It was also being used incorrectly.
2001-09-10 18:46:07 +00:00
Mike Barcroft
1c93d61fcc Add a cast to silence a warning (error because of WARNS=2) on Alpha.
Discussed with:	des
2001-09-10 17:23:57 +00:00
Bruce A. Mah
1c598c2c17 New release notes: Use net/cvsup, rather than net/cvsup-bin and
net/cvsupd-bin.  Also note CVSup update to fix S1G bug.

I'm breaking a self-imposed rule of not mentioning ports-collection
updates in release notes.  I'm only doing this because CVSup is a
fairly essential part of the FreeBSD Project infrastructure.  Save
for exceptions such as this, the release notes will continue to
document changes to the base system only.

Suggested by:	mike
2001-09-10 16:54:50 +00:00
David E. O'Brien
447ac70c38 I am no longer the FreeBSD GCC maintainer. 2001-09-10 16:05:39 +00:00
Doug Rabson
0026671754 Rename kernel entry point from locorestart to __start. 2001-09-10 15:34:00 +00:00
Ruslan Ermilov
1cdc4a5318 Do not overrun entry array when printing output tables.
Cleanup storage allocation for entries.

Obtained from:	NetBSD
2001-09-10 15:09:12 +00:00
Doug Rabson
c3ca94196a Back out the last change - it was made to the wrong Makefile. 2001-09-10 14:47:34 +00:00
Doug Rabson
e763b778c8 * Make a start on a realistic definition for bootinfo.
* Switch to proc0's stack and backing store before calling ia64_init
  so that we don't rely on the loader's stack at all.
* Change kernel entry point name from locorestart to __start.
2001-09-10 13:40:00 +00:00
Peter Wemm
b03a0c9e5e Fix a warning on alpha (real problem) and make pstat -t work as a bonus.
'struct tty' was out of sync in user and kernel due to dev_t/udev_t
mixups.  This takes advantage of the fact that dev_t changes type in
userland, so it isn't too pretty.
2001-09-10 12:05:47 +00:00
Kris Kennaway
7c483fee3f Don't call log() without a format string.
MFC after:	2 weeks
2001-09-10 12:00:47 +00:00
Ruslan Ermilov
db8b9c344e Fixed SIGFPE (divide by zero) if column's width exceeds display width (-w).
Obtained from:	OpenBSD
2001-09-10 11:56:07 +00:00
Søren Schmidt
fe2ea8eb89 Add DAO mode (Disk At Once).
See burncd.8 for how to use it.
2001-09-10 11:44:32 +00:00
Ruslan Ermilov
c4c981072b Fixed the -z option handling:
-Wuninitialized if used without -t.

PR:		bin/30467

Null pointer dereference if used with -t.

Maximum column width computation was wrong.
2001-09-10 11:43:40 +00:00
Søren Schmidt
45ae719fd9 Add kernel side support for DAO burning. 2001-09-10 11:43:20 +00:00
Søren Schmidt
9dcb8a1d5d Add new ioctl's and rearrange a bit for DAO mode support. 2001-09-10 11:42:27 +00:00
Dima Dorfman
b40832162b Make the nsops' variable in semop' unsigned. This prevents an
overflow if uap->nsops (which is already unsigned) is over INT_MAX;
consequently, the bounds check below becomes valid.  Previously, if a
value over INT_MAX was passed in uap->nsops, the bounds check wouldn't
catch it, and the value would be used to compute copyin()'s third
argument.

Obtained from:	NetBSD
2001-09-10 11:36:08 +00:00
Kris Kennaway
bf61e26696 Fix some signed/unsigned integer confusion, and add bounds checking of
arguments to some functions.

Obtained from:	NetBSD
Reviewed by:	peter
MFC after:	2 weeks
2001-09-10 11:28:07 +00:00
Peter Wemm
746b3df68f Fix a warning. Dont convert away from const to just re-add it in the
wrapped function.
2001-09-10 10:48:19 +00:00
Peter Wemm
531c9dd5f4 Fix a warning in bsearch(). Like index() etc, it de-qualifies its
arguments.  Caveat Emptor.  However, the only two consumer of it (cam)
deals with it correctly and preserves the constness.
2001-09-10 10:33:46 +00:00
Ruslan Ermilov
d76e231677 mdoc(7) police: markup nits.
PR:		docs/30473
Submitted by:	Jonathan Hanna <jhanna@home.com>
2001-09-10 09:08:47 +00:00
Warner Losh
54c5e69c3a Typo s/AirLAncer/AirLancer/g 2001-09-10 08:14:00 +00:00
Warner Losh
55b15701e3 clarify PCMLM56 status 2001-09-10 08:07:46 +00:00
Warner Losh
1e5d3cc62e The EXCard-10-PCMCIA entry was slightly bogus. 2001-09-10 08:05:29 +00:00
Peter Wemm
ed6c38886e Fix a warning. l_name is managed by us and is malloc/free'ed.
It is the userland declaration of l_name that is inconvenient for us.
2001-09-10 07:53:04 +00:00
Peter Wemm
e414d9aad7 Add on UPAGES to ki_rssize since it is there as result of the process
and can be swapped out with the process.
2001-09-10 07:29:32 +00:00
Peter Wemm
85012e7c95 UPAGES as a constant is gone in KSE. We are going to have to trust
and/or fix ki_rssize.
2001-09-10 07:19:26 +00:00
Doug Rabson
9a905b8b26 Implement support for MAXMEM option and hw.physmem environment variable
which can be used to artificially reduce the memory size of a machine
for debugging (or other) purposes.
2001-09-10 07:03:59 +00:00
Marcel Moolenaar
e061a6ca19 Fix LINT breakage caused by previous commit. The linux_rt_sendsig
and linux_sendsig functions guarded their debugging output with
ldebug(sigreturn). This has been mistaken for a cut-n-paste bug,
and was replaced by ldebug(rt_sendsig) and ldebug(sendsig) resp.
Since the sendsig functions are not syscalls, this brokei any
build that defines DEBUG.

The fix maps both functions to the unused syscall 0 so that they
can be enabled/disabled independently from sigreturn, but not
independently from each other.
2001-09-10 07:00:17 +00:00
Peter Wemm
ea8f3ee347 This will have to be revised, but allow putting 'makeoptions GCC3=true'
in a kernel config file.  This should minimize the tearing-out-hair process
while updating the kernel for gcc-3 compliance.
2001-09-10 06:23:33 +00:00
Peter Wemm
eb30c1c0b9 Rip some well duplicated code out of cpu_wait() and cpu_exit() and move
it to the MI area.  KSE touched cpu_wait() which had the same change
replicated five ways for each platform.  Now it can just do it once.
The only MD parts seemed to be dealing with fpu state cleanup and things
like vm86 cleanup on x86.  The rest was identical.

XXX: ia64 and powerpc did not have cpu_throw(), so I've put a functional
stub in place.

Reviewed by:	jake, tmm, dillon
2001-09-10 04:28:58 +00:00
Peter Wemm
e11e07928b gcc-3 has objections about the bluetrap6 and bluetrap13 inline asm
functions.  Apparently multi-line string asm arguments are deprecated.
2001-09-10 04:22:20 +00:00
Peter Wemm
22c1cd205e Fix some malformed macro concatenation that gcc-3 has objections about. 2001-09-10 04:20:34 +00:00
Warner Losh
154c742236 Add cs driver for IBM EtherJet card. Doesn't completely work yet, but
it won't work without it.
2001-09-10 04:08:28 +00:00
Warner Losh
3283cbb35f 2Mbps card from Teletronics. Looks like a generic OEM card for the
awi driver, but the MAC address isn't recognized, so maybe this is
wrong.
2001-09-10 03:30:47 +00:00
Warner Losh
99de8e9963 ELSA Air Lancer wireless card. Appears to be a Lucent OEM.
Submitted by: Eric Masson <e-masson@kisoft-services.com>
2001-09-10 03:18:21 +00:00
Brooks Davis
a744995d49 Lots of style(9) related white space fixes. Mostly missing spaces
after if, for, while, switch, '{', and '}' plus a bunch of bogus
whitespace at the end of lines.
2001-09-10 02:36:18 +00:00
Brooks Davis
51331cf32a Add support for monitor mode. This means that after enabling the
correct mode via ancontrol, you can use bpf to sniff raw 802.11 frames.
Who want's to port AirSnort. ;-)

Submitted by:	Doug Ambrisko <ambrisko@ambrisko.com> (author)
		David Wolfskill <david@catwhisker.org> (port to current)
2001-09-10 02:05:10 +00:00
Peter Wemm
8cdfefbd0c Remove/comment tokens after #endif (#endif NETATALK) 2001-09-10 01:33:03 +00:00
Peter Wemm
4b53602153 Fix a minor buglet/typo here that gcc3 complains about. 2001-09-10 01:27:23 +00:00
Peter Wemm
7ba76aa915 #endif /* comment */ 2001-09-10 01:23:39 +00:00
Peter Wemm
c7a6361316 Stop gcc's fixincludes making an exception for this file 2001-09-10 01:15:48 +00:00
Warner Losh
a804e4ad3d Mihira-san says that this works for him. Linksys EtherFast 10/100 +
56k modem with the fat connector.

Submitted by: sanpei@sanpei.org (MIHIRA yoshiro)
Ignored since Jan 2001 by: imp
2001-09-09 23:58:09 +00:00
Ian Dowse
4691e9ead0 The "dirpref" directory layout preference improvements make use of
an array "fs_contigdirs[]" to avoid too many directories getting
created in each cylinder group. The memory required for this and
two other arrays (fs_csp[] and fs_maxcluster[]) is allocated with
a single malloc() call, and divided up afterwards.  However, the
'space' pointer is not advanced correctly, so fs_contigdirs and
fs_maxcluster end up pointing to the same address.

Add the missing code to advance the 'space' pointer, and remove
an unnecessary update of the pointer that follows.

This is likely to fix the "ffs_clusteralloc: map mismatch" panics
that have been reported recently.

Submitted by:		Luke Mewburn <lukem@wasabisystems.com>
2001-09-09 23:48:28 +00:00
Warner Losh
f84d55e6fb Addtron AWP-100 wireless card.
Submitted by: Alfred Perlstein <bright@mu.org>
2001-09-09 23:42:26 +00:00
Warner Losh
b03d7b66b0 EZCard, not EXCard 2001-09-09 23:40:28 +00:00
Warner Losh
87c73af65e Speculatively commit fix for Surecom EP-427TX PCMCIA adapter. This
appears to be another OEM version of the Netgear FA411.  This is a
guess, since the original didn't include the flags, but this is too
similar to my netgear card...

Submitted by: neal@nelsonnet.org
2001-09-09 23:28:09 +00:00
Warner Losh
15ba1376a1 SMC EZ Card 10 PCMCIA
Submitted by: Goncharov D <gda@sani.ru>
2001-09-09 23:13:59 +00:00