Commit Graph

234462 Commits

Author SHA1 Message Date
jmcneill
f02362348e fix typo in previous; pass -y unconditionally to resize_ffs, not -p 2015-04-07 18:02:11 +00:00
christos
4e91feb5e1 remove ancient dup. 2015-04-07 17:49:40 +00:00
christos
ded6176388 From: Joachim Henke
In -current, build.sh fails due to missing zless/zless.1. The attached
patch brings external/zlib/pigz/bin/pigz/Makefile in sync with
usr.bin/gzip/Makefile, which fixes the build.
2015-04-07 17:48:13 +00:00
plunky
877e528c4e largely apply patch from PR bin/47392 by Abhinav Upadhyay
change some comments to reflect reality, a variable name to enhance
readability, and adds an assert for safety.
2015-04-07 17:47:10 +00:00
christos
1bce08c0cb new ntp 2015-04-07 17:41:42 +00:00
christos
7476e6e4d2 merge conflicts 2015-04-07 17:34:18 +00:00
christos
b5bbe2e3e7 ---
(4.2.8p2) 2015/04/07 Released by Harlan Stenn <stenn@ntp.org>
(4.2.8p2-RC3) 2015/04/03 Released by Harlan Stenn <stenn@ntp.org>

* [Bug 2763] Fix for different thresholds for forward and backward steps.
---
(4.2.8p2-RC2) 2015/04/03 Released by Harlan Stenn <stenn@ntp.org>

* [Bug 2592] FLAG_TSTAMP_PPS cleanup for refclock_parse.c.
* [Bug 2769] New script: update-leap
* [Bug 2769] cleannup for update-leap
* [Bug 2788] New flag -G (force_step_once).
* [Bug 2794] Clean up kernel clock status reports.
* [Bug 2795] Cannot build without OpenSLL (on Win32).
  Provided a Win32 specific wrapper around libevent/arc4random.c.
  fixed some minor warnings.
* [Bug 2796] ntp-keygen crashes in 'getclock()' on Win32.
* [Bug 2797] ntp-keygen trapped in endless loop for MD5 keys
  on big-endian machines.
* [Bug 2798] sntp should decode and display the leap indicator.
* Simple cleanup to html/build.html
---
(4.2.8p2-RC1) 2015/03/30 Released by Harlan Stenn <stenn@ntp.org>

* [Bug 2794] Don't let reports on normal kernel status changes
  look like errors.
* [Bug 2788] New flag -G (force_step_once).
* [Bug 2592] Account for PPS sources which can provide an accurate
  absolute time stamp, and status information.
  Fixed indention and removed trailing whitespace.
* [Bug 1787] DCF77's formerly "antenna" bit is "call bit" since 2003.
* [Bug 1960] setsockopt IPV6_MULTICAST_IF: Invalid argument.
* [Bug 2346] "graceful termination" signals do not do peer cleanup.
* [Bug 2728] See if C99-style structure initialization works.
* [Bug 2747] Upgrade libevent to 2.1.5-beta.
* [Bug 2749] ntp/lib/NTP/Util.pm needs update for ntpq -w, IPv6, .POOL. .
* [Bug 2751] jitter.h has stale copies of l_fp macros.
* [Bug 2756] ntpd hangs in startup with gcc 3.3.5 on ARM.
* [Bug 2757] Quiet compiler warnings.
* [Bug 2759] Expose nonvolatile/clk_wander_threshold to ntpq.
* [Bug 2763] Allow different thresholds for forward and backward steps.
* [Bug 2766] ntp-keygen output files should not be world-readable.
* [Bug 2767] ntp-keygen -M should symlink to ntp.keys.
* [Bug 2771] nonvolatile value is documented in wrong units.
* [Bug 2773] Early leap announcement from Palisade/Thunderbolt
* [Bug 2774] Unreasonably verbose printout - leap pending/warning
* [Bug 2775] ntp-keygen.c fails to compile under Windows.
* [Bug 2777] Fixed loops and decoding of Meinberg GPS satellite info.
  Removed non-ASCII characters from some copyright comments.
  Removed trailing whitespace.
  Updated definitions for Meinberg clocks from current Meinberg header files.
  Now use C99 fixed-width types and avoid non-ASCII characters in comments.
  Account for updated definitions pulled from Meinberg header files.
  Updated comments on Meinberg GPS receivers which are not only called GPS16x.
  Replaced some constant numbers by defines from ntp_calendar.h
  Modified creation of parse-specific variables for Meinberg devices
  in gps16x_message().
  Reworked mk_utcinfo() to avoid printing of ambiguous leap second dates.
  Modified mbg_tm_str() which now expexts an additional parameter controlling
  if the time status shall be printed.
* [Sec 2779] ntpd accepts unauthenticated packets with symmetric key crypto.
* [Sec 2781] Authentication doesn't protect symmetric associations against
  DoS attacks.
* [Bug 2783] Quiet autoconf warnings about missing AC_LANG_SOURCE.
* [Bug 2789] Quiet compiler warnings from libevent.
* [Bug 2790] If ntpd sets the Windows MM timer highest resolution
  pause briefly before measuring system clock precision to yield
  correct results.
* Comment from Juergen Perlinger in ntp_calendar.c to make the code clearer.
* Use predefined function types for parse driver functions
  used to set up function pointers.
  Account for changed prototype of parse_inp_fnc_t functions.
  Cast parse conversion results to appropriate types to avoid
  compiler warnings.
  Let ioctl() for Windows accept a (void *) to avoid compiler warnings
  when called with pointers to different types.
---
(4.2.8p1) 2015/02/04 Released by Harlan Stenn <stenn@ntp.org>

* Update the NEWS file.
* [Sec 2671] vallen in extension fields are not validated.
---
(4.2.8p1-RC2) 2015/01/29 Released by Harlan Stenn <stenn@ntp.org>

* [Bug 2627] shm refclock allows only two units with owner-only access
  rework: reverted sense of mode bit (so default reflects previous
  behaviour) and updated ducumentation.
* [Bug 2732] - Leap second not handled correctly on Windows 8
  use 'GetTickCount()' to get the true elapsed time of slew
  (This should work for all versions of Windows >= W2K)
* [Bug 2738] Missing buffer initialization in refclocK_parse.c::parsestate().
* [Bug 2739] Parse driver with PPS enabled occasionally evaluates
  PPS timestamp with wrong sign.
  Removed some German umlauts.
* [Bug 2740] Removed some obsolete code from the parse driver.
* [Bug 2741] Incorrect buffer check in refclocK_parse.c::parsestatus().
---
(4.2.8p1-RC1) 2015/01/24 Released by Harlan Stenn <stenn@ntp.org>

* Start the RC for 4.2.8p1.
* [Bug 2187] Update version number generation scripts.
* [Bug 2617] Fix sntp Usage documentation section.
* [Sec 2672] Code cleanup: On some OSes ::1 can be spoofed...
* [Bug 2736] Show error message if we cannot open the config file.
* Copyright update.
* Fix the package name.
---
(4.2.8p1-beta5) 2015/01/07 Released by Harlan Stenn <stenn@ntp.org>

* [Bug 2695] Windows build: __func__ not supported under Windows.
* [Bug 2728] Work around C99-style structure initialization code
  for older compilers, specifically Visual Studio prior to VS2013.
---
(4.2.8p1-beta4) 2015/01/04 Released by Harlan Stenn <stenn@ntp.org>

* [Bug 1084] PPSAPI for ntpd on Windows with DLL backends
* [Bug 2695] Build problem on Windows (sys/socket.h).
* [Bug 2715] mdnstries option for ntp.conf from NetBSD.
* Fix a regression introduced to timepps-Solaris.h as part of:
  [Bug 1206] Required compiler changes for Windows
  (4.2.5p181) 2009/06/06
---
(4.2.8p1-beta3) 2015/01/02 Released by Harlan Stenn <stenn@ntp.org>

* [Bug 2627] shm refclock allows only two units with owner-only access
  Use mode bit 0 to select public access for units >= 2 (units 0 & 1 are
  always private.
* [Bug 2681] Fix display of certificate EOValidity dates on 32-bit systems.
* [Bug 2695] 4.2.8 does not build on Windows.
* [bug 2700] mrulist stopped working in 4.2.8.
* [Bug 2706] libparse/info_trimble.c build dependencies are broken.
* [Bug 2713] variable type/cast, parameter name, general cleanup from NetBSD.
* [Bug 2714] libevent may need to be built independently of any build of sntp.
* [Bug 2715] mdnstries option for ntp.conf from NetBSD.
---
(4.2.8p1-beta2) 2014/12/27 Released by Harlan Stenn <stenn@ntp.org>

* [Bug 2674] Install sntp in sbin on NetBSD.
* [Bug 2693] ntp-keygen doesn't build without OpenSSL and sntp.
* [Bug 2707] Avoid a C90 extension in libjsmn/jsmn.c.
* [Bug 2709] see if we have a C99 compiler (not yet required).
---
(4.2.8p1-beta1) 2014/12/23 Released by Harlan Stenn <stenn@ntp.org>

* [Sec 2672] On some OSes ::1 can be spoofed, bypassing source IP ACLs.
* [Bug 2693] ntp-keygen doesn't build without OpenSSL.
* [Bug 2697] IN6_IS_ADDR_LOOPBACK build problems on some OSes.
* [Bug 2699] HAVE_SYS_SELECT_H is misspelled in refclock_gpsdjson.c.
---
2015-04-07 16:48:53 +00:00
plunky
312b53dde5 change _whatdb => _mandb as that is the correct keyword here,
and move it to the correct position in the list.
2015-04-07 10:17:21 +00:00
ozaki-r
b2cb5e9e3e Clean up rtcache_setdst
We can assume sockaddr_copy never return NULL when we pass
non-NULL dst (1st argument).
2015-04-07 04:36:19 +00:00
ozaki-r
d4e8318247 Add missing #include <arm/cpu.h> 2015-04-07 03:19:24 +00:00
ozaki-r
a27b421700 Add missing semicolon 2015-04-07 01:24:32 +00:00
jmcneill
89275c06a0 show resize_ffs progress bar when resizing root partition 2015-04-06 22:44:46 +00:00
jmcneill
d0b93bc844 if the -p flag is specified, display a progress bar while growing the file-system 2015-04-06 22:44:04 +00:00
jmcneill
906c0d847e add KEYWORD: interactive, honour resize_root_flags and resize_root_postcmd rc vars 2015-04-06 22:40:09 +00:00
jmcneill
5d40b917cc initialize resize before pulling in board config 2015-04-06 22:20:52 +00:00
wiz
75bbcb9aa1 Document xz decompression support better. From Joachim Henke on netbsd-docs. 2015-04-06 21:41:17 +00:00
wiz
99c656eb68 Grammar, whitespace; make AUTHORS section from HISTORY since it mostly cites
people.
2015-04-06 21:10:31 +00:00
jmcneill
d32faae6e2 Add support for auto-growing the root partition. Enable it for rpi.img. 2015-04-06 20:19:28 +00:00
jmcneill
8c877c0d3d resizing of ffsv2 still doesn't work well, so revert previous, and instead
explicitly set fsize=2048/bsize=16384, which gives a pretty decent boost
to resize_ffs performance on its own
2015-04-06 17:59:36 +00:00
bouyer
f1695f90a0 btmagic(4): add Magic Trackpad support 2015-04-06 17:59:10 +00:00
bouyer
68e044784d Mention magic trackpad support 2015-04-06 17:57:51 +00:00
bouyer
8692d33ed3 Add support for Apple Magic Trackpad.
3 button emulation by detecting in which area of the bottom of
the device the trackpad's button is pressed.
Pointer move support with 1 finger touch, X/Y scroll with 2-finger touch.
TODO:
- detect tap to emulate button press and drag/n/drop.
- Detect and support zoom, if wsmouse allows to report this
2015-04-06 17:45:31 +00:00
bouyer
6a3c9cdcd1 Regen (Add Apple Magic Trackpad) 2015-04-06 17:16:25 +00:00
bouyer
6c1161b408 Add Apple "Magic Trackpad" device id (bluetooth device) 2015-04-06 17:15:32 +00:00
mlelstv
b68ba22239 Parse config file like ifconfig.if(5).
First word is always the module name, followed by options.
Load modules right after root filesystem is checked and before it
becomes writable.
2015-04-06 15:07:50 +00:00
ginsbach
08257a48e9 Add UTC as a synonym for GMT (%Z). [from FreeBSD] 2015-04-06 14:38:22 +00:00
wiz
04c27f1642 Fix important typo, from Joachim Henke on netbsd-docs.
Bump date.
2015-04-06 14:36:41 +00:00
joerg
b4ee0ddd0f Add CI20 install kernel and build that and the normal image as kernel set. 2015-04-06 14:18:08 +00:00
martin
10d361dfc0 Allow local overrides in a CI20.local file 2015-04-06 14:12:28 +00:00
mlelstv
f3a445024e factor out geometry calculation and use this also in CheckOnly mode.
be a bit more verbose in Verbose mode.
2015-04-06 13:33:42 +00:00
mlelstv
4962b364b8 Handle case in grow() where last cylinder group is too small for ufs2.
Align with code in shrink().
2015-04-06 12:38:21 +00:00
mlelstv
e3844e18d1 Make DIOCKLABEL work. Set default to keep the disklabel after close to
not change current behaviour.
2015-04-06 12:02:08 +00:00
martin
4a2bbe3d84 Force gcc to pass -msoft-float to the assembler (to make newer binutils
happy)
2015-04-06 10:49:13 +00:00
ozaki-r
6e2d87e586 Classify and sort prototype declarations
No functional change.
2015-04-06 09:45:58 +00:00
yamt
b549d229c6 Fix membars around rtld internal mutex.
This fixes the most of lockups i observed with Open vSwitch
on NetBSD/amd64.  ("most of" because it still occasionally
locks up because of other problems.  see PR/49816)
2015-04-06 09:34:15 +00:00
hannken
a494ee15b8 Change udf to vcache, keyed on udf_node->loc.loc. 2015-04-06 08:39:23 +00:00
ozaki-r
51022ca953 Make rt_maskedcopy static 2015-04-06 08:39:06 +00:00
hannken
94abdca3c1 Move the removal of unlinked nodes from udf_inactive() to udf_reclaim(). 2015-04-06 08:38:25 +00:00
martin
58e6995b46 Make sure to halt (not just stop) the bge_tick callout during detach. 2015-04-06 07:38:17 +00:00
ozaki-r
516f7fb118 Add hint comments for big ifdef 2015-04-06 06:26:21 +00:00
ozaki-r
6efd00dd29 Include sys/sysctl.h ifdef RTFLUSH_DEBUG 2015-04-06 06:20:27 +00:00
ozaki-r
f5ac3a72e5 Remove unnecessary inclusions 2015-04-06 06:16:30 +00:00
riastradh
c955328013 Missed a zero: it's 0x100000, not 0x10000. 2015-04-06 02:29:18 +00:00
uwe
c9951c23e1 On swapcontext(3) preserve r12 too. Properly fixes PR port-sh3/49597. 2015-04-06 01:50:46 +00:00
riastradh
8e8ad4e145 Don't let anyone else allocate the video BIOS either. 2015-04-06 01:11:19 +00:00
rtr
cefecbaa6b fix typo bindinging -> binding 2015-04-05 23:28:10 +00:00
rtr
ab64ace65a change return from EINVAL to EAFNOSUPPORT when the domain of the socket
does not match the family of the address to be bound.

fixes atf test lib/libc/sys/t_bind bind_foreign_family
2015-04-05 23:19:56 +00:00
rtr
f0da3f110d add another test program for connect(2) that checks that connect fails
with EAFNOSUPPORT (similar to the bind test) if the domain of the socket
does not match the address family of the supplied address.

test currently fails as it should
2015-04-05 23:17:41 +00:00
rtr
a954fb5823 - ATF_REQUIRE(EINVAL == errno);
+       ATF_REQUIRE(EAFNOSUPPORT == errno);

as per http://pubs.opengroup.org/onlinepubs/009695399/functions/bind.html

while here remove some unnecessary initialization of port and addr members
and replace with a comment explaining why.
2015-04-05 23:15:54 +00:00
christos
b554e5dbff don't forget to include config.h otherwise it thinks we don't have vnsnprintf
and fortify compiles fail.
2015-04-05 22:36:36 +00:00