Commit Graph

249963 Commits

Author SHA1 Message Date
abhinav
e31d33c056 Fix mandoc -Tlint warnings:
s/PP/Pp
	Remove Pp before It
2017-04-14 08:48:01 +00:00
abhinav
e8fa53a0b4 Instead of removing markup as I did in the last commit, use markup but properly.
Hint taken from FreeBSD man page.

ok wiz@
2017-04-14 08:40:30 +00:00
roy
b6de69380c Generate dhcpcd-embedded.c for dependencies too. 2017-04-14 07:55:55 +00:00
wiz
0d97bd8ae2 Whitespace fixes. 2017-04-14 07:09:43 +00:00
kamil
97ccec3243 x86: Export fpu_save, fpu_save_size, xsave_features to dedicated sysctl nodes
Add new defines:
 - CPU_FPU_SAVE (15)
   int: FPU Instructions layout
   * to use this, CPU_OSFXSR must be true
   * 0: FSAVE
   * 1: FXSAVE
   * 2: XSAVE
   * 3: XSAVEOPT
 - CPU_FPU_SAVE_SIZE (16)
   int: FPU Instruction layout size
 - CPU_XSAVE_FEATURES (17)
   quad: FPU XSAVE features

Bump CPU_MAXID from 15 to 18.

These values were prepared originally to be exported without ASCIIZ name to
be used as handler. These values are useful to get FPU accessors in a
debugger easier to implement on x86 (PT_SETFPREG, PT_GETFPREG).

This interface handles all supported x86 targets. In the older (i386) and
less featured CPUs check first osfxsr (OS uses FXSAVE/FXRSTOR).

According to sys/arch/x86/include/cpu.h r.1.65 this was prepared to be
exported beyond simple CTL_CREATE node.

Sponsored by <The NetBSD Foundation>
2017-04-14 04:43:47 +00:00
ozaki-r
47978ed2ef Mark tests of tunnel/AH/IPv6 as expected failure (PR kern/52161) 2017-04-14 03:35:40 +00:00
ozaki-r
0b5da45aff Add tests for ipsec
- Check if setkey correctly handles algorithms for AH/ESP
- Check IPsec of transport mode with AH/ESP over IPv4/IPv6
- Check IPsec of tunnel mode with AH/ESP over IPv4/IPv6
2017-04-14 02:56:48 +00:00
ozaki-r
469c0f099a Rumpify netipsec
Note that we should modularize netipsec and reduce reverse symbol references
(referencing symbols of netipsec from net, netinet and netinet6) though,
the task needs lots of code changes. Prior to doing so, rumpifying it and
having ATF tests should be useful.
2017-04-14 02:43:27 +00:00
riastradh
460f0e63ea Gotta mark crashes on signal separately from failures... 2017-04-14 01:30:38 +00:00
jmcneill
030df65867 Only route USB ports to XHCI controller after the firmware is loaded
successfully. This gives us working USB (via USB2 controllers) until the
tegra-firmware package is installed.
2017-04-14 00:19:34 +00:00
nat
0e007aeed4 Increase the priority of the mixing thread yet again.
Ensure that there is data in the mix ring.

Addresses PR kern/52098.
2017-04-14 00:05:46 +00:00
jmcneill
498820abda Allow devices to attach to nodes without a "compatible" property, but only
print "not configured" messages for nodes with one.
2017-04-13 22:27:07 +00:00
jmcneill
de49aef46f Print the full DT node path in "not configured" autoconf messages.
Before:  clock at fdt2 not configured
After:   /clocks/clock@0 at fdt2 not configured
2017-04-13 22:12:53 +00:00
jmcneill
15c628a0dd DT ode path to i2c controller with ams3722 has changed from /i2c@0,7000d000
to /i2c@7000d000 in newer dts files. Support both paths for cpufreq
scaling.
2017-04-13 21:20:44 +00:00
christos
63bd6fc88f new ntpd 2017-04-13 20:18:22 +00:00
christos
ccc794f01b (4.2.8p10-win-beta1) 2017/03/21 Released by Harlan Stenn <stenn@ntp.org>
(4.2.8p10)

* [Sec 3389] NTP-01-016: Denial of Service via Malformed Config
  (Pentest report 01.2017) <perlinger@ntp.org>
* [Sec 3388] NTP-01-014: Buffer Overflow in DPTS Clock
  (Pentest report 01.2017) <perlinger@ntp.org>
* [Sec 3387] NTP-01-012: Authenticated DoS via Malicious Config Option
  (Pentest report 01.2017) <perlinger@ntp.org>
* [Sec 3386] NTP-01-011: ntpq_stripquotes() returns incorrect Value
  (Pentest report 01.2017) <perlinger@ntp.org>
* [Sec 3385] NTP-01-010: ereallocarray()/eallocarray() underused. HStenn
* [Sec 3384] NTP-01-009: Privileged execution of User Library code
  (Pentest report 01.2017) <perlinger@ntp.org>
* [Sec 3383] NTP-01-008: Stack Buffer Overflow from Command Line
  (Pentest report 01.2017) <perlinger@ntp.org>
* [Sec 3382] NTP-01-007: Data Structure terminated insufficiently
  (Pentest report 01.2017) <perlinger@ntp.org>
* [Sec 3380] NTP-01-005: Off-by-one in Oncore GPS Receiver
  (Pentest report 01.2017) <perlinger@ntp.org>
* [Sec 3379] NTP-01-004: Potential Overflows in ctl_put() functions
  (Pentest report 01.2017) <perlinger@ntp.org>
* [Sec 3378] NTP-01-003: Improper use of snprintf() in mx4200_send()
  (Pentest report 01.2017) <perlinger@ntp.org>
* [Sec 3377] NTP-01-002: Buffer Overflow in ntpq when fetching reslist
  (Pentest report 01.2017) <perlinger@ntp.org
* [Sec 3376] Support build "hardening" flags.  stenn@ntp.org
* [Sec 3361] 0rigin (zero origin) DoS.  HStenn.
* [Bug 3393] clang scan-build findings <perlinger@ntp.org>
* [Bug 3363] Support for openssl-1.1.0 without compatibility modes
  - rework of patch set from <ntp.org@eroen.eu>. <perlinger@ntp.org>
* [Bug 3356] Bugfix 3072 breaks multicastclient <perlinger@ntp.org>
* [Bug 3216] libntp audio ioctl() args incorrectly cast to int
  on 4.4BSD-Lite derived platforms <perlinger@ntp.org>
  - original patch by Majdi S. Abbas
* [Bug 3215] 'make distcheck' fails with new BK repo format <perlinger@ntp.org>
* [Bug 3173] forking async worker: interrupted pipe I/O <perlinger@ntp.org>
  - initial patch by Christos Zoulas
* [Bug 3139] (...) time_pps_create: Exec format error <perlinger@ntp.org>
  - move loader API from 'inline' to proper source
  - augment pathless dlls with absolute path to NTPD
  - use 'msyslog()' instead of 'printf() 'for reporting trouble
* [Bug 3107] Incorrect Logic for Peer Event Limiting <perlinger@ntp.org>
  - applied patch by Matthew Van Gundy
* [Bug 3065] Quiet warnings on NetBSD <perlinger@ntp.org>
  - applied some of the patches provided by Havard. Not all of them
    still match the current code base, and I did not touch libopt.
* [Bug 3062] Change the process name of forked DNS worker <perlinger@ntp.org>
  - applied patch by Reinhard Max. See bugzilla for limitations.
* [Bug 2923] Trap Configuration Fail <perlinger@ntp.org>
  - fixed dependency inversion from [Bug 2837]
* [Bug 2896] Nothing happens if minsane < maxclock < minclock
  - produce ERROR log message about dysfunctional daemon. <perlinger@ntp.org>
* [Bug 2851] allow -4/-6 on restrict line with mask <perlinger@ntp.org>
  - applied patch by Miroslav Lichvar for ntp4.2.6 compat
* [Bug 2645] out-of-bound pointers in ctl_putsys and decode_bitflags
  - Fixed these and some more locations of this pattern.
    Probably din't get them all, though. <perlinger@ntp.org>
* Update copyright year.
* bk-7 trigger updates
2017-04-13 20:17:41 +00:00
skrll
6af63bc7d1 PR/52154: xHCI Slot Context Not Include in configure endpoint process
eXtensible Host Controller Interface Specification(rev 1.1), 4.6.6:

"A0 shall be set to 1 and refer to section 6.2.2.2 for the Slot Context fields
used by the Configure Endpoint Command."
2017-04-13 19:54:22 +00:00
christos
3e3909fe3f Import ntp 4.2.8p10 2017-04-13 19:17:15 +00:00
christos
e24baaa1a0 new bind 2017-04-13 19:12:09 +00:00
christos
e5b8b7b6d5 merge conflicts. 2017-04-13 19:11:19 +00:00
christos
757ea78699 --- 9.10.4-P8 released ---
4582.	[security]	'rndc ""' could trigger a assertion failure in named.
			(CVE-2017-3138) [RT #44924]

4580.	[bug]		4578 introduced a regression when handling CNAME to
			referral below the current domain. [RT #44850]

	--- 9.10.4-P7 released ---

4578.	[security]	Some chaining (CNAME or DNAME) responses to upstream
			queries could trigger assertion failures.
			(CVE-2017-3137) [RT #44734]

4575.	[security]	DNS64 with "break-dnssec yes;" can result in an
			assertion failure. (CVE-2017-3136) [RT #44653]

4564.	[maint]		Update the built in managed keys to include the
			upcoming root KSK. [RT #44579]
2017-04-13 18:55:07 +00:00
roy
c9d961458a Add dhcpcd-embedded.h to DPSRCS to ensure it exists when generating dependencies. 2017-04-13 18:12:32 +00:00
christos
d72a6146c2 Explain a bit more how to examine the blacklist state. 2017-04-13 17:59:34 +00:00
christos
50dd7b358e Fix out of bounds read for very large numbers (pointed out by Brooks Davis)
https://svnweb.freebsd.org/changeset/base/316766
2017-04-13 17:45:56 +00:00
christos
c02e58cd9e Explain the 's' image size better. 2017-04-13 17:21:29 +00:00
christos
e919fde2d0 for consistency with ffs, don't count the offset into the size. 2017-04-13 17:20:59 +00:00
christos
820702f055 Fix error handling; msdosfs_wfile is supposed to return errno. 2017-04-13 17:10:12 +00:00
christos
62446aa148 Redo the statistics through an indirection array and put the definitions
of the arrays in pfkeyv2.h so that they are next to the index definitions.
Remove "bogus" comment about compressing the statistics which is now fixed.
2017-04-13 16:38:31 +00:00
christos
2f20de3155 bump to 59: mountiterator changes/vnode stuff make the tmpfs module crash. 2017-04-13 16:32:00 +00:00
sjg
66fdc11da2 Add test case for :M[^A-Z] 2017-04-13 16:23:39 +00:00
christos
a22e7bc981 say ipsec stats are viewable with netstat. 2017-04-13 14:46:32 +00:00
christos
b01bbcc712 PR/52159: Jamie Landeg-Jones: Don't try to expand $'s in paths or system
variables. Only expand them ${MAKE} variable values.
2017-04-13 13:55:23 +00:00
knakahara
54559a2194 wm(4) can disable msi/msix by build option and ddb command.
suggested by nonaka@n.o.
reviewed by msaitoh@n.o and nonaka@n.o.
2017-04-13 10:37:36 +00:00
hannken
4f91c8bb19 Switch lfs_flush() and lfs_writerd() to mountlist iterator. 2017-04-13 09:57:28 +00:00
hannken
769f0c92c9 Switch procfs_domounts() to mountlist iterator. 2017-04-13 09:54:18 +00:00
hannken
cb023de545 Change command mountdump to evaluate mountlist_entry. 2017-04-13 09:52:18 +00:00
hannken
d177c6cd5a Switch compat_20_netbsd32_getfsstat() to mountlist iterator. 2017-04-13 09:46:59 +00:00
hannken
7ca0d1e255 Switch NdisOpenFile() to mountlist iterator.
XXX: Do we need a function or variable to retrieve the root mount or NULL?
2017-04-13 09:44:48 +00:00
hannken
8fd5bc95f8 Switch compat_20_sys_getfsstat() to mountlist iterator. 2017-04-13 09:41:28 +00:00
msaitoh
233ee5301d Add forgotten BGE_EVCNT_INCR() for spurious interrupt. 2017-04-13 09:25:33 +00:00
hannken
e0818a4b75 Switch ultrix_sys_getmnt() to mountlist iterator.
Really skip "start" items instead of a useless loop.
Compile tested only.
2017-04-13 09:18:18 +00:00
hannken
819b8261d6 Switch osf1_sys_getfsstat() to mountlist iterator.
Compile tested only.
2017-04-13 09:17:55 +00:00
skrll
070497e366 Paranoia... keep vmspace reference while doing pmap_procwr 2017-04-13 07:58:45 +00:00
skrll
1c01928083 Comment alignment. No functional change. 2017-04-13 07:49:52 +00:00
skrll
060b9d97a7 Fix details around the AX88179 USB 3.0 chipset 2017-04-13 07:22:50 +00:00
msaitoh
b734e166a9 - Read chip ID correctly on BCM57782 and BCM57786.
- Add BXCM57766 A0 string.
- Add comment for BCM5776[56]'s workaround.
2017-04-13 04:27:46 +00:00
msaitoh
414cfa3e2c regen. 2017-04-13 04:04:39 +00:00
msaitoh
490bdb899e Add Broadcom BCM577x5 SDMMC, Memstic and xD. 2017-04-13 04:04:13 +00:00
christos
bb9e7fd375 remove env. 2017-04-13 02:15:36 +00:00
ozaki-r
61c284b0f0 Fix that ah_algorithm_lookup and esp_algorithm_lookup don't handle some algorithms
Unrelated upper limit values, AH_ALG_MAX and ESP_ALG_MAX, prevented some
algorithms from being looked up.
2017-04-13 01:32:57 +00:00