Commit Graph

242364 Commits

Author SHA1 Message Date
skrll
f92670f913 Use the MI usb majors 2016-05-09 15:23:23 +00:00
christos
c7f0ba033b Account for the CRC len (Jean-Jacques.Puig) 2016-05-09 15:11:35 +00:00
christos
d7ac614b0a Don't increment the reference count only when it was 0...
From Jean-Jacques.Puig
2016-05-09 15:05:15 +00:00
roy
52185fadf0 Note import of dhcpcd-6.11.0 2016-05-09 10:21:42 +00:00
roy
ea7c879358 Define _OPENBSD_SOURCE so dhcpcd can access reallocarray(3). 2016-05-09 10:19:26 +00:00
roy
bc693cba55 Sync 2016-05-09 10:15:59 +00:00
ozaki-r
8e8364ddca Fix compilation for ppc 2016-05-09 07:02:10 +00:00
mlelstv
947d5ab451 kmem_alloc doesn't support allocating 0 bytes. 2016-05-09 04:55:34 +00:00
christos
c3337d4460 In stiffle_history(), trim excessive entries from the history and advance
history_base like the GNU implementation does. (from Bastian Maerkisch)
2016-05-08 20:15:00 +00:00
kre
ed8202014d PR bin/51123 - make >&- work in all cases, and while doing that fix
things so that >/dev/stdout </dev/stdin (etc) work as well (in all cases).

ok christos@
2016-05-08 20:14:27 +00:00
christos
2dddb15173 Fix stack allocation; limit delta to a quarter of the stack size. This should
get rid of the random aborts.
2016-05-08 20:01:56 +00:00
christos
f50af3d36b Enable DEBUG_EXEC, if we have DEBUG (since it only fires on errors) and
disable the super verbose printing by protecting it against TRACE_EXEC.
2016-05-08 20:00:21 +00:00
wiz
3e4f00a12d Remove unnecessary Ns macro. 2016-05-08 10:13:01 +00:00
wiz
4c689aa848 libarchive-3.2.0 is out. 2016-05-08 09:19:28 +00:00
maxv
f823c34f61 Define __rodata_start. Will be used soon. 2016-05-08 08:30:41 +00:00
maxv
900fb87538 Use killkpt for the PML4 entries as well. 2016-05-08 08:22:58 +00:00
skrll
267347083a More debug 2016-05-08 07:48:24 +00:00
skrll
856daf275d More options 2016-05-08 07:41:37 +00:00
skrll
ce9178132d Create sc_intr_lock at IPL_USB 2016-05-08 07:40:17 +00:00
kre
d4f114089f Whitespace fixes. No functional change. 2016-05-08 03:51:15 +00:00
christos
52e1f28ccd Catch up with other networking changes (John D. Baker) 2016-05-08 03:11:33 +00:00
christos
6b2e8a5337 Move all the randomization inside kern_pax.c so we can control it directly.
Add debugging flags to be able to set the random number externally.
2016-05-08 01:28:09 +00:00
kre
44b3998960 Remove the trap_zero__explicit_return test case - it was testing undefined
behaviour (and failed with the NetBSD shell, and was marked as expected to
fail.)   Other shells do different things.   The test was worthless, and is
now gone.

OK christos@
2016-05-07 23:51:30 +00:00
riastradh
6e111d367d Tweak comment on wapbl_flush. 2016-05-07 22:12:29 +00:00
riastradh
193947f42e Use %jx and a cast to uintmax_t, not %x, to print a dev_t. 2016-05-07 21:15:38 +00:00
riastradh
895c0fab4b Clarify comment about early exit from wapbl_flush.
Note possible bug.  Requires further analysis.
2016-05-07 21:11:51 +00:00
riastradh
2b3e02eb3e Omit unused parameter to wapbl_fini. 2016-05-07 20:59:46 +00:00
riastradh
c04b67eb10 Delete debugging option wapbl_lazy_truncate. Simplify.
Likely nobody has used this in the past decade -- you would have to
enter ddb and write 1 to it in order to enable it anyway.

Patch prepared by coypu.
2016-05-07 20:39:33 +00:00
riastradh
5589cef4c7 Turn WAPBL_DEBUG panic or KASSERT into KASSERTMSG
From coypu.
2016-05-07 20:18:44 +00:00
riastradh
c4a5d0a629 Document log layout and internal subroutines of vfs_wapbl.c. 2016-05-07 20:16:38 +00:00
kre
09ecfab926 Slightly improve "jobs" command output in cases where a job includes
embedded background commands or pipelines.   (just slightly...)
OK christos@
2016-05-07 20:07:47 +00:00
kre
3eee147437 PR bin/51119 - don't leak FDs in unusual error cases. OK christos@ 2016-05-07 20:06:30 +00:00
riastradh
ef3ee9e48d KASSERT(A); KASSERT(B) instead of KASSERT(A && B). 2016-05-07 17:47:34 +00:00
riastradh
e551e5630a Rename labels to make wapbl_flush a little easier to follow.
out ---> wait_out
out2 ---> out

From coypu.
2016-05-07 17:12:22 +00:00
mlelstv
09123a68b9 fix DEBUG build 2016-05-07 16:43:02 +00:00
riastradh
9a7ec8cbaf Clarify wording about shared and exclusive locks.
Maybe this isn't important for users of wapbl, but it likely is
helpful for working in wapbl internals.
2016-05-07 16:01:00 +00:00
macallan
da86cee20c add Sun /dev/fb* style goop 2016-05-07 15:32:08 +00:00
macallan
139ddb03dc add FBTYPE_MGX 2016-05-07 15:28:57 +00:00
maxv
15378864f6 clarify 2016-05-07 13:08:30 +00:00
maxv
0ceb789c1f Large pages are supported by default for the text+rodata segments. Apply
the proper alignment for the data segment, so that more pages can benefit
from it. Reduces TLB contention.

kern.ldscript.2MB and largepages.inc are useless.
2016-05-07 12:45:55 +00:00
mlelstv
28f11d6152 Don't check sequence number on multicast packets in station mode.
Handle overflow of 12bit sequence number.
2016-05-07 12:36:50 +00:00
pgoyette
7575c221a2 Add "uaf" - use-after-free
Seen in a recent NetBSD commit message...
2016-05-07 12:22:57 +00:00
maxv
313bb650e2 uaf 2016-05-07 11:59:08 +00:00
maxv
9a4c721fbe clarify 2016-05-07 11:49:21 +00:00
wiz
2bfa6b5acf Use Er for errors and Dq for double quoted strings. Whitespace nits. 2016-05-07 08:52:10 +00:00
skrll
85c3f37272 G/C more unused code 2016-05-07 08:11:49 +00:00
mrg
471ba5d69b disable kpreempt around softint_schedule(). fixes playing on umidi. 2016-05-07 08:09:43 +00:00
riastradh
1e6c363a24 Omit confusing sentence. 2016-05-07 06:47:44 +00:00
riastradh
d6c3919f02 Sort and deduplicate includes. 2016-05-07 06:38:47 +00:00
riastradh
31008a8d28 Fix statement of what write-ahead means. Contrast with roll-back. 2016-05-07 05:46:35 +00:00