Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Mar 2015 23:01:28 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r279759 - in projects/clang360-import: . bin/rcp contrib/libc++/include contrib/tzdata lib/libc/gen lib/libc/stdlib lib/libc/sys sbin/ifconfig share/dtrace share/man/man4 sys/amd64/amd6...
Message-ID:  <201503072301.t27N1SX9022231@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dim
Date: Sat Mar  7 23:01:27 2015
New Revision: 279759
URL: https://svnweb.freebsd.org/changeset/base/279759

Log:
  Merging ^/head r279596 through r279758.

Added:
  projects/clang360-import/share/dtrace/tcpconn
     - copied unchanged from r279758, head/share/dtrace/tcpconn
  projects/clang360-import/share/dtrace/tcpstate
     - copied unchanged from r279758, head/share/dtrace/tcpstate
  projects/clang360-import/share/dtrace/tcptrack
     - copied unchanged from r279758, head/share/dtrace/tcptrack
  projects/clang360-import/sys/dev/uart/uart_cpu_fdt.h
     - copied unchanged from r279758, head/sys/dev/uart/uart_cpu_fdt.h
Deleted:
  projects/clang360-import/usr.bin/calendar/calcpp.c
Modified:
  projects/clang360-import/UPDATING
  projects/clang360-import/bin/rcp/Makefile
  projects/clang360-import/contrib/libc++/include/__bit_reference
  projects/clang360-import/contrib/libc++/include/__tree
  projects/clang360-import/contrib/libc++/include/algorithm
  projects/clang360-import/contrib/tzdata/antarctica
  projects/clang360-import/contrib/tzdata/asia
  projects/clang360-import/contrib/tzdata/backward
  projects/clang360-import/contrib/tzdata/europe
  projects/clang360-import/contrib/tzdata/leap-seconds.list
  projects/clang360-import/contrib/tzdata/northamerica
  projects/clang360-import/contrib/tzdata/southamerica
  projects/clang360-import/contrib/tzdata/zone.tab
  projects/clang360-import/contrib/tzdata/zone1970.tab
  projects/clang360-import/lib/libc/gen/getpwent.c
  projects/clang360-import/lib/libc/stdlib/qsort.c
  projects/clang360-import/lib/libc/sys/cap_ioctls_limit.2
  projects/clang360-import/sbin/ifconfig/af_inet6.c
  projects/clang360-import/sbin/ifconfig/af_nd6.c
  projects/clang360-import/sbin/ifconfig/ifconfig.8
  projects/clang360-import/share/dtrace/Makefile
  projects/clang360-import/share/man/man4/Makefile
  projects/clang360-import/share/man/man4/ds3231.4
  projects/clang360-import/sys/amd64/amd64/mp_machdep.c
  projects/clang360-import/sys/amd64/vmm/io/vatpic.c
  projects/clang360-import/sys/arm/arm/db_trace.c
  projects/clang360-import/sys/arm/arm/exception.S
  projects/clang360-import/sys/arm/arm/physmem.c
  projects/clang360-import/sys/arm/arm/undefined.c
  projects/clang360-import/sys/arm/at91/uart_bus_at91usart.c
  projects/clang360-import/sys/arm/at91/uart_cpu_at91usart.c
  projects/clang360-import/sys/arm/at91/uart_dev_at91usart.c
  projects/clang360-import/sys/arm/conf/BEAGLEBONE
  projects/clang360-import/sys/arm/freescale/vybrid/vf_uart.c
  projects/clang360-import/sys/arm/samsung/exynos/exynos_uart.c
  projects/clang360-import/sys/arm/samsung/s3c2xx0/uart_bus_s3c2410.c
  projects/clang360-import/sys/arm/samsung/s3c2xx0/uart_cpu_s3c2410.c
  projects/clang360-import/sys/arm/xilinx/uart_dev_cdnc.c
  projects/clang360-import/sys/arm/xilinx/zy7_devcfg.c
  projects/clang360-import/sys/arm/xilinx/zy7_slcr.c
  projects/clang360-import/sys/arm/xilinx/zy7_slcr.h
  projects/clang360-import/sys/boot/amd64/boot1.efi/boot1.c
  projects/clang360-import/sys/boot/i386/boot2/Makefile
  projects/clang360-import/sys/boot/pc98/boot2/Makefile
  projects/clang360-import/sys/cam/scsi/scsi_da.c
  projects/clang360-import/sys/cddl/contrib/opensolaris/uts/common/sys/dtrace.h
  projects/clang360-import/sys/cddl/dev/dtrace/arm/dtrace_asm.S
  projects/clang360-import/sys/cddl/dev/dtrace/arm/dtrace_subr.c
  projects/clang360-import/sys/cddl/dev/dtrace/powerpc/dtrace_subr.c
  projects/clang360-import/sys/cddl/dev/fbt/arm/fbt_isa.c
  projects/clang360-import/sys/conf/Makefile.powerpc
  projects/clang360-import/sys/dev/acpica/acpi.c
  projects/clang360-import/sys/dev/cxgbe/t4_netmap.c
  projects/clang360-import/sys/dev/drm2/drm_irq.c
  projects/clang360-import/sys/dev/fb/fbd.c
  projects/clang360-import/sys/dev/gpio/gpiobus.c
  projects/clang360-import/sys/dev/gpio/gpiobusvar.h
  projects/clang360-import/sys/dev/gpio/ofw_gpiobus.c
  projects/clang360-import/sys/dev/mps/mps_sas.c
  projects/clang360-import/sys/dev/uart/uart.h
  projects/clang360-import/sys/dev/uart/uart_bus_fdt.c
  projects/clang360-import/sys/dev/uart/uart_cpu_fdt.c
  projects/clang360-import/sys/dev/uart/uart_dev_imx.c
  projects/clang360-import/sys/dev/uart/uart_dev_lpc.c
  projects/clang360-import/sys/dev/uart/uart_dev_msm.c
  projects/clang360-import/sys/dev/uart/uart_dev_ns8250.c
  projects/clang360-import/sys/dev/uart/uart_dev_pl011.c
  projects/clang360-import/sys/dev/uart/uart_dev_ti8250.c
  projects/clang360-import/sys/dev/uart/uart_subr.c
  projects/clang360-import/sys/dev/usb/quirk/usb_quirk.c
  projects/clang360-import/sys/dev/usb/serial/u3g.c
  projects/clang360-import/sys/dev/usb/serial/usb_serial.c
  projects/clang360-import/sys/dev/usb/serial/usb_serial.h
  projects/clang360-import/sys/dev/usb/usbdevs
  projects/clang360-import/sys/dev/usb/video/udl.c
  projects/clang360-import/sys/dev/virtio/block/virtio_blk.c
  projects/clang360-import/sys/dev/virtio/block/virtio_blk.h
  projects/clang360-import/sys/dev/vt/hw/fb/vt_fb.c
  projects/clang360-import/sys/i386/i386/mp_machdep.c
  projects/clang360-import/sys/kern/kern_tc.c
  projects/clang360-import/sys/kern/link_elf.c
  projects/clang360-import/sys/modules/drm2/Makefile
  projects/clang360-import/sys/modules/drm2/radeonkmsfw/Makefile
  projects/clang360-import/sys/modules/dtrace/dtraceall/dtraceall.c
  projects/clang360-import/sys/netinet/if_ether.c
  projects/clang360-import/sys/netinet6/in6.c
  projects/clang360-import/sys/netinet6/in6_pcb.c
  projects/clang360-import/sys/netinet6/nd6.h
  projects/clang360-import/sys/netinet6/nd6_nbr.c
  projects/clang360-import/sys/netipsec/key.c
  projects/clang360-import/sys/powerpc/aim/locore32.S
  projects/clang360-import/sys/powerpc/aim/machdep.c
  projects/clang360-import/sys/powerpc/aim/trap.c
  projects/clang360-import/sys/powerpc/aim/trap_subr32.S
  projects/clang360-import/sys/powerpc/aim/trap_subr64.S
  projects/clang360-import/sys/powerpc/booke/interrupt.c
  projects/clang360-import/sys/powerpc/booke/locore.S
  projects/clang360-import/sys/powerpc/booke/machdep.c
  projects/clang360-import/sys/powerpc/booke/pmap.c
  projects/clang360-import/sys/powerpc/booke/trap.c
  projects/clang360-import/sys/powerpc/booke/trap_subr.S
  projects/clang360-import/sys/powerpc/include/frame.h
  projects/clang360-import/sys/powerpc/ofw/ofwcall32.S
  projects/clang360-import/sys/powerpc/powerpc/db_trace.c
  projects/clang360-import/sys/powerpc/powerpc/elf32_machdep.c
  projects/clang360-import/sys/powerpc/powerpc/exec_machdep.c
  projects/clang360-import/sys/powerpc/powerpc/genassym.c
  projects/clang360-import/sys/powerpc/powerpc/swtch32.S
  projects/clang360-import/sys/powerpc/ps3/ps3_syscons.c
  projects/clang360-import/sys/sys/buf.h
  projects/clang360-import/sys/sys/elf_common.h
  projects/clang360-import/sys/sys/param.h
  projects/clang360-import/sys/sys/timepps.h
  projects/clang360-import/sys/vm/vm_object.c
  projects/clang360-import/sys/vm/vm_pager.c
  projects/clang360-import/sys/vm/vnode_pager.c
  projects/clang360-import/tools/regression/usr.bin/env/regress-env.rgdata
  projects/clang360-import/usr.bin/calendar/Makefile
  projects/clang360-import/usr.bin/calendar/calendar.h
  projects/clang360-import/usr.bin/calendar/io.c
  projects/clang360-import/usr.bin/rlogin/Makefile
  projects/clang360-import/usr.bin/rlogin/rlogin.c
  projects/clang360-import/usr.bin/rsh/Makefile
  projects/clang360-import/usr.sbin/bhyve/block_if.c
  projects/clang360-import/usr.sbin/bhyve/block_if.h
  projects/clang360-import/usr.sbin/bhyve/pci_ahci.c
  projects/clang360-import/usr.sbin/bhyve/pci_virtio_block.c
  projects/clang360-import/usr.sbin/sysrc/sysrc
  projects/clang360-import/usr.sbin/sysrc/sysrc.8
Directory Properties:
  projects/clang360-import/   (props changed)
  projects/clang360-import/contrib/libc++/   (props changed)
  projects/clang360-import/contrib/tzdata/   (props changed)
  projects/clang360-import/lib/libc/   (props changed)
  projects/clang360-import/sbin/   (props changed)
  projects/clang360-import/share/   (props changed)
  projects/clang360-import/share/man/man4/   (props changed)
  projects/clang360-import/sys/   (props changed)
  projects/clang360-import/sys/amd64/vmm/   (props changed)
  projects/clang360-import/sys/boot/   (props changed)
  projects/clang360-import/sys/cddl/contrib/opensolaris/   (props changed)
  projects/clang360-import/sys/conf/   (props changed)
  projects/clang360-import/usr.bin/calendar/   (props changed)
  projects/clang360-import/usr.sbin/bhyve/   (props changed)

Modified: projects/clang360-import/UPDATING
==============================================================================
--- projects/clang360-import/UPDATING	Sat Mar  7 22:55:31 2015	(r279758)
+++ projects/clang360-import/UPDATING	Sat Mar  7 23:01:27 2015	(r279759)
@@ -34,6 +34,12 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 11
 2015mmdd:
 	Clang and llvm have been upgraded to 3.6.0 release.
 
+20150307:
+	The 32-bit PowerPC kernel has been changed to a position-independent
+	executable. This can only be booted with a version of loader(8)
+	newer than January 31, 2015, so make sure to update both world and
+	kernel before rebooting.
+
 20150217:
 	If you are running a -CURRENT kernel since r273872 (Oct 30th, 2014),
 	but before r278950, the RNG was not seeded properly.  Immediately

Modified: projects/clang360-import/bin/rcp/Makefile
==============================================================================
--- projects/clang360-import/bin/rcp/Makefile	Sat Mar  7 22:55:31 2015	(r279758)
+++ projects/clang360-import/bin/rcp/Makefile	Sat Mar  7 23:01:27 2015	(r279759)
@@ -7,6 +7,5 @@ CFLAGS+=-DBINDIR=${BINDIR}
 
 BINOWN=	root
 BINMODE=4555
-PRECIOUSPROG=
 
 .include <bsd.prog.mk>

Modified: projects/clang360-import/contrib/libc++/include/__bit_reference
==============================================================================
--- projects/clang360-import/contrib/libc++/include/__bit_reference	Sat Mar  7 22:55:31 2015	(r279758)
+++ projects/clang360-import/contrib/libc++/include/__bit_reference	Sat Mar  7 23:01:27 2015	(r279759)
@@ -906,7 +906,6 @@ rotate(__bit_iterator<_Cp, false> __firs
 {
     typedef __bit_iterator<_Cp, false> _I1;
     typedef  typename _I1::difference_type difference_type;
-    typedef typename _I1::__storage_type __storage_type;
     difference_type __d1 = __middle - __first;
     difference_type __d2 = __last - __middle;
     _I1 __r = __first + __d2;

Modified: projects/clang360-import/contrib/libc++/include/__tree
==============================================================================
--- projects/clang360-import/contrib/libc++/include/__tree	Sat Mar  7 22:55:31 2015	(r279758)
+++ projects/clang360-import/contrib/libc++/include/__tree	Sat Mar  7 23:01:27 2015	(r279759)
@@ -2069,7 +2069,6 @@ template <class _Key>
 typename __tree<_Tp, _Compare, _Allocator>::size_type
 __tree<_Tp, _Compare, _Allocator>::__count_multi(const _Key& __k) const
 {
-    typedef pair<const_iterator, const_iterator> _Pp;
     __node_const_pointer __result = __end_node();
     __node_const_pointer __rt = __root();
     while (__rt != nullptr)

Modified: projects/clang360-import/contrib/libc++/include/algorithm
==============================================================================
--- projects/clang360-import/contrib/libc++/include/algorithm	Sat Mar  7 22:55:31 2015	(r279758)
+++ projects/clang360-import/contrib/libc++/include/algorithm	Sat Mar  7 23:01:27 2015	(r279759)
@@ -4365,8 +4365,6 @@ __buffered_inplace_merge(_BidirectionalI
                 typename iterator_traits<_BidirectionalIterator>::value_type* __buff)
 {
     typedef typename iterator_traits<_BidirectionalIterator>::value_type value_type;
-    typedef typename iterator_traits<_BidirectionalIterator>::difference_type difference_type;
-    typedef typename iterator_traits<_BidirectionalIterator>::pointer pointer;
     __destruct_n __d(0);
     unique_ptr<value_type, __destruct_n&> __h2(__buff, __d);
     if (__len1 <= __len2)
@@ -4400,7 +4398,6 @@ __inplace_merge(_BidirectionalIterator _
                                  typename iterator_traits<_BidirectionalIterator>::difference_type __len2,
                 typename iterator_traits<_BidirectionalIterator>::value_type* __buff, ptrdiff_t __buff_size)
 {
-    typedef typename iterator_traits<_BidirectionalIterator>::value_type value_type;
     typedef typename iterator_traits<_BidirectionalIterator>::difference_type difference_type;
     while (true)
     {
@@ -4799,7 +4796,6 @@ void
 __sift_up(_RandomAccessIterator __first, _RandomAccessIterator __last, _Compare __comp,
           typename iterator_traits<_RandomAccessIterator>::difference_type __len)
 {
-    typedef typename iterator_traits<_RandomAccessIterator>::difference_type difference_type;
     typedef typename iterator_traits<_RandomAccessIterator>::value_type value_type;
     if (__len > 1)
     {

Modified: projects/clang360-import/contrib/tzdata/antarctica
==============================================================================
--- projects/clang360-import/contrib/tzdata/antarctica	Sat Mar  7 22:55:31 2015	(r279758)
+++ projects/clang360-import/contrib/tzdata/antarctica	Sat Mar  7 23:01:27 2015	(r279759)
@@ -47,8 +47,8 @@ Rule	ChileAQ	2009	only	-	Mar	Sun>=9	3:00
 Rule	ChileAQ	2010	only	-	Apr	Sun>=1	3:00u	0	-
 Rule	ChileAQ	2011	only	-	May	Sun>=2	3:00u	0	-
 Rule	ChileAQ	2011	only	-	Aug	Sun>=16	4:00u	1:00	S
-Rule	ChileAQ	2012	max	-	Apr	Sun>=23	3:00u	0	-
-Rule	ChileAQ	2012	max	-	Sep	Sun>=2	4:00u	1:00	S
+Rule	ChileAQ	2012	2015	-	Apr	Sun>=23	3:00u	0	-
+Rule	ChileAQ	2012	2014	-	Sep	Sun>=2	4:00u	1:00	S
 
 # Argentina - year-round bases
 # Belgrano II, Confin Coast, -770227-0343737, since 1972-02-05
@@ -354,9 +354,10 @@ Zone Antarctica/Rothera	0	-	zzz	1976 Dec
 #
 # Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
 Zone Antarctica/Palmer	0	-	zzz	1965
-			-4:00	ArgAQ	AR%sT	1969 Oct 5
+			-4:00	ArgAQ	AR%sT	1969 Oct  5
 			-3:00	ArgAQ	AR%sT	1982 May
-			-4:00	ChileAQ	CL%sT
+			-4:00	ChileAQ	CL%sT	2015 Apr 26 3:00u
+			-3:00	-	CLT
 #
 #
 # McMurdo Station, Ross Island, since 1955-12

Modified: projects/clang360-import/contrib/tzdata/asia
==============================================================================
--- projects/clang360-import/contrib/tzdata/asia	Sat Mar  7 22:55:31 2015	(r279758)
+++ projects/clang360-import/contrib/tzdata/asia	Sat Mar  7 23:01:27 2015	(r279759)
@@ -145,10 +145,7 @@ Zone	Asia/Baku	3:19:24 -	LMT	1924 May  2
 			4:00	Azer	AZ%sT
 
 # Bahrain
-# Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
-Zone	Asia/Bahrain	3:22:20 -	LMT	1920     # Manamah
-			4:00	-	GST	1972 Jun
-			3:00	-	AST
+# See Asia/Qatar.
 
 # Bangladesh
 # From Alexander Krivenyshev (2009-05-13):
@@ -1731,9 +1728,7 @@ Zone	Asia/Pyongyang	8:23:00 -	LMT	1908 A
 ###############################################################################
 
 # Kuwait
-# Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
-Zone	Asia/Kuwait	3:11:56 -	LMT	1950
-			3:00	-	AST
+# See Asia/Riyadh.
 
 # Laos
 # See Asia/Bangkok.
@@ -1954,12 +1949,7 @@ Zone	Asia/Kathmandu	5:41:16 -	LMT	1920
 			5:45	-	NPT	# Nepal Time
 
 # Oman
-
-# Milne says 3:54:24 was the meridian of the Muscat Tidal Observatory.
-
-# Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
-Zone	Asia/Muscat	3:54:24 -	LMT	1920
-			4:00	-	GST
+# See Asia/Dubai.
 
 # Pakistan
 
@@ -2453,6 +2443,7 @@ Zone	Asia/Manila	-15:56:00 -	LMT	1844 De
 Zone	Asia/Qatar	3:26:08 -	LMT	1920     # Al Dawhah / Doha
 			4:00	-	GST	1972 Jun
 			3:00	-	AST
+Link Asia/Qatar Asia/Bahrain
 
 # Saudi Arabia
 #
@@ -2479,6 +2470,8 @@ Zone	Asia/Qatar	3:26:08 -	LMT	1920     #
 # Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
 Zone	Asia/Riyadh	3:06:52 -	LMT	1947 Mar 14
 			3:00	-	AST
+Link Asia/Riyadh Asia/Aden	# Yemen
+Link Asia/Riyadh Asia/Kuwait
 
 # Singapore
 # taken from Mok Ly Yng (2003-10-30)
@@ -2767,6 +2760,7 @@ Zone	Asia/Ashgabat	3:53:32 -	LMT	1924 Ma
 # Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
 Zone	Asia/Dubai	3:41:12 -	LMT	1920
 			4:00	-	GST
+Link Asia/Dubai Asia/Muscat	# Oman
 
 # Uzbekistan
 # Byalokoz 1919 says Uzbekistan was 4:27:53.
@@ -2851,10 +2845,4 @@ Zone Asia/Ho_Chi_Minh	7:06:40 -	LMT	1906
 			7:00	-	ICT
 
 # Yemen
-
-# Milne says 2:59:54 was the meridian of the saluting battery at Aden,
-# and that Yemen was at 1:55:56, the meridian of the Hagia Sophia.
-
-# Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
-Zone	Asia/Aden	2:59:54	-	LMT	1950
-			3:00	-	AST
+# See Asia/Riyadh.

Modified: projects/clang360-import/contrib/tzdata/backward
==============================================================================
--- projects/clang360-import/contrib/tzdata/backward	Sat Mar  7 22:55:31 2015	(r279758)
+++ projects/clang360-import/contrib/tzdata/backward	Sat Mar  7 23:01:27 2015	(r279759)
@@ -5,7 +5,7 @@
 # and their old names.  Many names changed in late 1993.
 
 # Link	TARGET			LINK-NAME
-Link	Africa/Asmara		Africa/Asmera
+Link	Africa/Nairobi		Africa/Asmera
 Link	Africa/Abidjan		Africa/Timbuktu
 Link	America/Argentina/Catamarca	America/Argentina/ComodRivadavia
 Link	America/Adak		America/Atka

Modified: projects/clang360-import/contrib/tzdata/europe
==============================================================================
--- projects/clang360-import/contrib/tzdata/europe	Sat Mar  7 22:55:31 2015	(r279758)
+++ projects/clang360-import/contrib/tzdata/europe	Sat Mar  7 23:01:27 2015	(r279759)
@@ -1407,35 +1407,32 @@ Zone	Europe/Budapest	1:16:20 -	LMT	1890 
 # might be a reference to the Julian calendar as opposed to Gregorian, or it
 # might mean something else (???).
 #
-# From Paul Eggert (2006-03-22):
-# The Iceland Almanak, Shanks & Pottenger, and Whitman disagree on many points.
-# We go with the Almanak, except for one claim from Shanks & Pottenger, namely
-# that Reykavik was 21W57 from 1837 to 1908, local mean time before that.
+# From Paul Eggert (2014-11-22):
+# The information below is taken from the 1988 Almanak; see
+# http://www.almanak.hi.is/klukkan.html
 #
 # Rule	NAME	FROM	TO	TYPE	IN	ON	AT	SAVE	LETTER/S
-Rule	Iceland	1917	1918	-	Feb	19	23:00	1:00	S
+Rule	Iceland	1917	1919	-	Feb	19	23:00	1:00	S
 Rule	Iceland	1917	only	-	Oct	21	 1:00	0	-
-Rule	Iceland	1918	only	-	Nov	16	 1:00	0	-
+Rule	Iceland	1918	1919	-	Nov	16	 1:00	0	-
+Rule	Iceland	1921	only	-	Mar	19	23:00	1:00	S
+Rule	Iceland	1921	only	-	Jun	23	 1:00	0	-
 Rule	Iceland	1939	only	-	Apr	29	23:00	1:00	S
-Rule	Iceland	1939	only	-	Nov	29	 2:00	0	-
+Rule	Iceland	1939	only	-	Oct	29	 2:00	0	-
 Rule	Iceland	1940	only	-	Feb	25	 2:00	1:00	S
-Rule	Iceland	1940	only	-	Nov	 3	 2:00	0	-
-Rule	Iceland	1941	only	-	Mar	 2	 1:00s	1:00	S
-Rule	Iceland	1941	only	-	Nov	 2	 1:00s	0	-
-Rule	Iceland	1942	only	-	Mar	 8	 1:00s	1:00	S
-Rule	Iceland	1942	only	-	Oct	25	 1:00s	0	-
+Rule	Iceland	1940	1941	-	Nov	Sun>=2	 1:00s	0	-
+Rule	Iceland	1941	1942	-	Mar	Sun>=2	 1:00s	1:00	S
 # 1943-1946 - first Sunday in March until first Sunday in winter
 Rule	Iceland	1943	1946	-	Mar	Sun>=1	 1:00s	1:00	S
-Rule	Iceland	1943	1948	-	Oct	Sun>=22	 1:00s	0	-
+Rule	Iceland	1942	1948	-	Oct	Sun>=22	 1:00s	0	-
 # 1947-1967 - first Sunday in April until first Sunday in winter
 Rule	Iceland	1947	1967	-	Apr	Sun>=1	 1:00s	1:00	S
-# 1949 Oct transition delayed by 1 week
+# 1949 and 1967 Oct transitions delayed by 1 week
 Rule	Iceland	1949	only	-	Oct	30	 1:00s	0	-
 Rule	Iceland	1950	1966	-	Oct	Sun>=22	 1:00s	0	-
 Rule	Iceland	1967	only	-	Oct	29	 1:00s	0	-
 # Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
-Zone Atlantic/Reykjavik	-1:27:24 -	LMT	1837
-			-1:27:48 -	RMT	1908 # Reykjavik Mean Time?
+Zone Atlantic/Reykjavik	-1:28	-	LMT	1908
 			-1:00	Iceland	IS%sT	1968 Apr  7  1:00s
 			 0:00	-	GMT
 

Modified: projects/clang360-import/contrib/tzdata/leap-seconds.list
==============================================================================
--- projects/clang360-import/contrib/tzdata/leap-seconds.list	Sat Mar  7 22:55:31 2015	(r279758)
+++ projects/clang360-import/contrib/tzdata/leap-seconds.list	Sat Mar  7 23:01:27 2015	(r279759)
@@ -47,7 +47,7 @@
 #	and can be ignored for many purposes. These differences
 #	are tabulated in Circular T, which is published monthly
 #	by the International Bureau of Weights and Measures
-#	(BIPM). See www.bipm.fr for more information.
+#	(BIPM). See www.bipm.org for more information.
 #
 #	3. The current definition of the relationship between UTC
 #	and TAI dates from 1 January 1972. A number of different
@@ -127,6 +127,15 @@
 #	with, since the difficulty of unambiguously representing the epoch
 #	during the leap second does not arise.
 #
+#	Some systems implement leap seconds by amortizing the leap second
+#	over the last few minutes of the day. The frequency of the local
+#	clock is decreased (or increased) to realize the positive (or
+#	negative) leap second. This method removes the time step described
+#	above. Although the long-term behavior of the time scale is correct 
+#	in this case, this method introduces an error during the adjustment 
+#	period both in time and in frequency with respect to the official 
+#	defintion of UTC.
+#
 #	Questions or comments to:
 #		Judah Levine
 #		Time and Frequency Division
@@ -134,7 +143,7 @@
 #		Boulder, Colorado
 #		Judah.Levine@nist.gov
 #
-#	Last Update of leap second values:   11 January 2012
+#	Last Update of leap second values:   5 January 2015
 #
 #	The following line shows this last update date in NTP timestamp
 #	format. This is the date on which the most recent change to
@@ -142,7 +151,7 @@
 #	be identified by the unique pair of characters in the first two
 #	columns as shown below.
 #
-#$	 3535228800
+#$	 3629404800
 #
 #	The NTP timestamps are in units of seconds since the NTP epoch,
 #	which is 1 January 1900, 00:00:00. The Modified Julian Day number
@@ -190,10 +199,10 @@
 #	current -- the update time stamp, the data and the name of the file
 #	will not change.
 #
-#	Updated through IERS Bulletin C48
-#	File expires on:  28 June 2015
+#	Updated through IERS Bulletin C49
+#	File expires on:  28 December 2015
 #
-#@	3644438400
+#@	3660249600
 #
 2272060800	10	# 1 Jan 1972
 2287785600	11	# 1 Jul 1972
@@ -221,6 +230,7 @@
 3345062400	33	# 1 Jan 2006
 3439756800	34	# 1 Jan 2009
 3550089600	35	# 1 Jul 2012
+3644697600	36	# 1 Jul 2015
 #
 #	the following special comment contains the
 #	hash value of the data in this file computed
@@ -236,4 +246,4 @@
 #	the hash line is also ignored in the
 #	computation.
 #
-#h	a4862ccd c6f43c6 964f3604 85944a26 b5cfad4e
+#h	45e70fa7 a9df2033 f4a49ab0 ec648273 7b6c22c

Modified: projects/clang360-import/contrib/tzdata/northamerica
==============================================================================
--- projects/clang360-import/contrib/tzdata/northamerica	Sat Mar  7 22:55:31 2015	(r279758)
+++ projects/clang360-import/contrib/tzdata/northamerica	Sat Mar  7 23:01:27 2015	(r279759)
@@ -124,7 +124,7 @@ Rule	US	1918	1919	-	Mar	lastSun	2:00	1:0
 Rule	US	1918	1919	-	Oct	lastSun	2:00	0	S
 Rule	US	1942	only	-	Feb	9	2:00	1:00	W # War
 Rule	US	1945	only	-	Aug	14	23:00u	1:00	P # Peace
-Rule	US	1945	only	-	Sep	30	2:00	0	S
+Rule	US	1945	only	-	Sep	lastSun	2:00	0	S
 Rule	US	1967	2006	-	Oct	lastSun	2:00	0	S
 Rule	US	1967	1973	-	Apr	lastSun	2:00	1:00	D
 Rule	US	1974	only	-	Jan	6	2:00	1:00	D
@@ -2124,11 +2124,11 @@ Zone America/Dawson	-9:17:40 -	LMT	1900 
 
 # Mexico
 
-# From Paul Eggert (2001-03-05):
+# From Paul Eggert (2014-12-07):
 # The Investigation and Analysis Service of the
 # Mexican Library of Congress (MLoC) has published a
 # history of Mexican local time (in Spanish)
-# http://www.cddhcu.gob.mx/bibliot/publica/inveyana/polisoc/horver/
+# http://www.diputados.gob.mx/bibliot/publica/inveyana/polisoc/horver/index.htm
 #
 # Here are the discrepancies between Shanks & Pottenger (S&P) and the MLoC.
 # (In all cases we go with the MLoC.)
@@ -2297,6 +2297,24 @@ Zone America/Dawson	-9:17:40 -	LMT	1900 
 # efecto desde las dos horas del segundo domingo de marzo y concluirá a
 # las dos horas del primer domingo de noviembre.
 
+# From Steffen Thorsen (2014-12-08), translated by Gwillim Law:
+# The Mexican state of Quintana Roo will likely change to EST in 2015.
+#
+# http://www.unioncancun.mx/articulo/2014/12/04/medio-ambiente/congreso-aprueba-una-hora-mas-de-sol-en-qroo
+# "With this change, the time conflict that has existed between the municipios
+# of Quintana Roo and the municipio of Felipe Carrillo Puerto may come to an
+# end. The latter declared itself in rebellion 15 years ago when a time change
+# was initiated in Mexico, and since then it has refused to change its time
+# zone along with the rest of the country."
+#
+# From Steffen Thorsen (2015-01-14), translated by Gwillim Law:
+# http://sipse.com/novedades/confirman-aplicacion-de-nueva-zona-horaria-para-quintana-roo-132331.html
+# "...the new time zone will come into effect at two o'clock on the first Sunday
+# of February, when we will have to advance the clock one hour from its current
+# time..."
+#
+# Also, the new zone will not use DST.
+
 # Rule	NAME	FROM	TO	TYPE	IN	ON	AT	SAVE	LETTER/S
 Rule	Mexico	1939	only	-	Feb	5	0:00	1:00	D
 Rule	Mexico	1939	only	-	Jun	25	0:00	0	S
@@ -2317,7 +2335,8 @@ Rule	Mexico	2002	max	-	Oct	lastSun	2:00	
 Zone America/Cancun	-5:47:04 -	LMT	1922 Jan  1  0:12:56
 			-6:00	-	CST	1981 Dec 23
 			-5:00	Mexico	E%sT	1998 Aug  2  2:00
-			-6:00	Mexico	C%sT
+			-6:00	Mexico	C%sT	2015 Feb  1  2:00
+			-5:00	-	EST
 # Campeche, Yucatán; represented by Mérida
 Zone America/Merida	-5:58:28 -	LMT	1922 Jan  1  0:01:32
 			-6:00	-	CST	1981 Dec 23

Modified: projects/clang360-import/contrib/tzdata/southamerica
==============================================================================
--- projects/clang360-import/contrib/tzdata/southamerica	Sat Mar  7 22:55:31 2015	(r279758)
+++ projects/clang360-import/contrib/tzdata/southamerica	Sat Mar  7 23:01:27 2015	(r279759)
@@ -1206,6 +1206,11 @@ Zone America/Rio_Branco	-4:31:12 -	LMT	1
 # DST Start: first Saturday of September 2014 (Sun 07 Sep 2014 04:00 UTC)
 # http://www.diariooficial.interior.gob.cl//media/2014/02/19/do-20140219.pdf
 
+# From Juan Correa (2015-01-28):
+# ... today the Ministry of Energy announced that Chile will drop DST, will keep
+# "summer time" (UTC -3 / UTC -5) all year round....
+# http://www.minenergia.cl/ministerio/noticias/generales/ministerio-de-energia-anuncia.html
+
 # NOTE: ChileAQ rules for Antarctic bases are stored separately in the
 # 'antarctica' file.
 
@@ -1247,8 +1252,8 @@ Rule	Chile	2009	only	-	Mar	Sun>=9	3:00u	
 Rule	Chile	2010	only	-	Apr	Sun>=1	3:00u	0	-
 Rule	Chile	2011	only	-	May	Sun>=2	3:00u	0	-
 Rule	Chile	2011	only	-	Aug	Sun>=16	4:00u	1:00	S
-Rule	Chile	2012	max	-	Apr	Sun>=23	3:00u	0	-
-Rule	Chile	2012	max	-	Sep	Sun>=2	4:00u	1:00	S
+Rule	Chile	2012	2015	-	Apr	Sun>=23	3:00u	0	-
+Rule	Chile	2012	2014	-	Sep	Sun>=2	4:00u	1:00	S
 # IATA SSIM anomalies: (1992-02) says 1992-03-14;
 # (1996-09) says 1998-03-08.  Ignore these.
 # Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
@@ -1259,11 +1264,13 @@ Zone America/Santiago	-4:42:46 -	LMT	189
 			-4:00	-	CLT	1919 Jul  1 # Chile Time
 			-4:42:46 -	SMT	1927 Sep  1 # Santiago Mean Time
 			-5:00	Chile	CL%sT	1947 May 22 # Chile Time
-			-4:00	Chile	CL%sT
+			-4:00	Chile	CL%sT	2015 Apr 26  3:00u
+			-3:00	-	CLT
 Zone Pacific/Easter	-7:17:44 -	LMT	1890
 			-7:17:28 -	EMT	1932 Sep    # Easter Mean Time
-			-7:00	Chile	EAS%sT	1982 Mar 13 21:00 # Easter Time
-			-6:00	Chile	EAS%sT
+			-7:00	Chile	EAS%sT	1982 Mar 13 3:00u # Easter Time
+			-6:00	Chile	EAS%sT	2015 Apr 26 3:00u
+			-5:00	-	EAST
 #
 # Salas y Gómez Island is uninhabited.
 # Other Chilean locations, including Juan Fernández Is, Desventuradas Is,

Modified: projects/clang360-import/contrib/tzdata/zone.tab
==============================================================================
--- projects/clang360-import/contrib/tzdata/zone.tab	Sat Mar  7 22:55:31 2015	(r279758)
+++ projects/clang360-import/contrib/tzdata/zone.tab	Sat Mar  7 23:01:27 2015	(r279759)
@@ -274,7 +274,7 @@ MU	-2010+05730	Indian/Mauritius
 MV	+0410+07330	Indian/Maldives
 MW	-1547+03500	Africa/Blantyre
 MX	+1924-09909	America/Mexico_City	Central Time - most locations
-MX	+2105-08646	America/Cancun	Central Time - Quintana Roo
+MX	+2105-08646	America/Cancun	Eastern Standard Time - Quintana Roo
 MX	+2058-08937	America/Merida	Central Time - Campeche, Yucatan
 MX	+2540-10019	America/Monterrey	Mexican Central Time - Coahuila, Durango, Nuevo Leon, Tamaulipas away from US border
 MX	+2550-09730	America/Matamoros	US Central Time - Coahuila, Durango, Nuevo Leon, Tamaulipas near US border

Modified: projects/clang360-import/contrib/tzdata/zone1970.tab
==============================================================================
--- projects/clang360-import/contrib/tzdata/zone1970.tab	Sat Mar  7 22:55:31 2015	(r279758)
+++ projects/clang360-import/contrib/tzdata/zone1970.tab	Sat Mar  7 23:01:27 2015	(r279759)
@@ -234,7 +234,7 @@ MT	+3554+01431	Europe/Malta
 MU	-2010+05730	Indian/Mauritius
 MV	+0410+07330	Indian/Maldives
 MX	+1924-09909	America/Mexico_City	Central Time - most locations
-MX	+2105-08646	America/Cancun	Central Time - Quintana Roo
+MX	+2105-08646	America/Cancun	Eastern Standard Time - Quintana Roo
 MX	+2058-08937	America/Merida	Central Time - Campeche, Yucatán
 MX	+2540-10019	America/Monterrey	Mexican Central Time - Coahuila, Durango, Nuevo León, Tamaulipas away from US border
 MX	+2550-09730	America/Matamoros	US Central Time - Coahuila, Durango, Nuevo León, Tamaulipas near US border

Modified: projects/clang360-import/lib/libc/gen/getpwent.c
==============================================================================
--- projects/clang360-import/lib/libc/gen/getpwent.c	Sat Mar  7 22:55:31 2015	(r279758)
+++ projects/clang360-import/lib/libc/gen/getpwent.c	Sat Mar  7 23:01:27 2015	(r279759)
@@ -1942,7 +1942,7 @@ docompat:
 			break;
 	}
 fin:
-	if (!stayopen && st->db != NULL) {
+	if (st->db != NULL && !stayopen) {
 		(void)st->db->close(st->db);
 		st->db = NULL;
 	}

Modified: projects/clang360-import/lib/libc/stdlib/qsort.c
==============================================================================
--- projects/clang360-import/lib/libc/stdlib/qsort.c	Sat Mar  7 22:55:31 2015	(r279758)
+++ projects/clang360-import/lib/libc/stdlib/qsort.c	Sat Mar  7 23:01:27 2015	(r279759)
@@ -41,47 +41,55 @@ typedef int		 cmp_t(void *, const void *
 typedef int		 cmp_t(const void *, const void *);
 #endif
 static inline char	*med3(char *, char *, char *, cmp_t *, void *);
-static inline void	 swapfunc(char *, char *, int, int);
+static inline void	 swapfunc(char *, char *, int, int, int);
 
-#define min(a, b)	(a) < (b) ? a : b
+#define	MIN(a, b)	((a) < (b) ? a : b)
 
 /*
  * Qsort routine from Bentley & McIlroy's "Engineering a Sort Function".
  */
-#define swapcode(TYPE, parmi, parmj, n) { 		\
-	long i = (n) / sizeof (TYPE); 			\
-	TYPE *pi = (TYPE *) (parmi); 		\
-	TYPE *pj = (TYPE *) (parmj); 		\
+#define	swapcode(TYPE, parmi, parmj, n) {		\
+	long i = (n) / sizeof (TYPE);			\
+	TYPE *pi = (TYPE *) (parmi);		\
+	TYPE *pj = (TYPE *) (parmj);		\
 	do { 						\
 		TYPE	t = *pi;		\
 		*pi++ = *pj;				\
 		*pj++ = t;				\
-        } while (--i > 0);				\
+	} while (--i > 0);				\
 }
 
-#define SWAPINIT(a, es) swaptype = ((char *)a - (char *)0) % sizeof(long) || \
-	es % sizeof(long) ? 2 : es == sizeof(long)? 0 : 1;
+#define	SWAPINIT(TYPE, a, es) swaptype_ ## TYPE =	\
+	((char *)a - (char *)0) % sizeof(TYPE) ||	\
+	es % sizeof(TYPE) ? 2 : es == sizeof(TYPE) ? 0 : 1;
 
 static inline void
-swapfunc(a, b, n, swaptype)
+swapfunc(a, b, n, swaptype_long, swaptype_int)
 	char *a, *b;
-	int n, swaptype;
+	int n, swaptype_long, swaptype_int;
 {
-	if(swaptype <= 1)
+	if (swaptype_long <= 1)
 		swapcode(long, a, b, n)
+	else if (swaptype_int <= 1)
+		swapcode(int, a, b, n)
 	else
 		swapcode(char, a, b, n)
 }
 
-#define swap(a, b)					\
-	if (swaptype == 0) {				\
+#define	swap(a, b)					\
+	if (swaptype_long == 0) {			\
 		long t = *(long *)(a);			\
 		*(long *)(a) = *(long *)(b);		\
 		*(long *)(b) = t;			\
+	} else if (swaptype_int == 0) {			\
+		int t = *(int *)(a);			\
+		*(int *)(a) = *(int *)(b);		\
+		*(int *)(b) = t;			\
 	} else						\
-		swapfunc(a, b, es, swaptype)
+		swapfunc(a, b, es, swaptype_long, swaptype_int)
 
-#define vecswap(a, b, n) 	if ((n) > 0) swapfunc(a, b, n, swaptype)
+#define	vecswap(a, b, n)				\
+	if ((n) > 0) swapfunc(a, b, n, swaptype_long, swaptype_int)
 
 #ifdef I_AM_QSORT_R
 #define	CMP(t, x, y) (cmp((t), (x), (y)))
@@ -98,14 +106,14 @@ __unused
 {
 	return CMP(thunk, a, b) < 0 ?
 	       (CMP(thunk, b, c) < 0 ? b : (CMP(thunk, a, c) < 0 ? c : a ))
-              :(CMP(thunk, b, c) > 0 ? b : (CMP(thunk, a, c) < 0 ? a : c ));
+	      :(CMP(thunk, b, c) > 0 ? b : (CMP(thunk, a, c) < 0 ? a : c ));
 }
 
 #ifdef I_AM_QSORT_R
 void
 qsort_r(void *a, size_t n, size_t es, void *thunk, cmp_t *cmp)
 #else
-#define thunk NULL
+#define	thunk NULL
 void
 qsort(void *a, size_t n, size_t es, cmp_t *cmp)
 #endif
@@ -113,9 +121,10 @@ qsort(void *a, size_t n, size_t es, cmp_
 	char *pa, *pb, *pc, *pd, *pl, *pm, *pn;
 	size_t d, r;
 	int cmp_result;
-	int swaptype, swap_cnt;
+	int swaptype_long, swaptype_int, swap_cnt;
 
-loop:	SWAPINIT(a, es);
+loop:	SWAPINIT(long, a, es);
+	SWAPINIT(int, a, es);
 	swap_cnt = 0;
 	if (n < 7) {
 		for (pm = (char *)a + es; pm < (char *)a + n * es; pm += es)
@@ -175,9 +184,9 @@ loop:	SWAPINIT(a, es);
 	}
 
 	pn = (char *)a + n * es;
-	r = min(pa - (char *)a, pb - pa);
+	r = MIN(pa - (char *)a, pb - pa);
 	vecswap(a, pb - r, r);
-	r = min(pd - pc, pn - pd - es);
+	r = MIN(pd - pc, pn - pd - es);
 	vecswap(pb, pn - r, r);
 	if ((r = pb - pa) > es)
 #ifdef I_AM_QSORT_R

Modified: projects/clang360-import/lib/libc/sys/cap_ioctls_limit.2
==============================================================================
--- projects/clang360-import/lib/libc/sys/cap_ioctls_limit.2	Sat Mar  7 22:55:31 2015	(r279758)
+++ projects/clang360-import/lib/libc/sys/cap_ioctls_limit.2	Sat Mar  7 23:01:27 2015	(r279759)
@@ -28,7 +28,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd March 27, 2014
+.Dd March 6, 2015
 .Dt CAP_IOCTLS_LIMIT 2
 .Os
 .Sh NAME
@@ -61,6 +61,8 @@ argument specifies the number of element
 There can be up to
 .Va 256
 elements in the array.
+Including an element that has been previously revoked will generate an error.
+After a successful call only those listed in the array may be used.
 .Pp
 The list of allowed ioctl commands for a given file descriptor can be obtained
 with the
@@ -92,7 +94,7 @@ system call was never called for this fi
 .Fn cap_ioctls_get
 system call will return
 .Dv CAP_IOCTLS_ALL
-and won't modify the buffer pointed to by the
+and will not modify the buffer pointed to by the
 .Fa cmds
 argument.
 .Sh RETURN VALUES

Modified: projects/clang360-import/sbin/ifconfig/af_inet6.c
==============================================================================
--- projects/clang360-import/sbin/ifconfig/af_inet6.c	Sat Mar  7 22:55:31 2015	(r279758)
+++ projects/clang360-import/sbin/ifconfig/af_inet6.c	Sat Mar  7 23:01:27 2015	(r279759)
@@ -485,6 +485,10 @@ static struct cmd inet6_cmds[] = {
 	DEF_CMD("-auto_linklocal",-ND6_IFF_AUTO_LINKLOCAL,setnd6flags),
 	DEF_CMD("no_prefer_iface",ND6_IFF_NO_PREFER_IFACE,setnd6flags),
 	DEF_CMD("-no_prefer_iface",-ND6_IFF_NO_PREFER_IFACE,setnd6flags),
+	DEF_CMD("no_dad",	ND6_IFF_NO_DAD,		setnd6flags),
+	DEF_CMD("-no_dad",	-ND6_IFF_NO_DAD,	setnd6flags),
+	DEF_CMD("ignoreloop",	ND6_IFF_IGNORELOOP,	setnd6flags),
+	DEF_CMD("-ignoreloop",	-ND6_IFF_IGNORELOOP,	setnd6flags),
 	DEF_CMD_ARG("pltime",        			setip6pltime),
 	DEF_CMD_ARG("vltime",        			setip6vltime),
 	DEF_CMD("eui64",	0,			setip6eui64),

Modified: projects/clang360-import/sbin/ifconfig/af_nd6.c
==============================================================================
--- projects/clang360-import/sbin/ifconfig/af_nd6.c	Sat Mar  7 22:55:31 2015	(r279758)
+++ projects/clang360-import/sbin/ifconfig/af_nd6.c	Sat Mar  7 23:01:27 2015	(r279759)
@@ -58,7 +58,8 @@ static const char rcsid[] =
 #define	MAX_SYSCTL_TRY	5
 #define	ND6BITS	"\020\001PERFORMNUD\002ACCEPT_RTADV\003PREFER_SOURCE" \
 		"\004IFDISABLED\005DONT_SET_IFROUTE\006AUTO_LINKLOCAL" \
-		"\007NO_RADR\010NO_PREFER_IFACE\020DEFAULTIF"
+		"\007NO_RADR\010NO_PREFER_IFACE\011IGNORELOOP\012NO_DAD" \
+		"\020DEFAULTIF"
 
 static int isnd6defif(int);
 void setnd6flags(const char *, int, int, const struct afswtch *);

Modified: projects/clang360-import/sbin/ifconfig/ifconfig.8
==============================================================================
--- projects/clang360-import/sbin/ifconfig/ifconfig.8	Sat Mar  7 22:55:31 2015	(r279758)
+++ projects/clang360-import/sbin/ifconfig/ifconfig.8	Sat Mar  7 23:01:27 2015	(r279759)
@@ -28,7 +28,7 @@
 .\"     From: @(#)ifconfig.8	8.3 (Berkeley) 1/5/94
 .\" $FreeBSD$
 .\"
-.Dd December 16, 2014
+.Dd March 6, 2015
 .Dt IFCONFIG 8
 .Os
 .Sh NAME
@@ -687,6 +687,20 @@ policy table, configurable with
 .It Cm -no_prefer_iface
 Clear a flag
 .Cm no_prefer_iface .
+.It Cm no_dad
+Set a flag to disable Duplicate Address Detection.
+.It Cm -no_dad
+Clear a flag
+.Cm no_dad .
+.It Cm ignoreloop
+Set a flag to disable loopback detection in Enhanced Duplicate Address
+Detection Algorithm.
+When this flag is set,
+Duplicate Address Detection will stop in a finite number of probings
+even if a loopback configuration is detected.
+.It Cm -ignoreloop
+Clear a flag
+.Cm ignoreloop .
 .El
 .Pp
 The following parameters are specific for IPv6 addresses.

Modified: projects/clang360-import/share/dtrace/Makefile
==============================================================================
--- projects/clang360-import/share/dtrace/Makefile	Sat Mar  7 22:55:31 2015	(r279758)
+++ projects/clang360-import/share/dtrace/Makefile	Sat Mar  7 23:01:27 2015	(r279759)
@@ -15,7 +15,10 @@ _toolkit=	toolkit
 SCRIPTS=	disklatency \
 		disklatencycmd \
 		hotopen \
-		nfsclienttime
+		nfsclienttime \
+		tcpstate \
+		tcptrack \
+		tcpconn
 
 SCRIPTSDIR= ${SHAREDIR}/dtrace
 

Copied: projects/clang360-import/share/dtrace/tcpconn (from r279758, head/share/dtrace/tcpconn)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ projects/clang360-import/share/dtrace/tcpconn	Sat Mar  7 23:01:27 2015	(r279759, copy of r279758, head/share/dtrace/tcpconn)
@@ -0,0 +1,47 @@
+#!/usr/sbin/dtrace -s
+/*
+ * Copyright (c) 2015 George V. Neville-Neil
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ *
+ * $FreeBSD$
+ *
+ * The tcpconn D script shows histograms of the source of TCP connections
+ *
+ * Usage: tcpconn
+ */
+
+#pragma D option quiet
+BEGIN
+{
+	printf("Press Ctrl-C for output\n");
+	printf("Source IP");
+}
+tcp:kernel::accept-established
+{
+	@sources[args[2]->ip_daddr] = count();	
+}
+tcp:kernel::accept-refused
+{
+	@sources[args[2]->ip_daddr] = count();	
+}

Copied: projects/clang360-import/share/dtrace/tcpstate (from r279758, head/share/dtrace/tcpstate)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ projects/clang360-import/share/dtrace/tcpstate	Sat Mar  7 23:01:27 2015	(r279759, copy of r279758, head/share/dtrace/tcpstate)
@@ -0,0 +1,46 @@
+#!/usr/sbin/dtrace -s
+/*
+ * Copyright (c) 2015 George V. Neville-Neil
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ *
+ * $FreeBSD$
+ *
+ * The tcpstate D script shows TCP sockets transitioning between states.
+ *
+ * Usage: tcpstate
+ */
+
+#pragma D option quiet
+BEGIN
+{
+	printf("Old State\t\tNew State\n");
+}
+
+tcp:kernel::state-change
+{
+	newstate = args[3]->tcps_state;
+	oldstate = args[5]->tcps_state;
+	printf("%d %s\t\t%s\n", args[1]->pid, tcp_state_string[oldstate],
+			     tcp_state_string[newstate]);
+}

Copied: projects/clang360-import/share/dtrace/tcptrack (from r279758, head/share/dtrace/tcptrack)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ projects/clang360-import/share/dtrace/tcptrack	Sat Mar  7 23:01:27 2015	(r279759, copy of r279758, head/share/dtrace/tcptrack)
@@ -0,0 +1,83 @@
+#!/usr/sbin/dtrace -s
+/*
+ * Copyright (c) 2015 George V. Neville-Neil
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ *
+ * $FreeBSD$
+ *
+ * The tcptrack D script shows various information about TCP
+ * connections including acceptance and refusal of inbound and
+ * outbound connections as well as state changes.
+ *
+ * Usage: tcptrack
+ */
+
+#pragma D option quiet
+tcp:kernel::accept-established
+{
+	printf("Accept connection from %s:%d\tto %s:%d\n",
+		       args[2]->ip_saddr,
+		       args[4]->tcp_sport,
+		       args[2]->ip_daddr,
+		       args[4]->tcp_dport);
+
+}
+
+tcp:kernel::accept-refused
+{
+	printf("Refused connection from %s:%d\tto %s:%d\n", 
+		       args[2]->ip_daddr,
+		       args[4]->tcp_dport,
+		       args[2]->ip_saddr,
+		       args[4]->tcp_sport);
+
+}
+
+tcp:kernel::connect-established
+{
+	printf("Connection established to %s:%d from %s:%d\n",
+		       args[2]->ip_saddr,
+		       args[4]->tcp_sport,
+		       args[2]->ip_daddr,
+		       args[4]->tcp_dport);
+
+}
+
+tcp:kernel::connect-refused
+{
+	printf("Connection refused by %s:%d from %s:%d\n", 
+		       args[2]->ip_saddr,
+		       args[4]->tcp_sport,
+		       args[2]->ip_daddr,
+		       args[4]->tcp_dport);
+}
+
+tcp:kernel::state-change
+{
+	newstate = args[3]->tcps_state;
+	oldstate = args[5]->tcps_state;
+	printf("State changed from %s\t\t%s\n", tcp_state_string[oldstate],
+				     tcp_state_string[newstate]);
+}
+

Modified: projects/clang360-import/share/man/man4/Makefile
==============================================================================
--- projects/clang360-import/share/man/man4/Makefile	Sat Mar  7 22:55:31 2015	(r279758)
+++ projects/clang360-import/share/man/man4/Makefile	Sat Mar  7 23:01:27 2015	(r279759)
@@ -119,6 +119,7 @@ MAN=	aac.4 \
 	divert.4 \
 	${_dpms.4} \
 	dpt.4 \
+	ds3231.4 \
 	dummynet.4 \
 	ed.4 \
 	edsc.4 \

Modified: projects/clang360-import/share/man/man4/ds3231.4
==============================================================================
--- projects/clang360-import/share/man/man4/ds3231.4	Sat Mar  7 22:55:31 2015	(r279758)
+++ projects/clang360-import/share/man/man4/ds3231.4	Sat Mar  7 23:01:27 2015	(r279759)
@@ -24,7 +24,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd October 26, 2014
+.Dd March 6, 2015
 .Dt DS3231 4
 .Os
 .Sh NAME

Modified: projects/clang360-import/sys/amd64/amd64/mp_machdep.c
==============================================================================
--- projects/clang360-import/sys/amd64/amd64/mp_machdep.c	Sat Mar  7 22:55:31 2015	(r279758)
+++ projects/clang360-import/sys/amd64/amd64/mp_machdep.c	Sat Mar  7 23:01:27 2015	(r279759)
@@ -828,8 +828,8 @@ set_interrupt_apic_ids(void)
 			continue;
 
 		/* Don't let hyperthreads service interrupts. */
-		if (hyperthreading_cpus > 1 &&
-		    apic_id % hyperthreading_cpus != 0)
+		if (cpu_logical > 1 &&
+		    apic_id % cpu_logical != 0)
 			continue;
 
 		intr_add_cpu(i);

Modified: projects/clang360-import/sys/amd64/vmm/io/vatpic.c
==============================================================================
--- projects/clang360-import/sys/amd64/vmm/io/vatpic.c	Sat Mar  7 22:55:31 2015	(r279758)
+++ projects/clang360-import/sys/amd64/vmm/io/vatpic.c	Sat Mar  7 23:01:27 2015	(r279759)
@@ -275,6 +275,7 @@ vatpic_icw1(struct vatpic *vatpic, struc
 	atpic->ready = false;
 
 	atpic->icw_num = 1;
+	atpic->request = 0;
 	atpic->mask = 0;
 	atpic->lowprio = 7;
 	atpic->rd_cmd_reg = 0;

Modified: projects/clang360-import/sys/arm/arm/db_trace.c
==============================================================================
--- projects/clang360-import/sys/arm/arm/db_trace.c	Sat Mar  7 22:55:31 2015	(r279758)
+++ projects/clang360-import/sys/arm/arm/db_trace.c	Sat Mar  7 23:01:27 2015	(r279759)
@@ -66,7 +66,7 @@ db_stack_trace_cmd(struct unwind_state *
 
 	finished = false;
 	while (!finished) {
-		finished = unwind_stack_one(state, 0);
+		finished = unwind_stack_one(state, 1);
 
 		/* Print the frame details */
 		sym = db_search_symbol(state->start_pc, DB_STGY_ANY, &offset);

Modified: projects/clang360-import/sys/arm/arm/exception.S
==============================================================================
--- projects/clang360-import/sys/arm/arm/exception.S	Sat Mar  7 22:55:31 2015	(r279758)
+++ projects/clang360-import/sys/arm/arm/exception.S	Sat Mar  7 23:01:27 2015	(r279759)
@@ -57,11 +57,6 @@ __FBSDID("$FreeBSD$");
 #ifdef KDTRACE_HOOKS
 	.bss
 	.align 4
-	.global	_C_LABEL(dtrace_invop_jump_addr)
-_C_LABEL(dtrace_invop_jump_addr):
-	.word 0
-	.word 0
-
 	.global	_C_LABEL(dtrace_invop_calltrap_addr)
 _C_LABEL(dtrace_invop_calltrap_addr):
 	.word 0
@@ -162,7 +157,8 @@ _C_LABEL(dtrace_invop_calltrap_addr):
 	msr	cpsr_c, r2;		/* Punch into SVC mode */	   \
 	mov	r2, sp;			/* Save	SVC sp */		   \
 	bic	sp, sp, #7;		/* Align sp to an 8-byte addrress */  \
-	sub	sp, sp, #4;		/* Pad trapframe to keep alignment */ \
+	sub	sp, sp, #(4 * 17);	/* Pad trapframe to keep alignment */ \
+				    /* and for dtrace to emulate push/pop */  \
 	str	r0, [sp, #-4]!;		/* Push return address */	   \
 	str	lr, [sp, #-4]!;		/* Push SVC lr */		   \
 	str	r2, [sp, #-4]!;		/* Push SVC sp */		   \
@@ -199,7 +195,8 @@ _C_LABEL(dtrace_invop_calltrap_addr):
 	msr	cpsr_c, r2;		/* Punch into SVC mode */	   \
 	mov	r2, sp;			/* Save	SVC sp */		   \
 	bic	sp, sp, #7;		/* Align sp to an 8-byte addrress */  \
-	sub	sp, sp, #4;		/* Pad trapframe to keep alignment */ \
+	sub	sp, sp, #(4 * 17);	/* Pad trapframe to keep alignment */ \
+				    /* and for dtrace to emulate push/pop */  \
 	str	r0, [sp, #-4]!;		/* Push return address */	   \
 	str	lr, [sp, #-4]!;		/* Push SVC lr */		   \
 	str	r2, [sp, #-4]!;		/* Push SVC sp */		   \

Modified: projects/clang360-import/sys/arm/arm/physmem.c
==============================================================================
--- projects/clang360-import/sys/arm/arm/physmem.c	Sat Mar  7 22:55:31 2015	(r279758)
+++ projects/clang360-import/sys/arm/arm/physmem.c	Sat Mar  7 23:01:27 2015	(r279759)
@@ -153,7 +153,7 @@ arm_physmem_print_tables()
  * Walk the list of hardware regions, processing it against the list of
  * exclusions that contain the given exflags, and generating an "avail list".
  *
- * Updates the kernel global 'realmem' with the sum of all pages in hw regions.
+ * Updates the value at *pavail with the sum of all pages in all hw regions.
  *
  * Returns the number of pages of non-excluded memory added to the avail list.
  */

Modified: projects/clang360-import/sys/arm/arm/undefined.c
==============================================================================
--- projects/clang360-import/sys/arm/arm/undefined.c	Sat Mar  7 22:55:31 2015	(r279758)
+++ projects/clang360-import/sys/arm/arm/undefined.c	Sat Mar  7 23:01:27 2015	(r279759)
@@ -86,6 +86,10 @@ __FBSDID("$FreeBSD$");
 #include <machine/db_machdep.h>
 #endif
 
+#ifdef KDTRACE_HOOKS
+int (*dtrace_invop_jump_addr)(struct trapframe *);
+#endif
+
 static int gdb_trapper(u_int, u_int, struct trapframe *, int);
 
 LIST_HEAD(, undefined_handler) undefined_handlers[MAX_COPROCS];
@@ -286,7 +290,14 @@ undefinedinstruction(struct trapframe *f
 			printf("No debugger in kernel.\n");
 #endif
 			return;
-		} else
+		}
+#ifdef KDTRACE_HOOKS
+		else if (dtrace_invop_jump_addr != 0) {
+			dtrace_invop_jump_addr(frame);
+			return;
+		}
+#endif
+		else
 			panic("Undefined instruction in kernel.\n");
 	}
 

Modified: projects/clang360-import/sys/arm/at91/uart_bus_at91usart.c
==============================================================================
--- projects/clang360-import/sys/arm/at91/uart_bus_at91usart.c	Sat Mar  7 22:55:31 2015	(r279758)
+++ projects/clang360-import/sys/arm/at91/uart_bus_at91usart.c	Sat Mar  7 23:01:27 2015	(r279759)
@@ -46,6 +46,7 @@ __FBSDID("$FreeBSD$");
 
 #include "uart_if.h"
 
+extern struct uart_class at91_usart_class;
 static int usart_at91_probe(device_t dev);
 
 static device_method_t usart_at91_methods[] = {

Modified: projects/clang360-import/sys/arm/at91/uart_cpu_at91usart.c
==============================================================================
--- projects/clang360-import/sys/arm/at91/uart_cpu_at91usart.c	Sat Mar  7 22:55:31 2015	(r279758)
+++ projects/clang360-import/sys/arm/at91/uart_cpu_at91usart.c	Sat Mar  7 23:01:27 2015	(r279759)
@@ -51,6 +51,7 @@ bus_space_tag_t uart_bus_space_io;
 bus_space_tag_t uart_bus_space_mem;
 
 extern struct bus_space at91_bs_tag;
+extern struct uart_class at91_usart_class;
 
 int
 uart_cpu_eqres(struct uart_bas *b1, struct uart_bas *b2)

Modified: projects/clang360-import/sys/arm/at91/uart_dev_at91usart.c
==============================================================================
--- projects/clang360-import/sys/arm/at91/uart_dev_at91usart.c	Sat Mar  7 22:55:31 2015	(r279758)
+++ projects/clang360-import/sys/arm/at91/uart_dev_at91usart.c	Sat Mar  7 23:01:27 2015	(r279759)
@@ -40,6 +40,9 @@ __FBSDID("$FreeBSD$");
 
 #include <dev/uart/uart.h>
 #include <dev/uart/uart_cpu.h>
+#ifdef FDT

*** DIFF OUTPUT TRUNCATED AT 1000 LINES ***



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503072301.t27N1SX9022231>