Commit Graph

250226 Commits

Author SHA1 Message Date
wiz
5c4fe27df2 Fix month in Dd. 2017-04-17 18:57:23 +00:00
martin
3933c9575a If -x (xsrc location) is passed for "check", display it also in the
"how to fix" invocation instructions.
2017-04-17 18:41:48 +00:00
uwe
49bc163dcc Section at index 0 is SHN_UNDEF. When searching for symbol sections
skip it and start with index 1.
2017-04-17 18:06:30 +00:00
uwe
936554cd90 Don't hide first = 1 assignment inside for(), that just obscures the
loop.  Same object code is generated.
2017-04-17 17:44:48 +00:00
riastradh
c4a41aa8cd IPL_SOFTUSB suffices here to synchronize with usb xfer callback. 2017-04-17 16:42:07 +00:00
riastradh
d7f92c3035 Follow my own locking rules. 2017-04-17 15:43:40 +00:00
skrll
18f3f67857 Perform icache syncs for ARM_MMU_EXTENDED as well. This helps the PT_STEP
code in pr/52119 and probably other things.
2017-04-17 14:52:52 +00:00
wiz
2dfbe8243d Convert bc(1) to mdoc. 2017-04-17 14:01:19 +00:00
maya
2d8e6e9f14 Use correct header for SIZE_MAX. from a.rin 2017-04-17 13:29:07 +00:00
bouyer
e547f1273c Disable MULTIPROCESSOR for dom0. The dom0 support code is not MP-safe
(see xen_shm_machdep.c for example, but there are probably others).
2017-04-17 09:54:59 +00:00
msaitoh
d081c6306b Use macro. No functional change. 2017-04-17 09:33:00 +00:00
riastradh
9388cbcd35 Tweak locking rule. Fix broken unlocked rmw. 2017-04-17 09:16:13 +00:00
knakahara
f7ae6a997b fix build failure 2017-04-17 09:06:55 +00:00
riastradh
b0dc3be1fb regen 2017-04-17 09:03:50 +00:00
riastradh
4299c62826 New rndsource driver for Araneus Alea II TRNG USB devices.
Disabled by default in x86/GENERIC and usbdevices.config pending
review and testing without rump ugenhc in the way, but enabled in
x86/ALL for compile-testing.

(Hi gson!  Finally found a round tuit in my pocket, next to a certain
rectangular one.)
2017-04-17 08:59:37 +00:00
hannken
fa1558d33f Welcome to 7.99.70 2017-04-17 08:34:58 +00:00
hannken
bd152b56b5 Add vfs_trybusy() and mountlist_iterator_trynext() and use it for the syncer. 2017-04-17 08:34:27 +00:00
hannken
8c6f10d105 Update vfs_busy(), vfs_unbusy(), vfs_mountalloc() and vfs_rootmountalloc(). 2017-04-17 08:33:40 +00:00
hannken
eb8533a8b6 No need to keep a not yet visible mount busy. Move vfs_busy()
from vfs_mountalloc() to vfs_rootmountalloc().

XXX: Do we really need to vfs_busy() for vfs_mountroot?
2017-04-17 08:32:55 +00:00
hannken
20bb034f5b Remove unused argument "nextp" from vfs_busy() and vfs_unbusy().
Remove argument "keepref" from vfs_unbusy() and add vfs_ref() where needed.
2017-04-17 08:32:00 +00:00
hannken
ebb8f73b4b Add vfs_ref(mp) and vfs_rele(mp) to add or remove a reference to
struct mount.  Rename vfs_destroy(mp) to vfs_rele(mp) and replace
incrementing mp->mnt_refcnt with vfs_ref(mp).
2017-04-17 08:31:01 +00:00
hannken
256581e1f9 Cleanup after mountlist iterator:
- remove now unused field mnt_list.
- rename mount_list to mountlist and make it local to vfs_mount.c.
- make mountlist_lock local to vfs_mount.c.

Change pstat.c to retrieve vnodes by lru lists.
2017-04-17 08:29:58 +00:00
maya
59550b6772 Uncomment MULTIPROCESSOR in dom0 kernels 2017-04-17 07:19:28 +00:00
riastradh
ee1810e5f9 Fix bulk xfer buffer with usedma = false. 2017-04-17 07:13:30 +00:00
ozaki-r
0d3ed86269 Accept AH with NULL algorithm of zero-length key 2017-04-17 05:48:18 +00:00
riastradh
ebe393339f Fix order of outputs in rumpuser_open call.
Now ugenhc works again after a four-year hiatus...
2017-04-17 05:11:05 +00:00
knakahara
e7af88294b add opencrypto atf for CRYPTO_3DES_CBC and CRYPTO_AES_CBC(=CRYPTO_RIJNDAEL128_CBC). 2017-04-17 03:59:37 +00:00
jmcneill
1819be0892 Set cpu_cc_freq when changing frequencies. 2017-04-17 00:43:42 +00:00
riastradh
eeefcaaf18 Omit needless XXX comment. 2017-04-17 00:02:45 +00:00
riastradh
9719b6dc16 Justify the last unjustified assertion here.
Sprinkle a few more assertions to help along the way.

(Actually, it was justified; I just hadn't made explicit the relation
to the value of fdpos that all two callers specify.)
2017-04-16 23:50:40 +00:00
riastradh
9b8e93bfa9 Emphasize that MAX_WINDOW_SIZE is bounded by the maximum uint32_t.
Since we store window sizes in uint32_t, the maximum had better fit
in uint32_t!
2017-04-16 23:43:57 +00:00
jmcneill
c983b58bbf Fix previous; pci_intr_setattr takes a pci_intr_handle_t not the driver's
opaque handle.
2017-04-16 22:38:04 +00:00
riastradh
f4d0632c19 Plug memory leak.
CID 978372
2017-04-16 21:39:49 +00:00
riastradh
b682286be9 Plug memory leak in ParseTraditionalInclude. 2017-04-16 21:38:38 +00:00
riastradh
a882a64c0e Plug memory leak.
CID 978370
2017-04-16 21:37:37 +00:00
riastradh
91528f07b9 Make it clearer that this is not a memory leak.
CID 978369
2017-04-16 21:35:08 +00:00
riastradh
ffc8790f33 Plug memory leak in JobPrintCommand.
CID 978366
2017-04-16 21:23:43 +00:00
riastradh
ea5fc7e0b0 Plug memory leaks in Dir_FindFile.
CID 978364
2017-04-16 21:14:47 +00:00
riastradh
eeadb7df8c Clarify that assignment is for effect, not truth of value.
CID 977502
2017-04-16 21:04:44 +00:00
riastradh
0b16a13b06 Guarantee no arithmetic overflow. 2017-04-16 21:03:13 +00:00
riastradh
c2373570bc Replace dead conditional by assert.
CID 975995
2017-04-16 20:59:04 +00:00
riastradh
76e0a5c432 Check fcntl return values out of paranoia.
CID 975277
CID 975278
2017-04-16 20:57:14 +00:00
riastradh
bef219d9d2 Check return value of fseek.
CID 975275
CID 975276
2017-04-16 20:49:09 +00:00
riastradh
73e03a372c Assert archive member syntax. Cite who guarantees it. 2017-04-16 20:38:18 +00:00
dholland
3e81c5349d nowadays function specifiers go in declaration_specifiers
(not after the declarator)
2017-04-16 20:20:24 +00:00
riastradh
dcafbc2650 Factor out parts of cached_realpath.
This wacky API confused Coverity (CID 1405167) and is no good for
human readers either.
2017-04-16 20:14:49 +00:00
kamil
40a729ad22 Remove unmaintained link to imrryr from NetBSD specific fortune(6) entries
The original content is not accessible with the original link (missing
closing /). This page does not look to be updated since 2002 and artwork
is not freely reusable.
2017-04-16 20:08:59 +00:00
maya
f79348a46a Use bmake_malloc where we don't test the return value of malloc currently.
Appeases coverity.
2017-04-16 20:00:58 +00:00
riastradh
9660a1b334 Use, don't kludge, MAKE_ATTR_UNUSED.
CID 1300234
CID 1300237
CID 1300238
CID 1300245
CID 1300255
CID 1300267
CID 1300284
2017-04-16 19:53:58 +00:00
riastradh
894367af71 Stress rump hyperentropy a little harder. 2017-04-16 18:24:23 +00:00