gdamore
2716ac0eba
Remove a file that should never have been committed. (Stub implementation
...
that I abandoned.)
2006-03-21 22:50:21 +00:00
he
dcaa7a3be5
It's .endif, not .fi.
2006-03-21 22:50:13 +00:00
christos
db1dbe6ce9
Coverity CID 1225: Don't close negative fd. While here fix fd leak.
2006-03-21 22:49:43 +00:00
christos
4a6e5a625c
Coverity CID 1750: Add a function to free a queue and use it.
2006-03-21 22:47:26 +00:00
gdamore
3cb57abe3a
Add a bunch of evbmips device names.
2006-03-21 22:47:09 +00:00
christos
1f548f352a
Coverity CID 1752: getq() always allocates a queue if nitems >= 0, so always
...
free it.
2006-03-21 22:37:34 +00:00
he
ce265dd19b
Commit forgotten definition of the ciss driver.
2006-03-21 22:33:07 +00:00
bjh21
2cc5929cc1
We don't ship the Settypes file any more, so remove the reference to it.
2006-03-21 22:16:43 +00:00
phil
4617d0a2bf
Kill NULL deref (CID: 871)
...
Plug fd leak (not caught by coverity).
2006-03-21 21:59:56 +00:00
christos
aa1540d7a7
Coverity CID 2742: Avoid NULL deref.
2006-03-21 21:50:44 +00:00
gdamore
e0103fb04c
Use const char * in yamon_print().
2006-03-21 21:49:47 +00:00
christos
b771b70f76
Coverity CID 1601: Fix memory leak.
2006-03-21 21:43:03 +00:00
christos
22eda87ac9
Coverity CID 1603: Fix memory leak.
2006-03-21 21:41:00 +00:00
christos
0c9dfbbbdf
Coverity CID 1688: Fix memory leak.
2006-03-21 21:37:34 +00:00
christos
1f5c810a97
Coverity CID 782: Don't dereference NULL was not going to happen, but:
...
1. return error instead of the trashed errno.
2. don't return -1, but return ENAMETOOLONG.
3. eliminate unused code.
2006-03-21 21:34:01 +00:00
christos
7067dcb9a4
Always check the results of getmntopts() and free them.
2006-03-21 21:11:41 +00:00
agc
cbf5d4f8f5
Abstract out some common code, and place it in the utilities source.
...
Get rid of some #ifdef __KERNEL__ abstractions - they're not needed.
2006-03-21 21:03:14 +00:00
christos
b2f6added5
Coverity CID 577: remove dead code; minburst can never be 0 at this point.
2006-03-21 20:49:54 +00:00
christos
e46022bb52
Coverity CID 1514: Don't access static array beyond the end of it.
...
In this case PFTM_MAX == 20 and sizeof(pf_timeouts) / sizeof(pf_timeouts[0])
== 21, using a loop with the size of the array and checking for reaching the
end of the loop via j == PFTM_MAX does not work. Change the loop to use
PFTM_MAX as the upper bound and add an assertion in the code to make sure
that pf_timeouts is large enough. Finally remove last NULL element of the
array so that the array has 20 elements again.
2006-03-21 20:47:27 +00:00
he
77c27ad055
Add a driver, ciss(4), for the HP/Compaq drivers using the newer
...
"Command Interface to SCSI-3 Support" command interface. Driver
ported from OpenBSD by Tonnerre Lombard -- thanks!
2006-03-21 20:42:14 +00:00
christos
1a21d9be9f
Coverity CID 2057: Don't forget to free tcpopts when you are done.
2006-03-21 20:31:56 +00:00
christos
eca1f0e01b
Coverity CID 2491: Fix uninitialized reference.
2006-03-21 20:27:59 +00:00
christos
df3594a46a
Coverity CID 2735: Remove dead code.
2006-03-21 20:25:55 +00:00
he
39e2cda308
Regenerated files after adding IDs for HP/Compaq Smart Array controllers.
2006-03-21 20:20:59 +00:00
he
88fd4ab2a0
Add a bunch of IDs for Compaq/HP Smart Array controllers supported
...
by the soon to be added ciss(4) driver.
2006-03-21 20:19:21 +00:00
gdamore
10d412b26d
Bump date. Ooops.
2006-03-21 19:49:00 +00:00
gdamore
426dac3334
Added more system models.
...
More information on system devices.
2006-03-21 19:48:24 +00:00
wiz
22817a0282
regen.
2006-03-21 19:07:04 +00:00
wiz
4b610bb2ce
Fix typo, reported by seebs in PR 33106.
2006-03-21 19:06:08 +00:00
gdamore
6c8d505b69
Mention new AR5312 port.
2006-03-21 19:01:33 +00:00
drochner
4ece2172cf
Build the sun versions of frexp(), ldexp() and modf().
...
While the versions in libc/gen are prettier to look at, having single
precision versions in libm and double precision versions in libc causes
a lot of confusion, and to favor libm gets us coprocessor support.
2006-03-21 18:46:05 +00:00
drochner
d9956871be
link against libm
2006-03-21 18:34:22 +00:00
drochner
00c2a788f7
mention single precision versions and advise to link against libm
2006-03-21 18:33:00 +00:00
christos
4baec30349
Coverity CID 2743: Not really a memory leak, but make it obvious that we
...
always free tmp.
2006-03-21 17:52:50 +00:00
christos
0339fe6614
Coverity CID 2749: Fix another double free. Instead of removing that last
...
free() call, change the allocation policy to leave the responsibility for
allocation/freeing the pathname to _rtld_map_object(), instead of having
the caller allocate it and _rtld_map_object() free it. This simplifies the
code a lot and it is more efficient.
2006-03-21 17:48:10 +00:00
christos
dd3fe9b2dc
Coverity CID 2737: Handle linked-lists properly. Use calloc instead of malloc
...
so that we don't end up storing garbage accidentally and the next pointer is
initialized. If there is an inconsistency in the file abort instead
of dereferencing NULL.
2006-03-21 17:14:15 +00:00
christos
a674b513c2
Coverity CID 2738: When a symbol with a NULL name is passed, convert it to
...
the empty symbol.
2006-03-21 16:59:09 +00:00
christos
0c6d11b6a4
Coverity CID 2736: Remove 16 bit int compat code.
2006-03-21 16:46:44 +00:00
mjl
f0174eb74b
Correct obvious typo
2006-03-21 12:08:19 +00:00
drochner
0e514dc492
The second argument is not a float, so the "abi.h" abstraction
...
doesn't work.
Open-code the argument handling instead.
Should fix the ldexp() bug reported by Brendon Costa in port-amd64.
2006-03-21 11:35:21 +00:00
kardel
a1cdcab3c8
buffer overrun: backport fix from NTP project (Coverity NetBSD Scan 8: CID 1509)
2006-03-21 11:12:13 +00:00
kardel
15dc7197ee
null deref: fix another case of incomplete list handling (Coverity NetBSD Scan 8: CID 986)
2006-03-21 10:28:25 +00:00
dogcow
a3d114851f
as yamt and bouyer pointed out, there are a few other cases where l should
...
be checked for NULL, if one's going to do it at all, and that the proper idiom
is KASSERT, not panic.
2006-03-21 10:22:59 +00:00
pavel
c38d26c2d6
Bump date, requested by wiz.
2006-03-21 09:54:12 +00:00
pavel
104eb3fa9f
-I does work for unicast pings too (it sets the source address).
...
With some language help from dsl.
Reviewed by jnemeth.
2006-03-21 09:15:53 +00:00
simonb
82390bd0f2
Reorder a few entries in the CPU table.
2006-03-21 09:06:21 +00:00
martin
dfd0099ebb
Explain why this fails when run from nbmake-$ARCH.
...
From Simon J. Gerraty.
2006-03-21 08:31:13 +00:00
gdamore
bc3e11746b
Initial import of Atheros AR531X SoC support. Currently the onboard ethernet
...
and serial ports are supported, and the system appears stable with an NFS
mounted root. An earlier version of the code was reviewed by simon@, but it
has since had numerous improvements and cleanups.
At the moment, only AR5312 is known to work, but I suspect AR2313 will work
as well. Later 2315/2316 parts are substantially different, and are not yet
supported. Wifi and Marvell switch support found on some designs are not yet
supported.
Platforms known to include AR5312 include Senao Aries 2 (AP5054) and Netgear
WGU624.
2006-03-21 08:15:19 +00:00
tsutsui
f5040e78bb
- Create an independent "boot" partition for bootloader rather than
...
marking a raw partition as "boot".
- Adjust default partition size for /usr so that extracted files
won't flood on the default full installation.
2006-03-21 06:18:29 +00:00
tsutsui
c04fe5f13c
Disable KERNFS since installer will use dmesg(8).
2006-03-21 03:42:28 +00:00