Commit Graph

242301 Commits

Author SHA1 Message Date
kre 54c1af73d6 Remove unnecessary extern var declaration that was a
remnant of an earlier version of the previous (fd>10) fixes.

ok christos@
2016-05-03 03:08:21 +00:00
christos 14ff90e1cc minor nits 2016-05-03 00:19:32 +00:00
christos 9da9a79f42 search for the proper variable in the sysroot case. 2016-05-02 23:22:39 +00:00
christos ee17f398d4 move scsipi_strvis -> libkern:strnvisx()
change the prototype to match userland
fix sizes of strings passed to it
2016-05-02 19:18:29 +00:00
christos de74c09c16 Make it look more like rt2560.c 2016-05-02 17:37:23 +00:00
jakllsch 1dac11f22d The on-disk FAT array does not include anything before CLUST_FIRST,
compensate in size check.

This was tickled by my SanDisk Sansa Clip 4GB, which exactly filled the FAT array.
2016-05-02 17:33:03 +00:00
jakllsch ffe5c1f16e Call rump_init() before using rump functionality.
This change should make these test cases consistently fail on all ports.

Related to PR kern/51096.
2016-05-02 17:24:06 +00:00
christos 300e2ca473 eliminate static buffer with custom resizing code. 2016-05-02 16:48:34 +00:00
christos 9ff2bfe491 fix typos from Pedro Giffuni @FreeBSD 2016-05-02 16:35:17 +00:00
kre cd2d9990e2 Add myself. 2016-05-02 16:02:24 +00:00
wiz 7c1df76045 Add missing backslash that broke build. 2016-05-02 14:12:09 +00:00
christos 2f3aa6bd06 Add more MLINKS, sort 2016-05-02 13:01:34 +00:00
christos db4ff162cd Add wide versions of histedit functions
Remove dups
2016-05-02 12:59:30 +00:00
wiz 986567e424 Fix Dd argument. 2016-05-02 12:51:25 +00:00
christos ac44c4d1a4 Add more explicit xrefs 2016-05-02 12:43:35 +00:00
skrll 362f0af293 Remove the "usb_disconnect_port: no device" DIAGNOSTIC message 2016-05-02 11:55:21 +00:00
wiz 077a69b33f Use Mt. 2016-05-02 09:43:33 +00:00
wiz 1c57f9359b New sentence, new line. 2016-05-02 09:41:49 +00:00
wiz 0ad20f8cb7 Fix Dd argument. 2016-05-02 09:39:24 +00:00
wiz 4b483a8522 New sentence, new line. Bump date for previous. 2016-05-02 09:33:15 +00:00
skrll 18ee45f035 Typo in comment 2016-05-02 08:03:23 +00:00
christos 28ac500a6d More redirect tests, in particular, tests for redirects to/from
file descriptors outside the 0..9 range, and complex fd
reassignments.  Also test that the shell can cope with the
value of ulimit -n changing (downwards, up is harmless)
(Freom kre@)
2016-05-02 01:47:14 +00:00
christos 1fad4bb60c Fix handing of user file descriptors outside the 0..9 range.
Also, move (most of) the shell's internal use fd's to much
higher values (depending upon what ulimit -n allows) so they
are less likely to clash with user supplied fd numbers.  A future
patch will (hopefully) avoid this problem completely by dynamically
moving the shell's internal fds around as needed. (From kre@)
2016-05-02 01:46:31 +00:00
dholland 23305f2ea5 Updated supported cards, from coypu in PR 51109 2016-05-02 01:05:34 +00:00
christos 68dbbb44ff merge conflicts 2016-05-01 23:32:00 +00:00
christos 30a6f2ec16 new ntpd 2016-05-01 23:23:22 +00:00
joerg e073a944c0 Fix type name. From Abhinav. 2016-05-01 21:28:21 +00:00
dholland 4068561891 Update: we got an nvme driver. Also mention the ext4 GSoC project. 2016-05-01 20:51:36 +00:00
joerg 1bf1694ac2 Drop stray ^ from output. Found by Abhinav. 2016-05-01 20:25:37 +00:00
palle 61aae0dd96 fill_ddb_regs_from_tf() now fetches Local and In registers as well. 2016-05-01 20:12:54 +00:00
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