Commit Graph

242221 Commits

Author SHA1 Message Date
palle
b699510a37 print_trapframe() should print out Local and In registers as well 2016-05-01 19:57:55 +00:00
palle
e4495390f5 Update TODO: booting from a ISO image on a sun4v system works 2016-05-01 19:41:01 +00:00
gson
73fec7e59e In the "relative" test case, run the tests multiple times relative to
various dates over a span of a few decades, instead of just once
relative to the current date.  This makes the test fail consistently
instead of sometimes failing and sometimes not depending on when
it is run.  Makes PR lib/50574 consistently reproducible.
2016-05-01 16:39:47 +00:00
christos
ae49d4a49c ---
(4.2.8p7) 2016/04/26 Released by Harlan Stenn <stenn@ntp.org>

* [Sec 2901] KoD packets must have non-zero transmit timestamps.  HStenn.
* [Sec 2936] Skeleton Key: Any system knowing the trusted key can serve
  time. Include passive servers in this check. HStenn.
* [Sec 2945] Additional KoD packet checks.  HStenn.
* [Sec 2978] Interleave can be partially triggered.  HStenn.
* [Sec 3007] Validate crypto-NAKs.  Danny Mayer.
* [Sec 3008] Always check the return value of ctl_getitem().
  - initial work by HStenn
  - Additional cleanup of ctl_getitem by perlinger@ntp.org
* [Sec 3009] Crafted addpeer with hmode > 7 causes OOB error. perlinger@ntp.org
   - added more stringent checks on packet content
* [Sec 3010] remote configuration trustedkey/requestkey values
  are not properly validated. perlinger@ntp.org
  - sidekick: Ignore keys that have an unsupported MAC algorithm
    but are otherwise well-formed
* [Sec 3011] Duplicate IPs on unconfig directives will cause an assertion botch
  - graciously accept the same IP multiple times. perlinger@ntp.org
* [Sec 3020] Refclock impersonation.  HStenn.
* [Bug 2831]  Segmentation Fault in DNS lookup during startup. perlinger@ntp.org
  - fixed yet another race condition in the threaded resolver code.
* [Bug 2858] bool support.  Use stdbool.h when available.  HStenn.
* [Bug 2879] Improve NTP security against timing attacks. perlinger@ntp.org
  - integrated patches by Loganaden Velvidron <logan@ntp.org>
    with some modifications & unit tests
* [Bug 2952] Symmetric active/passive mode is broken.  HStenn.
* [Bug 2960] async name resolution fixes for chroot() environments.
  Reinhard Max.
* [Bug 2994] Systems with HAVE_SIGNALED_IO fail to compile. perlinger@ntp.org
* [Bug 2995] Fixes to compile on Windows
* [Bug 2999] out-of-bounds access in 'is_safe_filename()'. perlinger@ntp.org
* [Bug 3013] Fix for ssl_init.c SHA1 test. perlinger@ntp.org
  - Patch provided by Ch. Weisgerber
* [Bug 3015] ntpq: config-from-file: "request contains an unprintable character"
  - A change related to [Bug 2853] forbids trailing white space in
    remote config commands. perlinger@ntp.org
* [Bug 3019] NTPD stops processing packets after ERROR_HOST_UNREACHABLE
  - report and patch from Aleksandr Kostikov.
  - Overhaul of Windows IO completion port handling. perlinger@ntp.org
* [Bug 3022] authkeys.c should be refactored. perlinger@ntp.org
  - fixed memory leak in access list (auth[read]keys.c)
  - refactored handling of key access lists (auth[read]keys.c)
  - reduced number of error branches (authreadkeys.c)
* [Bug 3023] ntpdate cannot correct dates in the future. perlinger@ntp.org
* [Bug 3030] ntpq needs a general way to specify refid output format.  HStenn.
* [Bug 3031] ntp broadcastclient unable to synchronize to an server
             when the time of server changed. perlinger@ntp.org
  - Check the initial delay calculation and reject/unpeer the broadcast
    server if the delay exceeds 50ms. Retry again after the next
    broadcast packet.
* [Bug 3036] autokey trips an INSIST in authistrustedip().  Harlan Stenn.
* Document ntp.key's optional IP list in authenetic.html.  Harlan Stenn.
* Update html/xleave.html documentation.  Harlan Stenn.
* Update ntp.conf documentation.  Harlan Stenn.
* Fix some Credit: attributions in the NEWS file.  Harlan Stenn.
* Fix typo in html/monopt.html.  Harlan Stenn.
* Add README.pullrequests.  Harlan Stenn.
* Cleanup to include/ntp.h.  Harlan Stenn.

---
(4.2.8p6) 2016/01/20 Released by Harlan Stenn <stenn@ntp.org>

* [Sec 2935] Deja Vu: Replay attack on authenticated broadcast mode. HStenn.
* [Sec 2936] Skeleton Key: Any trusted key system can serve time. HStenn.
* [Sec 2937] ntpq: nextvar() missing length check. perlinger@ntp.org
* [Sec 2938] ntpq saveconfig command allows dangerous characters
  in filenames. perlinger@ntp.org
* [Sec 2939] reslist NULL pointer dereference.  perlinger@ntp.org
* [Sec 2940] Stack exhaustion in recursive traversal of restriction
  list. perlinger@ntp.org
* [Sec 2942]: Off-path DoS attack on auth broadcast mode.  HStenn.
* [Sec 2945] Zero Origin Timestamp Bypass. perlinger@ntp.org
* [Sec 2948] Potential Infinite Loop in ntpq ( and ntpdc) perlinger@ntp.org
* [Bug 2772] adj_systime overflows tv_usec. perlinger@ntp.org
* [Bug 2814] msyslog deadlock when signaled. perlinger@ntp.org
  - applied patch by shenpeng11@huawei.com with minor adjustments
* [Bug 2882] Look at ntp_request.c:list_peers_sum(). perlinger@ntp.org
* [Bug 2891] Deadlock in deferred DNS lookup framework. perlinger@ntp.org
* [Bug 2892] Several test cases assume IPv6 capabilities even when
             IPv6 is disabled in the build. perlinger@ntp.org
  - Found this already fixed, but validation led to cleanup actions.
* [Bug 2905] DNS lookups broken. perlinger@ntp.org
  - added limits to stack consumption, fixed some return code handling
* [Bug 2971] ntpq bails on ^C: select fails: Interrupted system call
  - changed stacked/nested handling of CTRL-C. perlinger@ntp.org
  - make CTRL-C work for retrieval and printing od MRU list. perlinger@ntp.org
* [Bug 2980] reduce number of warnings. perlinger@ntp.org
  - integrated several patches from Havard Eidnes (he@uninett.no)
* [Bug 2985] bogus calculation in authkeys.c perlinger@ntp.org
  - implement 'auth_log2()' using integer bithack instead of float calculation
* Make leapsec_query debug messages less verbose.  Harlan Stenn.
* Disable incomplete t-ntp_signd.c test.  Harlan Stenn.

---
2016-05-01 15:57:23 +00:00
nonaka
a16da127c4 Remove RAL_DEBUG define. Fix amd64 ALL kernel build failure. 2016-05-01 10:49:59 +00:00
nonaka
5abfa3fb18 note nvme(4). 2016-05-01 10:23:53 +00:00
nonaka
8b5163f01f Added nvme(4) for Non-Volatile Memory Host Controller Interface devices.
Ported from OpenBSD.
2016-05-01 10:21:01 +00:00
martin
8e6585046e Change section flags to "MG" and put it into comdat.
Makes new binutils happy.
2016-05-01 08:33:14 +00:00
martin
92f3e401cd Revert previous (fallout is more subtle but there).
Rework the conditionon so it depends on .S existence instead of an arch
list.
2016-05-01 07:25:46 +00:00
nonaka
14e727d75d kern/50453: Separate Pineview chipset from i915-family chipset support.
Should use AGP_I965_IFPADDR instead AGP_I915_IFPADDR in Pineview, becuase
AGP_I915_IFPADDR is used as PCIEXBAR.
2016-05-01 04:22:50 +00:00
ryo
3116614042 * fix checking physical address range. on some arm devices, physical memory doesn't start from 0x00000000.
* allow /dev/mem to read/write memory mapped I/O area depending on kauth.
2016-04-30 19:20:47 +00:00
jakllsch
7dff8092e7 Make #if 0 code that sets the protocol mode compilable. 2016-04-30 18:40:26 +00:00
skrll
c4de8a7181 Appease gcc - error: 'error' may be used uninitialized in this function 2016-04-30 15:09:25 +00:00
skrll
07f69fc57a Comment updates from t-hash
+ Add and update comments.
    + Update spec URLs.
2016-04-30 15:03:55 +00:00
skrll
4083236f75 Updates from t-hash
+ Split out printing PSI and taking ownership.
    + Split out resetting HC.
    + Split out calculating TRB index.

XXX magic numbers
XXX waits
2016-04-30 15:02:53 +00:00
skrll
df65c6a5b9 Cancel command when command times out. From t-hash.
XXX interrupt context?
2016-04-30 15:00:24 +00:00
skrll
f82b64bc39 Fix type of return value in xhci_do_command 2016-04-30 14:56:20 +00:00
skrll
08a15ca38b Updates from t-hash
+ Change xhci_init() returns errno.
    + Fix memory leaks in error paths.
    + Add more messages for critical errors.
2016-04-30 14:53:06 +00:00
skrll
1ba55c98b2 Wrap long line. From t-hash. 2016-04-30 14:51:04 +00:00
skrll
0c88d1fffc Use XHCI_XFER2XXFER
From t-hash
2016-04-30 14:46:05 +00:00
skrll
c53f3840d8 Make GDIUM_KEYBOARD_HACK compile 2016-04-30 14:33:16 +00:00
jakllsch
8f864f8f01 Change RB_QUIET and RB_VERBOSE to AB_QUIET and AB_VERBOSE.
It appears RB_QUIET and RB_VERBOSE never existed as such.
2016-04-30 14:32:22 +00:00
skrll
f648af835c Make USB_FRAG_DMA_WORKAROUND compile 2016-04-30 14:31:39 +00:00
martin
318ac55504 Gcc 5.3 seems to do fine compiling this for sparc64, so exclude it
from the -O1 hack
2016-04-30 13:12:13 +00:00
macallan
d5b3e25a62 cgfourteen needs glyphcache now 2016-04-30 05:24:45 +00:00
macallan
8c670e8bb1 support anti-aliased fonts, glyphcache etc. 2016-04-30 05:23:03 +00:00
macallan
d4cb83d843 sprinkle ()s in macros 2016-04-30 05:22:19 +00:00
christos
c6dfc962be use "" so ${TEST_SH} is expanded. 2016-04-29 18:29:17 +00:00
mlelstv
6fc95ff617 Extend syntax of config phrase, a quoted string instead of a device name
is passed as root specification string. This can be used to specify a
wedge by name.
2016-04-29 18:18:22 +00:00
joerg
5d45063308 Go back to just using normal visibility for the locale symbols. Without
an actual specifier like dllimport, protected visibility is unusable.
2016-04-29 16:26:48 +00:00
joerg
a114fff726 Revert. For whatever reasons, the ELF visibility attributes are not
meant to be a useful indicator of what an object expects, so for linking
against a protected symbol, it must be declared as normal.
2016-04-29 16:25:55 +00:00
christos
c3fb96a2cc Provide the correct system Makefile path to the tools make. This is needed
because although the arch-specific make wrapper sets $MAKEFLAGS to include
the proper system Makefile path, configure clears $MAKEFLAGS before it invokes
$MAKE to figure out which dependency style to use. This made the build fail
during the gcc build.
2016-04-29 16:08:09 +00:00
christos
3694604d12 move section around. 2016-04-29 13:17:09 +00:00
wiz
eb86c933a1 Sort a bit more. 2016-04-29 12:25:51 +00:00
is
142ff9d692 Let non-neighbor NS/NA debug error message include useful information. 2016-04-29 11:46:17 +00:00
ryoon
09a886100c Tab alignment 2016-04-29 07:12:34 +00:00
skrll
de263a6828 Create the UMASS_INTRIN trasnfer against the correct pipe. Should fix a
problem reported to me by wiz@
2016-04-29 07:11:32 +00:00
christos
c8224fc1eb use variables that could be unused. 2016-04-29 03:05:04 +00:00
christos
fe59939462 mention the PR 2016-04-29 02:38:19 +00:00
christos
fa45b5d705 remove in %s\n", __func__ debugging 2016-04-29 02:27:06 +00:00
christos
017adfc3ae Moved hack to ufs_lookup.c 2016-04-29 02:17:25 +00:00
christos
824109e89c Split ufs_direnter futher and turn off tree-vrp for the broken function. 2016-04-29 02:16:53 +00:00
christos
515ce8ed63 For struct ifnet if_transmit. 2016-04-29 01:14:23 +00:00
mrg
6761b4740e note the -fno-tree-vrp hack for amd64. 2016-04-28 21:18:23 +00:00
mrg
2fd0ab6bd1 XXX: build ufs_lookup.c with -fno-tree-vrp when using GCC 5, for now. 2016-04-28 19:52:43 +00:00
martin
da2aed28fa Switch sparc64 to gcc 5.3. OK: mrg 2016-04-28 18:29:20 +00:00
christos
8eca53f5f0 - merge the options descriptions, sort them.
- fix wrusage name.
2016-04-28 16:07:26 +00:00
christos
185f8748c5 new editline.7 man page. 2016-04-28 15:55:15 +00:00
christos
067b3315ea new man page from Ingo Schwarze. 2016-04-28 15:50:33 +00:00
ozaki-r
a931ad2746 Constify remaining rtentry of if_output (fix build) 2016-04-28 14:40:09 +00:00