Commit Graph

250048 Commits

Author SHA1 Message Date
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
jmcneill
fa7f7f0ebb Add support for PCI_INTR_MPSAFE 2017-04-16 18:05:35 +00:00
jmcneill
998172e3e0 Add function ptr for pci_intr_setattr to struct arm32_pci_chipset 2017-04-16 18:02:50 +00:00
riastradh
e67dab8d81 Can't destroy pb until we're done using it. 2017-04-16 17:45:12 +00:00
riastradh
629022bd8f regen to confirm no functional change 2017-04-16 17:18:54 +00:00
riastradh
f2ed57297a Count vnode arguments correctly.
Don't count arguments that have WILLRELE/WILLPUT; count arguments
that are struct vnode *.

No functional change currently because it happens that every released
or put vnode argument comes first or after other ones.
2017-04-16 17:18:28 +00:00
riastradh
d08e9ec7c8 regen 2017-04-16 16:49:25 +00:00
riastradh
6f8a4faacd Back out previous.
Breaks file systems for which VOP_UNLOCK doesn't work on a reclaimed
vnode.

The only case in tree right now is sys/fs/union -- most file systems
use genfs_unlock, which does work on a reclaimed vnode.

Maybe we can work around this -- and still enable VOP_RECLAIM's
callees to assert lock ownership -- by having VOP_RECLAIM unlock the
vnode instead.
2017-04-16 16:48:08 +00:00
jmcneill
67f4fe25f5 Adapt for clock domain support 2017-04-16 15:52:43 +00:00
jmcneill
9d68f27c55 Init array no longer required 2017-04-16 15:52:16 +00:00
jmcneill
85435f6258 typo fix 2017-04-16 15:49:26 +00:00
jmcneill
156a4eed15 Disable SDR104 until the Tegra K1 custom tuning method is implemented.
This is required to work around errata that describes periodic data CRC
errors after autotuning has completed.
2017-04-16 13:27:19 +00:00
kamil
b505cb2592 ATF test attach2/t_ptrace_wait* is unstable
Mark it broken with:

PR kern/52168 attach2:t_ptrace_wait* is unsable

In order to get reliable failure, abort this test at the end (if we get
there).
2017-04-16 13:09:40 +00:00
kamil
8cd63a3b3a Mark signal3/t_ptrace_wait* with timeout on sparc 32-bit
PR kern/52167 signal3/t_ptrace_wait* timeouts on sparc 32-bit

This test is also marked as failure on other platforms:

PR kern/51918 ptrace tracee can prevent tracer to get its signals by masking

Both issues are valid on sparc 32-bit, but the timeout one wins.
2017-04-16 12:50:59 +00:00
kamil
a0fde0b9f7 Mark syscallemu1/t_ptrace_wait* broken on 32-bit sparc
PR kern/52166
2017-04-16 12:32:03 +00:00
jmcneill
443b940393 Add fclock(4) 2017-04-16 12:29:40 +00:00
jmcneill
d374aef866 Add support for simple fixed-rate clock source bindings. 2017-04-16 12:29:20 +00:00
jmcneill
e69bfca1e7 Add support for multiple clock domains in clk API. 2017-04-16 12:28:21 +00:00
jmcneill
92da0dd801 Remove list of init devices 2017-04-16 12:27:47 +00:00
jmcneill
ad4ceac9f3 get cpu pll clock from devicetree 2017-04-16 12:26:04 +00:00
jmcneill
757d874dfd Attach devices in order of "phandle" property inserted by DTC. 2017-04-16 12:24:57 +00:00
jmcneill
cf7b339f47 Get DC clock parent from devicetree 2017-04-16 12:22:18 +00:00
kamil
b1bdad9a86 Restore atf_tc_expect_fail in signal4 of t_ptrace_wait*
Accidentally there was removed a PR, it was never fixed.

PR 51918 "ptrace tracee can prevent tracer to get its signals by masking"
2017-04-16 12:03:25 +00:00
ozaki-r
ef3b2c8cef Revert "Mark tests of tunnel/AH/IPv6 as expected failure (PR kern/52161)"
The issue was fixed by christos@
2017-04-16 10:34:49 +00:00
wiz
6c4eff14a3 Wording. 2017-04-16 07:05:24 +00:00
wiz
a180087b74 Merge "userland" to be consistent with other man pages. 2017-04-16 06:36:03 +00:00
wiz
47990f0cb9 More wording and whitespace. 2017-04-16 06:34:05 +00:00
sevan
1c38b13310 Cross reference the manuals for listed modules. 2017-04-15 23:33:52 +00:00
riastradh
5a3d793f2a regen to confirm no functional change 2017-04-15 23:21:46 +00:00