Commit Graph

236909 Commits

Author SHA1 Message Date
christos
4dcf3726f4 XXX: add missing symbols. 2015-07-29 08:52:22 +00:00
ryo
d0174d8730 initialize uart register when it is not a console. 2015-07-29 08:51:03 +00:00
christos
f1143c9783 We don't have Debugger if we don't have DDB. 2015-07-29 08:45:28 +00:00
ozaki-r
e32e871503 Don't divide flags output
If there are many enabled flags, ifconfig divides flags output into
multiple formatted strings due to snprintb_m, e.g.,
  wm0: flags=8b43<UP,BROADCAST,RUNNING,PROMISC,ALLMULTI,SIMPLEX>wm0: flags=8b43<MULTICAST> mtu 1500

This behavior is probably unexpected. The change always outputs enabled
flags at once like this:
  wm0: flags=8b43<UP,BROADCAST,RUNNING,PROMISC,ALLMULTI,SIMPLEX,MULTICAST> mtu 1500
2015-07-29 07:42:27 +00:00
ozaki-r
d4516589be Add tests for ARP 2015-07-29 06:10:09 +00:00
ozaki-r
fe28962804 Introduce rump.arp
arp(8) uses RTM that requires that getpid(2) works correctly. Unfortunately
supporting getpid(2) in librumphijack will be tricky so that we rump-ify
arp(8) as well as ifconfig and route commands.

Suggested by pooka@.
2015-07-29 06:07:35 +00:00
matt
b34a1cd317 Adjust some of IPLs of various IPIs. 2015-07-29 04:59:48 +00:00
christos
0c5f4eaec2 add sys/stdbool.h 2015-07-29 00:12:27 +00:00
christos
024ced04ed move stdbool.h to sys, reuire pool.h to include <sys/stdbool.h> for bool,
centralize definitions of bool, true, false, to <sys/stdbool.h>
2015-07-29 00:10:25 +00:00
skrll
fccd5682de Reduce latency a bit. From nat@ 2015-07-28 21:24:43 +00:00
christos
8d365aaee5 revert previous, will fix differently. 2015-07-28 19:46:42 +00:00
christos
b308d13cf7 fix build 2015-07-28 19:38:48 +00:00
christos
9495115b2a fix build (stdbool lossage) 2015-07-28 19:32:07 +00:00
christos
138650eddf new bind 2015-07-28 18:58:08 +00:00
christos
b4a6c5034b merge conflicts for bind-9.10.2-P3 to address CVE-2015-5477. 2015-07-28 18:55:16 +00:00
christos
3f9a56fe3c Import bind 9.10.2-P3 2015-07-28 18:48:08 +00:00
christos
2b89e69445 new test 2015-07-28 18:08:37 +00:00
christos
198668b6a8 new c99 init test found by xorg's Iconify.c 2015-07-28 18:05:19 +00:00
christos
afb2c8bbbf handle c99 nested struct initialization { .data.foo[0] = 1 } 2015-07-28 17:56:56 +00:00
christos
4de23ec610 fix member list deallocation; remove #if 0'ed code. 2015-07-28 17:55:13 +00:00
kamil
638c990b9a Compatibility fixes in reallocarr(3)
Make this work on !NetBSD platforms:
- replace __CTASSERT() with platform agnostic solution SQRT_SIZE_MAX
- include nbtool_config.h for cross builds to get definition of __RCSID()
- restore errno in the last rare code path for platforms affecting errno(2)
  in memcpy(2)

While there: rename parameter name 'num' to 'number' to be in sync with
the calloc(3) parameter naming.

Reported by scole_mail at the current-users ml.
2015-07-28 17:13:34 +00:00
christos
f9da13407d fix build 2015-07-28 16:51:25 +00:00
christos
d9b0abf9c6 fix build. 2015-07-28 16:50:12 +00:00
prlw1
43f47764df Print vndattach error 2015-07-28 13:12:47 +00:00
maxv
40e89e3a3c Introduce POOL_REDZONE. 2015-07-28 12:32:44 +00:00
rjs
a0398aa0e8 Fix URL in comment, no functional change. 2015-07-28 12:27:55 +00:00
wiz
13974b8600 Use more Dv. 2015-07-28 09:52:43 +00:00
wiz
8ba2022d63 New sentence, new line. 2015-07-28 09:51:42 +00:00
maxv
807beaf028 Document KMEM_SIZE, KMEM_REDZONE and KMEM_GUARD. 2015-07-28 08:59:47 +00:00
msaitoh
affb7484ec Print interrupt type correctly. 2015-07-28 07:15:03 +00:00
skrll
a356d4b44c Remove unnecessary #include 2015-07-28 07:14:48 +00:00
mlelstv
1c4e86730e Be more verbose about errors. 2015-07-28 06:19:47 +00:00
mlelstv
ff5bbabe6f cosmetic change only. 2015-07-28 06:17:53 +00:00
dholland
e6aad7b613 Use lfs_accessors.h in conjunction with the cleaner's struct clfs.
Remove previous hacks.
2015-07-28 05:14:23 +00:00
dholland
62d11b422e Move struct salfs back inside libsa now that lfs_accessors.h is separate. 2015-07-28 05:13:14 +00:00
dholland
34f0d74c9e Add a new lfs header file: lfs_accessors.h.
This contains all the accessor functions and macros out of lfs.h.
Add an include of lfs_accessors.h after all uses of lfs.h... except
for code that wants to define its own struct lfs-alike that the
accessors are supposed to play along with. For these, set STRUCT_LFS
and include lfs_accessors.h after the necessary structure has been
defined, so that lfs_accessors.h can emit functions in terms of it.
2015-07-28 05:09:34 +00:00
knakahara
158635859e fix: panic at doing "vmstat -ev" after a PCIe device detached. 2015-07-28 01:57:55 +00:00
riastradh
76652ac562 ttm_bo_unreserve in case of ttm_bo_uvm_fault_idle restart.
Better chance of fixing PR kern/49862 by avoiding leaking a buffer
ww_mutex lock.
2015-07-28 01:25:00 +00:00
riastradh
1cb1e70748 Fix error branch: ttm_bo_unreserve on failure after ttm_bo_reserve.
Tiny chance this will fix PR kern/49862 by not leaking a ww_mutex
lock.
2015-07-27 22:26:50 +00:00
macallan
3940e348fc add a sysctl to optionally ender ddb when pressing the power button 2015-07-27 19:27:04 +00:00
martin
6ab712103f Make this work with newer perl versions.
Ok: mrg@
2015-07-27 18:09:27 +00:00
msaitoh
122c565fcd Add NVMe. 2015-07-27 15:46:03 +00:00
msaitoh
766e6e09f1 KNF. 2015-07-27 15:45:20 +00:00
martin
7b553b530b Add driver debug entries 2015-07-27 09:59:49 +00:00
maxv
66b146ac99 Several changes and improvements in KMEM_GUARD:
- merge uvm_kmguard.{c,h} into subr_kmem.c. It is only user there, and
   makes it more consistent. Also, it allows us to enable KMEM_GUARD
   without enabling DEBUG.
 - rename uvm_kmguard_XXX to kmem_guard_XXX, for consistency
 - improve kmem_guard_alloc() so that it supports allocations bigger than
   PAGE_SIZE
 - remove the canary value, and use directly the kmem header as underflow
   pattern.
 - fix some comments

(The UAF fifo is disabled for the moment; we actually need to register
the va and its size, and add a weight support not to consume too much
memory.)
2015-07-27 09:24:28 +00:00
skrll
a85df79f98 Don't timeout waiting for ld_sdmmc_dobio in the IO thread to start.
XXX why does it take >1s to get scheduled?
2015-07-27 07:53:46 +00:00
pooka
4169abe3e4 Print the "halted\n" from previous commit to stdout, not stderr.
The putchar hypercall writes to stdout, so this change restores
the original "functionality" (which was not intended to change).

from gson, via tests
2015-07-27 07:31:00 +00:00
msaitoh
53b3110f9e Add ACPI_RESOURCE_TYPE_END_TAG and ACPI_RESOURCE_TYPE_ADDRESS64. 2015-07-27 04:50:50 +00:00
wiz
d54956fea0 Spacing; Fn -> Xr for jemalloc. 2015-07-26 22:32:03 +00:00
wiz
66d1cd0cb5 Use An in AUTHORS section. 2015-07-26 22:22:24 +00:00