jmcneill
e4e8429c20
Add (commented out) definitions of viapcib attachments.
2006-03-17 12:22:14 +00:00
jmcneill
73e1e8a116
Add support for the VIA SMBus controller found on the VT8235 PCI-ISA
...
bridge.
2006-03-17 12:19:49 +00:00
martin
8d15124682
This test is highly dependend on local configuration - note some
...
pitfalls.
2006-03-17 11:33:24 +00:00
skrll
75eb73218c
KNF
2006-03-17 11:03:07 +00:00
yamt
848da92913
make duplicated code fragments into a function, pool_grow.
2006-03-17 10:09:25 +00:00
yamt
4038c2995b
uvm_km_check_empty: fix an assertion.
2006-03-17 09:37:55 +00:00
kochi
c736436079
acpica 20060310
2006-03-17 09:14:16 +00:00
erh
8e641f354a
Found by coverity issue 887. Check for NULL before using base_ph so
...
an interpreter that does not have PT_LOAD in the program header doesn't
crash the system.
2006-03-17 08:51:35 +00:00
kleink
63c0159af3
Move struct clockinfo (KERN_CLOCKRATE sysctl) from <sys/time.h> to
...
<sys/sysctl.h>.
2006-03-17 08:50:36 +00:00
erh
e1806cf352
Fix Coverity issue 1579. Check retval from getmntopts(). Use freemntopts().
2006-03-17 06:51:00 +00:00
erh
0ca5044c4a
Fix Coverity issue 1471. Shouldn't actually be problem, but the array
...
bounds checks to figure out which signal to issue were off by one.
2006-03-17 06:31:58 +00:00
erh
a329a6a0ae
Fix Coverity issue 1754. Call fts_close() after we're done copying.
2006-03-17 06:22:30 +00:00
garbled
e50f041957
ANSIfy more code in prep.
2006-03-17 06:11:58 +00:00
jld
2e34cd0e5e
Add some missing memory barriers I noticed.
...
Discussed on port-xen.
2006-03-17 06:04:24 +00:00
erh
8ad33681f8
Fix Coverity issues 2321 and 2320. Make sure to free allocated memory.
2006-03-17 06:01:14 +00:00
garbled
6434af65ce
ANSIfy all these files.. just formatting changes.
...
Remove kbdreg.h.. this was part of pccons, and was apparently missed long
ago.
2006-03-17 05:33:33 +00:00
erh
840c5222df
Fix -uu handling so recursive updates of already installed packages work,
...
even if the initial package to install isn't installed yet.
Bump the version to 20060313.
2006-03-17 05:32:11 +00:00
rumble
0fe2cb9e42
Ensure that malloc does not return NULL before copying the buffer.
2006-03-17 04:53:55 +00:00
rittera
dd3a1291db
Added myself, Alan Ritter
2006-03-17 03:23:28 +00:00
chris
fea7c6a78b
Fix range to check to avoid a static buffer overrun, when
...
font->encoding == 4, which would cause access past the end of the encodings
array.
Fixes Coverity CID 1446.
Note that perhaps we should actually have an encoding line for
WSDISPLAY_FONTENC_ISO2 which is encoding 4.
2006-03-17 03:21:57 +00:00
elad
8adb45d48c
Fix off-by-one found by Coverity, CID 1529.
2006-03-17 02:56:05 +00:00
chris
d79b92051d
Only dereference b after it has been NULL checked.
...
Coverity CID 2398.
2006-03-17 02:52:56 +00:00
chris
4727225848
Fix case where argv wasn't returned or freed.
...
This fixes Coverity CID 2023.
While here also return NULL if the malloc fails.
2006-03-17 02:48:29 +00:00
elad
70b1ddf050
Overrun found by Coverity, CID 1549.
2006-03-17 02:41:31 +00:00
hubertf
986192d148
Add sanity check if there's a @cwd in the +CONTENT file.
...
If not abort, because we wouldn't know where to put the files.
Coverity CID 1358
2006-03-17 02:37:31 +00:00
chris
9ccbde6fee
Free eonce in the case of bad event combination.
...
Coverity CID 1705.
2006-03-17 02:34:22 +00:00
hubertf
3c5de91c39
pkg_do(): only use cp2 if it's really set to something useful
...
Coverity CID 1176
2006-03-17 02:31:44 +00:00
elad
21831d5e1d
Fix an off-by-one found by Coverity, CID 1456.
...
I haven't looked, but I suggest security-officer@ looks into it to see if
this may be exploited passively?
2006-03-17 02:31:03 +00:00
chris
165401a5bd
Move strlen(s) to after s is known to be not NULL, or set to "(null)" .
...
Fixes Coverity CID 2353.
2006-03-17 02:25:23 +00:00
hubertf
fc4fb72e38
findbestmatchingname_fn(): catch possible problems if best (vp)
...
contains some strange name (shouldn't happen, but ...)
Coverity CID 869
2006-03-17 02:20:46 +00:00
elad
237c0ec2a5
Fix three off-by-ones found by Coverity. CID 1444, 1445.
2006-03-17 02:12:15 +00:00
hubertf
92acb1f6e9
findbestmatchingname_fn(): only do something sensible if the pointer
...
handed in is actually usable (not NULL)
Fixes Coverity ID 870
2006-03-17 02:10:55 +00:00
hubertf
baf66cc3f1
We can't sprintf() into a NULL pointer - catch that properly
...
for ALL cases.
Coverity CID 861
2006-03-17 01:58:25 +00:00
elad
9e505fa94b
Fix two off-by-ones found by Coverity.
2006-03-17 01:55:31 +00:00
chris
caebf8211b
Move check for rnode being NULL to before it's first use.
...
Fixes Coverity CID 2434
2006-03-17 01:52:08 +00:00
hubertf
f500b89c3d
Free some allocated memory in the failure case when trying to
...
fetch the panic string.
Fixes Coverity CID 1856.
2006-03-17 01:45:51 +00:00
hubertf
19dcd9a850
Fix filedescriptor leak
...
Coverity CID 1625
2006-03-17 01:10:53 +00:00
dmcmahill
3ebb7ce790
Correct a check for an index being in bounds for a static array.
2006-03-17 00:02:30 +00:00
yamt
95d49eaf40
ETA estimated time of arrival
2006-03-16 23:27:20 +00:00
christos
d8a5b3caf5
warns=4
2006-03-16 23:25:17 +00:00
bouyer
14e4157f2e
Add a xenbus_read_ul() which reads a node and convert it to unsigned long.
...
Make xenbus_switch_state() and xenbus_read_driver_state() do something usefull.
2006-03-16 23:08:08 +00:00
bouyer
62b855014e
m_copyback() doesn't work the way I expexted it: it doesn't update the
...
mbuf fields, and it seems it doesn't allocate mbuf clusters for large
packets. So revert to using MCLGET() if needed and memcpy to get the
data in the mbuf.
Should fix panic in m_makewritable() reported by Mike M. Volokhov
and Andreas Wrede on port-xen, patch tested by Andreas Wrede.
2006-03-16 23:02:50 +00:00
wiz
c6b6c1a57b
Unobsolete slstats and its man page, now the links have been added.
2006-03-16 22:06:40 +00:00
wiz
e4db2061d4
Comment out xrefs to man pages we do not have. Add serial comma.
2006-03-16 22:04:25 +00:00
drochner
b89e2072ab
need to set uio_vmspace for XMM accesses
2006-03-16 18:59:17 +00:00
jwise
8bc0f5da0f
Now that we have real build system support for syspkgs, remove someone's
...
half-implemented idea of building `syspkgs' (really a few giant blobs of the
same granularity of the old sets) using install(1).
2006-03-16 18:43:34 +00:00
drochner
751e656b13
adjust a diagnostic printf
2006-03-16 18:22:16 +00:00
jwise
ddc4bc7432
Add support for new ipf and pf syspkgs.
2006-03-16 17:57:03 +00:00
jwise
f1e239603f
Fix two pf miscategorizations.
2006-03-16 17:56:20 +00:00
garbled
d736b3d508
More changes to prep port:
...
1) Add the NVRAM device. This device allows us to speak with the nvram on
prep-based machines and read/write to it. Also add a simple IOCTL
interface for speaking with the nvram from userland. This hasn't been
tested yet, but eventually I plan to support it with the sparc eeprom
command.
2) Change the root device detection to use the nvram device to attempt to
guess the boot device. Most machines should now correctly guess thier
boot device, though I expect a few devices to still not work quite right yet.
3) change the default IRQ to level rather than edge in the pnpbus if the
flags are invalid or empty. (based on output from a PowerStack E1)
4) correctly handle older machines in pnpbus that have FixedIOPorts
rather than variable ones.
Still have much to do.
2006-03-16 17:43:34 +00:00