Commit Graph

146532 Commits

Author SHA1 Message Date
christos ed5c178a35 Use errx instead of fprintf/fputs. 2006-05-01 23:12:24 +00:00
christos 9136a179f7 Coverity CID 1198: Avoid closing a negative fd. 2006-05-01 23:06:55 +00:00
christos 85576ae019 Coverity CID 1224: Avoid closing a negative fd. 2006-05-01 23:05:24 +00:00
christos 20fe0cf746 Coverity CID 1447: Avoid buffer overflow. 2006-05-01 23:02:03 +00:00
christos 186743bc31 Coverity CID 1448: Avoid static array overflow. 2006-05-01 23:00:33 +00:00
christos 05d6ead1e0 Coverity CID 1223: Avoid calling close with a negative fd. 2006-05-01 22:57:16 +00:00
christos 7c1fafb5f3 Coverity CID 1233: Avoid negative index. 2006-05-01 22:55:50 +00:00
rpaulo 77ff29031a aprint_debug -> aprint_error. 2006-05-01 20:43:46 +00:00
perseant 8696fd25e2 Don't ever partially write dirops, even if we need the cleaner to run.
This increases the chances of the "no clean segments" panic slightly,
but allows us to run the ckckp regression test successfully to completion.
2006-05-01 19:47:29 +00:00
perseant 635007e1aa Remember to empty the filesystem between iterations, otherwise all
iterations after the first are no-ops.
2006-05-01 19:47:01 +00:00
christos 3e168a2a10 Use the sizeof the field instead of the #define constant. Fixes off-by-one
error.
2006-05-01 18:40:02 +00:00
dyoung 2d794b9ed5 Remove needless "link state changed to DOWN/UP" message. 2006-05-01 18:17:42 +00:00
christos 501be8b824 Need assert.h now. 2006-05-01 05:14:22 +00:00
christos e408cc2631 Coverity CID 766: Add assertion before pointer deref. 2006-05-01 05:13:58 +00:00
christos 76c6077db0 Coverity CID 815: Avoid NULL pointer deref. 2006-05-01 05:04:02 +00:00
christos f2dd1e3c0c Coverity CID 1772: Close file on error return. 2006-05-01 00:03:15 +00:00
christos 4f0fad7e36 Coverity CID 814: Add extraneous checks to shut up Coverity. 2006-05-01 00:00:12 +00:00
christos f5c3fa40c3 Coverity CID 1206: Confusion between && and || leads to indexing an array
with negative index.
2006-04-30 23:56:42 +00:00
christos 1af32ba03a Coverity CID 1566: fix memory leak. 2006-04-30 23:54:40 +00:00
christos 1f74082c09 Coverity CID 1972: Don't leak file descriptor. 2006-04-30 23:52:14 +00:00
christos 781d14720c Coverity CID 1599: Fix memory leak. 2006-04-30 23:49:34 +00:00
christos fc56e77334 Coverity CID 1483: Off-by-one stack overflow. 2006-04-30 23:43:31 +00:00
christos 9ff5bf4b8a Coverity CID 788: Fix null pointer deref. 2006-04-30 23:42:06 +00:00
christos 4f6d3973bf Coverity CID 787: Fix null pointer deref. 2006-04-30 23:40:20 +00:00
christos 0b78752ab3 Coverity CID 749: Comment out dead code. 2006-04-30 23:38:34 +00:00
christos f84f0d3321 Coverity CID 2972, 2973: Don't call close() with a negative fd. 2006-04-30 23:34:50 +00:00
christos 011be34f91 Coverity CID 1565: Fix memory leak. 2006-04-30 23:30:13 +00:00
christos 7d7dff8590 Coverity CID 2986: Free lines before returning. 2006-04-30 23:27:15 +00:00
perseant 8fc4e510a9 Add an explicit list initialization that was missing from my last commit. 2006-04-30 21:59:58 +00:00
perseant 481da54fc1 Postpone the segment accounting changes coming from truncation until the
inode that makes those changes valid is either written to disk by
lfs_writeinode() or discarded by lfs_vfree().

A couple of locking fixes are also included as well.
2006-04-30 21:19:42 +00:00
rpaulo 5cd433e986 My laptop sends DeviceCheck instead of PowerSourceStatusChanged. 2006-04-30 20:44:35 +00:00
liamjfoy 9a4f3f0f6e remove an unused variable
ok christos
2006-04-30 20:23:02 +00:00
rpaulo 84015ab895 add missing directory 2006-04-30 20:02:35 +00:00
rpaulo b70b378d36 add missing files 2006-04-30 19:57:07 +00:00
rjs 712ccb18c3 Fix comment for cpu_switch(). 2006-04-30 19:50:19 +00:00
liamjfoy 4ed54cf43d Remove Pflag variable. its unused.
ok christos@
2006-04-30 19:24:50 +00:00
xtraeme f9a0ff490e regen 2006-04-30 18:58:19 +00:00
xtraeme 36b60342ff PR kern/32849: pcidevs update for Intel 82801CA AC'97 Modem Controller.
Apply patch from Nicolas Joly.
2006-04-30 18:57:51 +00:00
xtraeme c28f2b42a3 PR kern/32885: adt7463 i2c device does not always unlock i2c bus on error.
Apply patch from Nicolas Joly.
2006-04-30 18:54:20 +00:00
xtraeme 53ef4625e0 PR kern/32913: amdpm(4) smbus/i2cbus needs locking. Apply patch
from Nicolas Joly.
2006-04-30 18:46:18 +00:00
xtraeme 22f565fb88 Add missing 'arp' keyword for the nfe driver, reported by Murray
Armfield in PR kern/33384.
2006-04-30 17:56:03 +00:00
xtraeme ef9797bf50 regen 2006-04-30 17:33:46 +00:00
xtraeme 5140e8073f PR port-amd64/33393: viaide driver patch for VT8237R SATA. 2006-04-30 17:33:17 +00:00
wiz d402623a86 Remove trailing space. 2006-04-30 15:37:44 +00:00
rpaulo 6074aec576 Add irdaattach and hostapd. 2006-04-30 15:28:34 +00:00
rpaulo 5346e121ae rc.d/irdaattach 2006-04-30 15:19:18 +00:00
rpaulo 80cb906203 Add a script to start irdaattach on boot. 2006-04-30 15:18:19 +00:00
kiyohara 8e6f9eeb0a Fix memory leak. 2006-04-30 14:18:40 +00:00
kiyohara b6f53afe55 Use An appropriate flag in macro fw_bus_dma_*. 2006-04-30 14:14:06 +00:00
kiyohara f4eda9f835 use fw_bus_dmamap_create(). 2006-04-30 14:03:11 +00:00