Commit Graph

146757 Commits

Author SHA1 Message Date
yamt
2553980909 - fix --.
- fix -e.
- fix patterns starting with -.
- fix "missing argument" message.
2006-05-03 16:48:29 +00:00
yamt
6957cc2e13 ubc_fault: use PMAP_CANFAIL. pointed by Jed Davis on tech-kern@. 2006-05-03 15:57:35 +00:00
yamt
69f5e94d4e define dummy NOCRED by ourselves, rather than assuming that kernel headers
provide it.
2006-05-03 15:04:51 +00:00
yamt
38ae305f09 uvm_km_suballoc: consider kva overhead of "kmapent".
fixes PR/31275 (me) and PR/32287 (Christian Biere).
2006-05-03 14:12:01 +00:00
kiyohara
c8693c641b Back out for 1.94 from 1.93. 2006-05-03 00:37:44 +00:00
christos
d1c2aa7c3b Coverity CID 1184: Avoid NULL deref. 2006-05-02 22:35:07 +00:00
christos
4e749c0af7 Coverity CID 1185: Avoid NULL deref. 2006-05-02 22:33:42 +00:00
christos
060bb7465d Coverity CID 1330: Always check str_alloc for NULL returns. 2006-05-02 22:30:25 +00:00
christos
54f258bd85 Coverity CID 1736: close files before returning. 2006-05-02 22:26:46 +00:00
christos
9c8ab46858 Coverity CID 569: Remove dead code. 2006-05-02 22:24:05 +00:00
christos
e649ae6adc Coverity CID 884: Avoid NULL deref. 2006-05-02 22:19:12 +00:00
christos
10a7a5fd96 Coverity CID 885: Avoid NULL deref. 2006-05-02 22:13:29 +00:00
christos
9b0f17533c Coverity CID 886: Avoid NULL deref. 2006-05-02 21:40:06 +00:00
drochner
76d85cf9ac -explicitely align "struct savexmm" so that we don't get surprised
if we play with the PCB
-remove historical "struct emcsts"; there is no support in context
 switching code for ages (if there has ever been)
2006-05-02 19:03:24 +00:00
drochner
7987283ca6 comment out FPU DNA handling; this cannot be reached tbomk
because that trap is dealt with in fpu.c
2006-05-02 18:51:15 +00:00
drochner
d50e999b43 fix typo in comment 2006-05-02 18:04:53 +00:00
rpaulo
69ade2726c Use for in a forever loop as per KNF. 2006-05-02 13:26:07 +00:00
tron
63cb4a87e2 Cast precision argument for sprintf() to int to fix build problems
on 64-bit platforms.
2006-05-02 10:09:18 +00:00
drochner
12f037f2be Re-add version.c which got lost in the update.
(This is not an official interface, but we want to be compatible.)
pointed out by Bernd Ernesti
2006-05-02 09:59:26 +00:00
kardel
70ff37328f handle NULL return from d2i_X509() - NetBSD Run 21 Coverity CID 2979 2006-05-02 09:24:19 +00:00
martin
c6795868de Fix some comments, mostly from Nenad Crnko in PR kern/33402. 2006-05-02 08:31:02 +00:00
perseant
e807d08027 Fix a "locking against myself": lfs_flush_dirops() doesn't need to lock the
vnodes to write their blocks, since it holds the segment lock.
2006-05-02 00:52:26 +00:00
christos
a0c086aaf2 Coverity CID 2989: Use the error path to return. 2006-05-01 23:31:10 +00:00
christos
83d63c0a25 Coverity CID 2996: Don't return without closing fp. 2006-05-01 23:22:48 +00:00
christos
0ced32c669 Rename cat to tset_cat so that coverity does not get confused by the global
name.
2006-05-01 23:18:37 +00:00
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