svn commit: r286761 - stable/10/usr.sbin/bhyve

2015-08-13 Thread Alexander Motin
Author: mav
Date: Fri Aug 14 04:23:17 2015
New Revision: 286761
URL: https://svnweb.freebsd.org/changeset/base/286761

Log:
  MFC r286621, r286622: Fix couple minor typos.

Modified:
  stable/10/usr.sbin/bhyve/bhyve.8
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/usr.sbin/bhyve/bhyve.8
==
--- stable/10/usr.sbin/bhyve/bhyve.8Fri Aug 14 03:03:13 2015
(r286760)
+++ stable/10/usr.sbin/bhyve/bhyve.8Fri Aug 14 04:23:17 2015
(r286761)
@@ -294,7 +294,7 @@ port connected to an
 .Xr nmdm 4
 null-model device.
 .Bd -literal -offset indent
-bhyve -c 4 \e\
+bhyve -c 4 \\
   -s 0,amd_hostbridge -s 1,lpc \\
   -s 1:0,ahci-hd,/images/disk.1 \\
   -s 1:1,ahci-hd,/images/disk.2 \\
@@ -304,7 +304,7 @@ bhyve -c 4 \e\
   -s 1:5,ahci-hd,/images/disk.6 \\
   -s 1:6,ahci-hd,/images/disk.7 \\
   -s 1:7,ahci-hd,/images/disk.8 \\
-  -s 2,ahci-cd,/images.install.iso \\
+  -s 2,ahci-cd,/images/install.iso \\
   -s 3,virtio-net,tap0 \\
   -l com1,/dev/nmdm0A \\
   -A -H -P -m 8G
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


svn commit: r286760 - in head/lib/libc: . secure sys

2015-08-13 Thread Pedro F. Giffuni
Author: pfg
Date: Fri Aug 14 03:03:13 2015
New Revision: 286760
URL: https://svnweb.freebsd.org/changeset/base/286760

Log:
  Move the stack protector to a new "secure" directory
  
  As part of the code refactoring to support FORTIFY_SOURCE we want
  a new subdirectory "secure" to keep the files related to security.
  Move the stack protector functions to this new directory.
  
  No functional change.
  
  Differential Review:  https://reviews.freebsd.org/D

Added:
  head/lib/libc/secure/
  head/lib/libc/secure/Makefile.inc   (contents, props changed)
  head/lib/libc/secure/Symbol.map   (contents, props changed)
  head/lib/libc/secure/stack_protector.c
 - copied unchanged from r286712, head/lib/libc/sys/stack_protector.c
  head/lib/libc/secure/stack_protector_compat.c
 - copied unchanged from r286392, head/lib/libc/sys/stack_protector_compat.c
Deleted:
  head/lib/libc/sys/stack_protector.c
  head/lib/libc/sys/stack_protector_compat.c
Modified:
  head/lib/libc/Makefile
  head/lib/libc/sys/Makefile.inc
  head/lib/libc/sys/Symbol.map

Modified: head/lib/libc/Makefile
==
--- head/lib/libc/Makefile  Fri Aug 14 02:45:22 2015(r286759)
+++ head/lib/libc/Makefile  Fri Aug 14 03:03:13 2015(r286760)
@@ -95,6 +95,7 @@ NOASM=
 .include "${LIBC_SRCTOP}/stdtime/Makefile.inc"
 .include "${LIBC_SRCTOP}/string/Makefile.inc"
 .include "${LIBC_SRCTOP}/sys/Makefile.inc"
+.include "${LIBC_SRCTOP}/secure/Makefile.inc"
 .include "${LIBC_SRCTOP}/rpc/Makefile.inc"
 .include "${LIBC_SRCTOP}/uuid/Makefile.inc"
 .include "${LIBC_SRCTOP}/xdr/Makefile.inc"

Added: head/lib/libc/secure/Makefile.inc
==
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ head/lib/libc/secure/Makefile.inc   Fri Aug 14 03:03:13 2015
(r286760)
@@ -0,0 +1,12 @@
+# $FreeBSD$
+#
+# libc sources related to security
+
+.PATH: ${LIBC_SRCTOP}/secure
+
+# Sources common to both syscall interfaces:
+SRCS+= \
+   stack_protector.c \
+   stack_protector_compat.c
+
+SYM_MAPS+=${LIBC_SRCTOP}/secure/Symbol.map

Added: head/lib/libc/secure/Symbol.map
==
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ head/lib/libc/secure/Symbol.map Fri Aug 14 03:03:13 2015
(r286760)
@@ -0,0 +1,14 @@
+/*
+ * $FreeBSD$
+ */
+
+/*
+ * It'd be nice to have this automatically generated, but we don't
+ * know to what version they will eventually belong, so for now
+ * it has to be manual.
+ */
+FBSD_1.0 {
+   __chk_fail;
+   __stack_chk_fail;
+   __stack_chk_guard;
+};

Copied: head/lib/libc/secure/stack_protector.c (from r286712, 
head/lib/libc/sys/stack_protector.c)
==
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ head/lib/libc/secure/stack_protector.c  Fri Aug 14 03:03:13 2015
(r286760, copy of r286712, head/lib/libc/sys/stack_protector.c)
@@ -0,0 +1,117 @@
+/* $NetBSD: stack_protector.c,v 1.4 2006/11/22 17:23:25 christos Exp $ */
+/* $OpenBSD: stack_protector.c,v 1.10 2006/03/31 05:34:44 deraadt Exp $
*/
+/*
+ * Copyright (c) 2002 Hiroaki Etoh, Federico G. Schwindt, and Miodrag Vallat.
+ * 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 AUTHORS ``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 AUTHORS 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.
+ *
+ */
+
+#include 
+__FBSDID("$FreeBSD$");
+
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+#include "libc_private.h"
+
+extern int __sysctl(const int *name, u_int namelen, void *oldp,
+size_t *oldlenp, voi

svn commit: r286759 - in stable/10: sys/geom/raid usr.bin/wc

2015-08-13 Thread Pedro F. Giffuni
Author: pfg
Date: Fri Aug 14 02:45:22 2015
New Revision: 286759
URL: https://svnweb.freebsd.org/changeset/base/286759

Log:
  MFC   r286615:
  Clean up some externally visible "more then" occurences

Modified:
  stable/10/sys/geom/raid/md_intel.c
  stable/10/sys/geom/raid/md_jmicron.c
  stable/10/sys/geom/raid/md_nvidia.c
  stable/10/sys/geom/raid/md_sii.c
  stable/10/usr.bin/wc/wc.1
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/geom/raid/md_intel.c
==
--- stable/10/sys/geom/raid/md_intel.c  Fri Aug 14 02:25:45 2015
(r286758)
+++ stable/10/sys/geom/raid/md_intel.c  Fri Aug 14 02:45:22 2015
(r286759)
@@ -991,7 +991,7 @@ nofit:
if (olddisk == NULL)
panic("No disk at position %d!", disk_pos);
if (olddisk->d_state != G_RAID_DISK_S_OFFLINE) {
-   G_RAID_DEBUG1(1, sc, "More then one disk for pos %d",
+   G_RAID_DEBUG1(1, sc, "More than one disk for pos %d",
disk_pos);
g_raid_change_disk_state(disk, G_RAID_DISK_S_STALE);
return (0);

Modified: stable/10/sys/geom/raid/md_jmicron.c
==
--- stable/10/sys/geom/raid/md_jmicron.cFri Aug 14 02:25:45 2015
(r286758)
+++ stable/10/sys/geom/raid/md_jmicron.cFri Aug 14 02:45:22 2015
(r286759)
@@ -494,7 +494,7 @@ nofit:
if (olddisk == NULL)
panic("No disk at position %d!", disk_pos);
if (olddisk->d_state != G_RAID_DISK_S_OFFLINE) {
-   G_RAID_DEBUG1(1, sc, "More then one disk for pos %d",
+   G_RAID_DEBUG1(1, sc, "More than one disk for pos %d",
disk_pos);
g_raid_change_disk_state(disk, G_RAID_DISK_S_STALE);
return (0);

Modified: stable/10/sys/geom/raid/md_nvidia.c
==
--- stable/10/sys/geom/raid/md_nvidia.c Fri Aug 14 02:25:45 2015
(r286758)
+++ stable/10/sys/geom/raid/md_nvidia.c Fri Aug 14 02:45:22 2015
(r286759)
@@ -498,7 +498,7 @@ nofit:
if (olddisk == NULL)
panic("No disk at position %d!", disk_pos);
if (olddisk->d_state != G_RAID_DISK_S_OFFLINE) {
-   G_RAID_DEBUG1(1, sc, "More then one disk for pos %d",
+   G_RAID_DEBUG1(1, sc, "More than one disk for pos %d",
disk_pos);
g_raid_change_disk_state(disk, G_RAID_DISK_S_STALE);
return (0);

Modified: stable/10/sys/geom/raid/md_sii.c
==
--- stable/10/sys/geom/raid/md_sii.cFri Aug 14 02:25:45 2015
(r286758)
+++ stable/10/sys/geom/raid/md_sii.cFri Aug 14 02:45:22 2015
(r286759)
@@ -549,7 +549,7 @@ nofit:
if (olddisk == NULL)
panic("No disk at position %d!", disk_pos);
if (olddisk->d_state != G_RAID_DISK_S_OFFLINE) {
-   G_RAID_DEBUG1(1, sc, "More then one disk for pos %d",
+   G_RAID_DEBUG1(1, sc, "More than one disk for pos %d",
disk_pos);
g_raid_change_disk_state(disk, G_RAID_DISK_S_STALE);
return (0);

Modified: stable/10/usr.bin/wc/wc.1
==
--- stable/10/usr.bin/wc/wc.1   Fri Aug 14 02:25:45 2015(r286758)
+++ stable/10/usr.bin/wc/wc.1   Fri Aug 14 02:45:22 2015(r286759)
@@ -31,7 +31,7 @@
 .\" @(#)wc.1   8.2 (Berkeley) 4/19/94
 .\" $FreeBSD$
 .\"
-.Dd December 6, 2008
+.Dd August 24, 2015
 .Dt WC 1
 .Os
 .Sh NAME
@@ -70,7 +70,7 @@ The following options are available:
 .It Fl L
 The number of characters in the longest input line
 is written to the standard output.
-When more then one
+When more than one
 .Ar file
 argument is specified, the longest input line of
 .Em all
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


svn commit: r286758 - svnadmin/conf

2015-08-13 Thread Glen Barber
Author: gjb
Date: Fri Aug 14 02:25:45 2015
New Revision: 286758
URL: https://svnweb.freebsd.org/changeset/base/286758

Log:
  Update the approvers file to share custody of releng/10.2 between so@
  and re@ until re@ is comfortable releasing releng/10.2 entirely.
  
  Approved by:  re (implicit)
  Sponsored by: The FreeBSD Foundation

Modified:
  svnadmin/conf/approvers

Modified: svnadmin/conf/approvers
==
--- svnadmin/conf/approvers Fri Aug 14 01:27:30 2015(r286757)
+++ svnadmin/conf/approvers Fri Aug 14 02:25:45 2015(r286758)
@@ -18,7 +18,7 @@
 #
 #^head/re
 #^stable/10/   re
-^releng/10.2/  re
+^releng/10.2/  (re|security-officer|so)
 ^releng/10.[0-1]/  (security-officer|so)
 ^releng/9.[0-3]/   (security-officer|so)
 ^releng/8.[0-4]/   (security-officer|so)
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


svn commit: r286757 - head/lib/libc/string

2015-08-13 Thread Marcelo Araujo
Author: araujo
Date: Fri Aug 14 01:27:30 2015
New Revision: 286757
URL: https://svnweb.freebsd.org/changeset/base/286757

Log:
  Make clear the bcopy(3) manpage regards when it was marked as LEGACY
  as well as when it was removed from POSIX specification.
  
  Reviewed by:  theraven, wblock, bapt, rodrigc
  Approved by:  bapt, rodrigc (mentor)
  Differential Revision:D3374

Modified:
  head/lib/libc/string/bcopy.3

Modified: head/lib/libc/string/bcopy.3
==
--- head/lib/libc/string/bcopy.3Fri Aug 14 00:19:09 2015
(r286756)
+++ head/lib/libc/string/bcopy.3Fri Aug 14 01:27:30 2015
(r286757)
@@ -31,7 +31,7 @@
 .\" @(#)bcopy.38.1 (Berkeley) 6/4/93
 .\" $FreeBSD$
 .\"
-.Dd August 13, 2015
+.Dd August 14, 2015
 .Dt BCOPY 3
 .Os
 .Sh NAME
@@ -57,18 +57,6 @@ The two strings may overlap.
 If
 .Fa len
 is zero, no bytes are copied.
-.Pp
-This function is obsolete (marked as LEGACY in
-POSIX.1-2001): please use
-.Xr memmove 3
-in new programs.
-Note that
-.Fn bcopy
-takes its src and dst arguments in the opposite
-order from
-.Xr memmove 3 .
-POSIX.1-2008 removes the specification of
-.Fn bcopy .
 .Sh SEE ALSO
 .Xr memccpy 3 ,
 .Xr memcpy 3 ,
@@ -87,3 +75,25 @@ before it was moved to
 for
 .St -p1003.1-2001
 compliance.
+.Pp
+The
+.St -p1003.1-2008
+removes the specification of
+.Fn bcopy
+and it is marked as LEGACY in
+.St -p1003.1-2004 .
+New programs should use
+.Xr memmove 3 .
+If the input and output buffer do not overlap, then
+.Xr memcpy 3
+is more efficient.
+Note that
+.Fn bcopy
+takes
+.Ar src
+and
+.Ar dst
+in the opposite order from
+.Fn memmove
+and
+.Fn memcpy .
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


svn commit: r286756 - stable/10/release/doc/en_US.ISO8859-1/relnotes

2015-08-13 Thread Glen Barber
Author: gjb
Date: Fri Aug 14 00:19:09 2015
New Revision: 286756
URL: https://svnweb.freebsd.org/changeset/base/286756

Log:
  Prune the 10-STABLE release notes page after 10.2-RELEASE.
  
  Sponsored by: The FreeBSD Foundation

Modified:
  stable/10/release/doc/en_US.ISO8859-1/relnotes/article.xml

Modified: stable/10/release/doc/en_US.ISO8859-1/relnotes/article.xml
==
--- stable/10/release/doc/en_US.ISO8859-1/relnotes/article.xml  Fri Aug 14 
00:03:14 2015(r286755)
+++ stable/10/release/doc/en_US.ISO8859-1/relnotes/article.xml  Fri Aug 14 
00:19:09 2015(r286756)
@@ -160,116 +160,19 @@
 
   Userland Configuration Changes
 
-  The &man.termcap.5; file is installed
-   as-is from sources, instead of reordering, creating
-   /etc/termcap.db by default, providing
-   a performance improvements to applications that use the
-   &man.termcap.5; database, such as &man.vi.1; and
-   &man.ncurses.3;.
+   
 
 
 
   Userland Application Changes
 
-  A new utility, &man.dpv.1;, has been
-   added to the base system, providing a &man.dialog.1;-style
-   progress view from one or more input streams.  A corresponding
-   library, &man.dpv.3;, has also been added.
-
-  The &man.elfdump.1; utility has been
-   updated to support capability mode provided by
-   &man.capsicum.4;.
-
-  The
-   &man.fstyp.8; utility has been added, which is used to
-   determine the filesystem on a specified device.
-
-  The
-   &man.mkimg.1; utility has been updated to support the
-   MBR EFI partition
-   type.
-
-  A regression in the &man.libarchive.3;
-   library that would prevent a directory from being included in
-   the archive when --one-file-system is used
-   has been fixed.
-
-  A new flag, -R, has
-   been added to the &man.netstat.8; utility, which is used to
-   dump RSS/flow information.
-
-  The
-   &man.ar.1; utility has been updated to set
-   ARCHIVE_EXTRACT_SECURE_SYMLINKS and
-   ARCHIVE_EXTRACT_SECURE_NODOTDOT to disallow
-   directory traversal when extracting an archive, similar to
-   &man.tar.1;.
-
-  A race condition in &man.wc.1; that
-   would cause final results to be sent to &man.stderr.4; when
-   receiving the SIGINFO signal has been
-   fixed.
-
-  The &man.freebsd-update.8; utility has
-   been updated to prevent fetching updated binary patches when
-   a previous upgrade has not been thoroughly completed.
-
-  The
-   &man.uefisign.8; utility has been added.
-
-  The &man.chflags.1;, &man.chgrp.1;,
-   &man.chmod.1;, and &man.chown.8; utilities now affect symbolic
-   links when the -R flag is specified, as
-   documented in &man.symlink.7;.
-
-  The &man.date.1; utility has been
-   updated to print the modification time of the file passed as
-   an argument to the -r flag, improving
-   compatibility with the GNU &man.date.1;
-   utility behavior.
-
-  A new flag, -c, has
-   been added to the &man.mkimg.1; utility, which allows
-   specifying the capacity of the target disk image.
-
-  The &man.pw.8; utility has been updated
-   with a new flag, -R, that sets the root
-   directory within which the utility will operate.
+   
 
 
 
   Contributed Software
 
-  The
-   &man.resolvconf.8; utility has been updated to version
-   3.7.0.
-
-  The &man.nc.1; utility has been updated
-   to the OpenBSD 5.7 version.
-
-  Timezone data files have been updated to
-   version 2015e.
-
-  The &man.acpi.4; subsystem has been
-   updated to version 20150515.
-
-  The &man.file.1; utility has been
-   updated to version 5.23.
-
-  The &man.unbound.8; utility has been
-   updated to version 1.5.3.
-
-  The sendmail
-   utility has been updated to version 8.15.2.
-
-  OpenSSL has
-   been updated to version 1.0.1p.
-
-  The ntp
-   suite has been updated to version 4.2.8p3.
+   
 
 
 
@@ -282,50 +185,26 @@
   /etc/rc.d
Scripts
 
-  A new &man.rc.8; script,
-   growfs, has been added, which will resize
-   the root filesystem on boot if /firstboot
-   exists.
+   
 
 
 
   /etc/periodic
Scripts
 
-  A new
-   &man.periodic.8; script,
-   510.status-world-kernel, has been added,
-   which evaluates the running userland and kernel versions from
-   the &man.uname.1; -U and
-   -K arguments, and prints an error if the
-   system userland and kernel are not in sync.
+   
 
 
 
   Runtime Libraries and API
 
-  A new file configuration library,
-   &man.figpar.3;, has been added to the base system.
-
-  The
-   &man.procctl.2; system call has been updated to include
-   a fa

svn commit: r286755 - stable/6/share/zoneinfo

2015-08-13 Thread Edwin Groothuis
Author: edwin
Date: Fri Aug 14 00:03:14 2015
New Revision: 286755
URL: https://svnweb.freebsd.org/changeset/base/286755

Log:
  MFC of 286750,tzdata6:
  
  Update to tzdata2015f:
  
  Changes affecting future time stamps
  
  North Korea switches to +0830 on 2015-08-15.  (Thanks to Steffen Thorsen.)
  The abbreviation remains "KST".  (Thanks to Robert Elz.)
  Uruguay no longer observes DST.  (Thanks to Steffen Thorsen and Pablo 
Camargo.)
  Changes affecting past and future time stamps
  Moldova starts and ends DST at 00:00 UTC, not at 01:00 UTC. (Thanks to 
Roman Tudos.)

Modified:
  stable/6/share/zoneinfo/africa
  stable/6/share/zoneinfo/asia
  stable/6/share/zoneinfo/europe
  stable/6/share/zoneinfo/leap-seconds.list
  stable/6/share/zoneinfo/northamerica
  stable/6/share/zoneinfo/southamerica
  stable/6/share/zoneinfo/zone.tab
  stable/6/share/zoneinfo/zone1970.tab
Directory Properties:
  stable/6/share/zoneinfo/   (props changed)

Modified: stable/6/share/zoneinfo/africa
==
--- stable/6/share/zoneinfo/africa  Fri Aug 14 00:01:45 2015
(r286754)
+++ stable/6/share/zoneinfo/africa  Fri Aug 14 00:03:14 2015
(r286755)
@@ -538,7 +538,7 @@ ZoneAfrica/Tripoli  0:52:44 -   LMT 1920
 
 # From Alex Krivenyshev (2008-07-11):
 # Seems that English language article "The revival of daylight saving
-# time: Energy conservation?"-# No. 16578 (07/11/2008) was originally
+# time: Energy conservation?"- No. 16578 (07/11/2008) was originally
 # published on Monday, June 30, 2008...
 #
 # I guess that article in French "Le gouvernement avance l'introduction
@@ -670,7 +670,7 @@ Zone Indian/Mauritius   3:50:00 -   LMT 1907
 # Here is a link to official document from Royaume du Maroc Premier Ministre,
 # Ministère de la Modernisation des Secteurs Publics
 #
-# Under Article 1 of Royal Decree No. 455-67 of Act 23 safar 1387 (2 june 1967)
+# Under Article 1 of Royal Decree No. 455-67 of Act 23 safar 1387 (2 June 1967)
 # concerning the amendment of the legal time, the Ministry of Modernization of
 # Public Sectors announced that the official time in the Kingdom will be
 # advanced 60 minutes from Sunday 31 May 2009 at midnight.

Modified: stable/6/share/zoneinfo/asia
==
--- stable/6/share/zoneinfo/asiaFri Aug 14 00:01:45 2015
(r286754)
+++ stable/6/share/zoneinfo/asiaFri Aug 14 00:03:14 2015
(r286755)
@@ -6,7 +6,7 @@
 # t...@iana.org for general use in the future).  For more, please see
 # the file CONTRIBUTING in the tz distribution.
 
-# From Paul Eggert (2014-10-31):
+# From Paul Eggert (2015-08-08):
 #
 # Unless otherwise specified, the source for data through 1990 is:
 # Thomas G. Shanks and Rique Pottenger, The International Atlas (6th edition),
@@ -43,7 +43,7 @@
 #  2:00 EET  EEST  Eastern European Time
 #  2:00 IST  IDT   Israel
 #  3:00 AST  ADT   Arabia*
-#  3:30 IRST IRDT  Iran
+#  3:30 IRST IRDT  Iran*
 #  4:00 GSTGulf*
 #  5:30 ISTIndia
 #  7:00 ICTIndochina, most times and locations*
@@ -52,10 +52,11 @@
 #  8:00 CSTChina
 #  8:00 IDTIndochina, 1943-45, 1947-55, 1960-75 (some locations)*
 #  8:00 JWST   Western Standard Time (Japan, 1896/1937)*
+#  8:30 KST  KDT   Korea when at +0830*
 #  9:00 JCST   Central Standard Time (Japan, 1896/1937)
 #  9:00 WITeast Indonesia (Waktu Indonesia Timur)
 #  9:00 JST  JDT   Japan
-#  9:00 KST  KDT   Korea
+#  9:00 KST  KDT   Korea when at +09
 #  9:30 ACST   Australian Central Standard Time
 #
 # See the 'europe' file for Russia and Turkey in Asia.
@@ -1027,7 +1028,7 @@ Zone Asia/Jayapura9:22:48 -   LMT 1932 No
 #
 # From Roozbeh Pournader (2007-11-05):
 # This is quoted from Official Gazette of the Islamic Republic of
-# Iran, Volume 63, Number 18242, dated Tuesday 1386/6/24
+# Iran, Volume 63, No. 18242, dated Tuesday 1386/6/24
 # [2007-10-16]. I am doing the best translation I can:...
 # The official time of the country will be moved forward for one hour
 # on the 24 hours of the first day of the month of Farvardin and will
@@ -1557,7 +1558,7 @@ Zone  Asia/Amman  2:23:44 -   LMT 1931
 # - Qyzylorda switched from +5:00 to +6:00 on 1992-01-19 02:00.
 # - Oral switched from +5:00 to +4:00 in spring 1989.
 
-# From Kazakhstan Embassy's News Bulletin #11
+# From Kazakhstan Embassy's News Bulletin No. 11
 #  (2005-03-21):
 # The Government of Kazakhstan passed a resolution March 15 abolishing
 # daylight saving time citing lack of economic benefits and health
@@ -1711,6 +1712,17 @@ Rule ROK 19871988-   Oct Sun>=8  
3:000   S
 #
 # For Pyongyang we have no information; guess no changes sin

svn commit: r286754 - stable/7/share/zoneinfo

2015-08-13 Thread Edwin Groothuis
Author: edwin
Date: Fri Aug 14 00:01:45 2015
New Revision: 286754
URL: https://svnweb.freebsd.org/changeset/base/286754

Log:
  MFC of 286750,tzdata7:
  
  Update to tzdata2015f:
  
  Changes affecting future time stamps
  
  North Korea switches to +0830 on 2015-08-15.  (Thanks to Steffen Thorsen.)
  The abbreviation remains "KST".  (Thanks to Robert Elz.)
  Uruguay no longer observes DST.  (Thanks to Steffen Thorsen and Pablo 
Camargo.)
  Changes affecting past and future time stamps
  Moldova starts and ends DST at 00:00 UTC, not at 01:00 UTC. (Thanks to 
Roman Tudos.)

Modified:
  stable/7/share/zoneinfo/africa
  stable/7/share/zoneinfo/asia
  stable/7/share/zoneinfo/europe
  stable/7/share/zoneinfo/leap-seconds.list
  stable/7/share/zoneinfo/northamerica
  stable/7/share/zoneinfo/southamerica
  stable/7/share/zoneinfo/zone.tab
  stable/7/share/zoneinfo/zone1970.tab
Directory Properties:
  stable/7/share/zoneinfo/   (props changed)

Modified: stable/7/share/zoneinfo/africa
==
--- stable/7/share/zoneinfo/africa  Fri Aug 14 00:00:50 2015
(r286753)
+++ stable/7/share/zoneinfo/africa  Fri Aug 14 00:01:45 2015
(r286754)
@@ -538,7 +538,7 @@ ZoneAfrica/Tripoli  0:52:44 -   LMT 1920
 
 # From Alex Krivenyshev (2008-07-11):
 # Seems that English language article "The revival of daylight saving
-# time: Energy conservation?"-# No. 16578 (07/11/2008) was originally
+# time: Energy conservation?"- No. 16578 (07/11/2008) was originally
 # published on Monday, June 30, 2008...
 #
 # I guess that article in French "Le gouvernement avance l'introduction
@@ -670,7 +670,7 @@ Zone Indian/Mauritius   3:50:00 -   LMT 1907
 # Here is a link to official document from Royaume du Maroc Premier Ministre,
 # Ministère de la Modernisation des Secteurs Publics
 #
-# Under Article 1 of Royal Decree No. 455-67 of Act 23 safar 1387 (2 june 1967)
+# Under Article 1 of Royal Decree No. 455-67 of Act 23 safar 1387 (2 June 1967)
 # concerning the amendment of the legal time, the Ministry of Modernization of
 # Public Sectors announced that the official time in the Kingdom will be
 # advanced 60 minutes from Sunday 31 May 2009 at midnight.

Modified: stable/7/share/zoneinfo/asia
==
--- stable/7/share/zoneinfo/asiaFri Aug 14 00:00:50 2015
(r286753)
+++ stable/7/share/zoneinfo/asiaFri Aug 14 00:01:45 2015
(r286754)
@@ -6,7 +6,7 @@
 # t...@iana.org for general use in the future).  For more, please see
 # the file CONTRIBUTING in the tz distribution.
 
-# From Paul Eggert (2014-10-31):
+# From Paul Eggert (2015-08-08):
 #
 # Unless otherwise specified, the source for data through 1990 is:
 # Thomas G. Shanks and Rique Pottenger, The International Atlas (6th edition),
@@ -43,7 +43,7 @@
 #  2:00 EET  EEST  Eastern European Time
 #  2:00 IST  IDT   Israel
 #  3:00 AST  ADT   Arabia*
-#  3:30 IRST IRDT  Iran
+#  3:30 IRST IRDT  Iran*
 #  4:00 GSTGulf*
 #  5:30 ISTIndia
 #  7:00 ICTIndochina, most times and locations*
@@ -52,10 +52,11 @@
 #  8:00 CSTChina
 #  8:00 IDTIndochina, 1943-45, 1947-55, 1960-75 (some locations)*
 #  8:00 JWST   Western Standard Time (Japan, 1896/1937)*
+#  8:30 KST  KDT   Korea when at +0830*
 #  9:00 JCST   Central Standard Time (Japan, 1896/1937)
 #  9:00 WITeast Indonesia (Waktu Indonesia Timur)
 #  9:00 JST  JDT   Japan
-#  9:00 KST  KDT   Korea
+#  9:00 KST  KDT   Korea when at +09
 #  9:30 ACST   Australian Central Standard Time
 #
 # See the 'europe' file for Russia and Turkey in Asia.
@@ -1027,7 +1028,7 @@ Zone Asia/Jayapura9:22:48 -   LMT 1932 No
 #
 # From Roozbeh Pournader (2007-11-05):
 # This is quoted from Official Gazette of the Islamic Republic of
-# Iran, Volume 63, Number 18242, dated Tuesday 1386/6/24
+# Iran, Volume 63, No. 18242, dated Tuesday 1386/6/24
 # [2007-10-16]. I am doing the best translation I can:...
 # The official time of the country will be moved forward for one hour
 # on the 24 hours of the first day of the month of Farvardin and will
@@ -1557,7 +1558,7 @@ Zone  Asia/Amman  2:23:44 -   LMT 1931
 # - Qyzylorda switched from +5:00 to +6:00 on 1992-01-19 02:00.
 # - Oral switched from +5:00 to +4:00 in spring 1989.
 
-# From Kazakhstan Embassy's News Bulletin #11
+# From Kazakhstan Embassy's News Bulletin No. 11
 #  (2005-03-21):
 # The Government of Kazakhstan passed a resolution March 15 abolishing
 # daylight saving time citing lack of economic benefits and health
@@ -1711,6 +1712,17 @@ Rule ROK 19871988-   Oct Sun>=8  
3:000   S
 #
 # For Pyongyang we have no information; guess no changes sin

Re: svn commit: r286745 - head/tools/build/mk

2015-08-13 Thread Ed Maste
On 13 August 2015 at 18:04, Antoine Brodin  wrote:
> Author: antoine
> Date: Thu Aug 13 22:04:30 2015
> New Revision: 286745
> URL: https://svnweb.freebsd.org/changeset/base/286745
>
> Log:
>   Stop removing ELF toolchain tools

Oops! Thanks for fixing this.
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


svn commit: r286753 - stable/8/share/zoneinfo

2015-08-13 Thread Edwin Groothuis
Author: edwin
Date: Fri Aug 14 00:00:50 2015
New Revision: 286753
URL: https://svnweb.freebsd.org/changeset/base/286753

Log:
  MFC of 286750,tzdata8:
  
  Update to tzdata2015f:
  
  Changes affecting future time stamps
  
  North Korea switches to +0830 on 2015-08-15.  (Thanks to Steffen Thorsen.)
  The abbreviation remains "KST".  (Thanks to Robert Elz.)
  Uruguay no longer observes DST.  (Thanks to Steffen Thorsen and Pablo 
Camargo.)
  Changes affecting past and future time stamps
  Moldova starts and ends DST at 00:00 UTC, not at 01:00 UTC. (Thanks to 
Roman Tudos.)

Modified:
  stable/8/share/zoneinfo/africa
  stable/8/share/zoneinfo/asia
  stable/8/share/zoneinfo/europe
  stable/8/share/zoneinfo/leap-seconds.list
  stable/8/share/zoneinfo/northamerica
  stable/8/share/zoneinfo/southamerica
  stable/8/share/zoneinfo/zone.tab
  stable/8/share/zoneinfo/zone1970.tab
Directory Properties:
  stable/8/share/zoneinfo/   (props changed)

Modified: stable/8/share/zoneinfo/africa
==
--- stable/8/share/zoneinfo/africa  Fri Aug 14 00:00:24 2015
(r286752)
+++ stable/8/share/zoneinfo/africa  Fri Aug 14 00:00:50 2015
(r286753)
@@ -538,7 +538,7 @@ ZoneAfrica/Tripoli  0:52:44 -   LMT 1920
 
 # From Alex Krivenyshev (2008-07-11):
 # Seems that English language article "The revival of daylight saving
-# time: Energy conservation?"-# No. 16578 (07/11/2008) was originally
+# time: Energy conservation?"- No. 16578 (07/11/2008) was originally
 # published on Monday, June 30, 2008...
 #
 # I guess that article in French "Le gouvernement avance l'introduction
@@ -670,7 +670,7 @@ Zone Indian/Mauritius   3:50:00 -   LMT 1907
 # Here is a link to official document from Royaume du Maroc Premier Ministre,
 # Ministère de la Modernisation des Secteurs Publics
 #
-# Under Article 1 of Royal Decree No. 455-67 of Act 23 safar 1387 (2 june 1967)
+# Under Article 1 of Royal Decree No. 455-67 of Act 23 safar 1387 (2 June 1967)
 # concerning the amendment of the legal time, the Ministry of Modernization of
 # Public Sectors announced that the official time in the Kingdom will be
 # advanced 60 minutes from Sunday 31 May 2009 at midnight.

Modified: stable/8/share/zoneinfo/asia
==
--- stable/8/share/zoneinfo/asiaFri Aug 14 00:00:24 2015
(r286752)
+++ stable/8/share/zoneinfo/asiaFri Aug 14 00:00:50 2015
(r286753)
@@ -6,7 +6,7 @@
 # t...@iana.org for general use in the future).  For more, please see
 # the file CONTRIBUTING in the tz distribution.
 
-# From Paul Eggert (2014-10-31):
+# From Paul Eggert (2015-08-08):
 #
 # Unless otherwise specified, the source for data through 1990 is:
 # Thomas G. Shanks and Rique Pottenger, The International Atlas (6th edition),
@@ -43,7 +43,7 @@
 #  2:00 EET  EEST  Eastern European Time
 #  2:00 IST  IDT   Israel
 #  3:00 AST  ADT   Arabia*
-#  3:30 IRST IRDT  Iran
+#  3:30 IRST IRDT  Iran*
 #  4:00 GSTGulf*
 #  5:30 ISTIndia
 #  7:00 ICTIndochina, most times and locations*
@@ -52,10 +52,11 @@
 #  8:00 CSTChina
 #  8:00 IDTIndochina, 1943-45, 1947-55, 1960-75 (some locations)*
 #  8:00 JWST   Western Standard Time (Japan, 1896/1937)*
+#  8:30 KST  KDT   Korea when at +0830*
 #  9:00 JCST   Central Standard Time (Japan, 1896/1937)
 #  9:00 WITeast Indonesia (Waktu Indonesia Timur)
 #  9:00 JST  JDT   Japan
-#  9:00 KST  KDT   Korea
+#  9:00 KST  KDT   Korea when at +09
 #  9:30 ACST   Australian Central Standard Time
 #
 # See the 'europe' file for Russia and Turkey in Asia.
@@ -1027,7 +1028,7 @@ Zone Asia/Jayapura9:22:48 -   LMT 1932 No
 #
 # From Roozbeh Pournader (2007-11-05):
 # This is quoted from Official Gazette of the Islamic Republic of
-# Iran, Volume 63, Number 18242, dated Tuesday 1386/6/24
+# Iran, Volume 63, No. 18242, dated Tuesday 1386/6/24
 # [2007-10-16]. I am doing the best translation I can:...
 # The official time of the country will be moved forward for one hour
 # on the 24 hours of the first day of the month of Farvardin and will
@@ -1557,7 +1558,7 @@ Zone  Asia/Amman  2:23:44 -   LMT 1931
 # - Qyzylorda switched from +5:00 to +6:00 on 1992-01-19 02:00.
 # - Oral switched from +5:00 to +4:00 in spring 1989.
 
-# From Kazakhstan Embassy's News Bulletin #11
+# From Kazakhstan Embassy's News Bulletin No. 11
 #  (2005-03-21):
 # The Government of Kazakhstan passed a resolution March 15 abolishing
 # daylight saving time citing lack of economic benefits and health
@@ -1711,6 +1712,17 @@ Rule ROK 19871988-   Oct Sun>=8  
3:000   S
 #
 # For Pyongyang we have no information; guess no changes sin

svn commit: r286752 - stable/9/contrib/tzdata

2015-08-13 Thread Edwin Groothuis
Author: edwin
Date: Fri Aug 14 00:00:24 2015
New Revision: 286752
URL: https://svnweb.freebsd.org/changeset/base/286752

Log:
  MFC of 286750,tzdata9:
  
  Update to tzdata2015f:
  
  Changes affecting future time stamps
  
  North Korea switches to +0830 on 2015-08-15.  (Thanks to Steffen Thorsen.)
  The abbreviation remains "KST".  (Thanks to Robert Elz.)
  Uruguay no longer observes DST.  (Thanks to Steffen Thorsen and Pablo 
Camargo.)
  Changes affecting past and future time stamps
  Moldova starts and ends DST at 00:00 UTC, not at 01:00 UTC. (Thanks to 
Roman Tudos.)

Modified:
  stable/9/contrib/tzdata/africa
  stable/9/contrib/tzdata/asia
  stable/9/contrib/tzdata/europe
  stable/9/contrib/tzdata/leap-seconds.list
  stable/9/contrib/tzdata/northamerica
  stable/9/contrib/tzdata/southamerica
  stable/9/contrib/tzdata/zone.tab
  stable/9/contrib/tzdata/zone1970.tab
Directory Properties:
  stable/9/contrib/tzdata/   (props changed)

Modified: stable/9/contrib/tzdata/africa
==
--- stable/9/contrib/tzdata/africa  Thu Aug 13 23:59:53 2015
(r286751)
+++ stable/9/contrib/tzdata/africa  Fri Aug 14 00:00:24 2015
(r286752)
@@ -538,7 +538,7 @@ ZoneAfrica/Tripoli  0:52:44 -   LMT 1920
 
 # From Alex Krivenyshev (2008-07-11):
 # Seems that English language article "The revival of daylight saving
-# time: Energy conservation?"-# No. 16578 (07/11/2008) was originally
+# time: Energy conservation?"- No. 16578 (07/11/2008) was originally
 # published on Monday, June 30, 2008...
 #
 # I guess that article in French "Le gouvernement avance l'introduction
@@ -670,7 +670,7 @@ Zone Indian/Mauritius   3:50:00 -   LMT 1907
 # Here is a link to official document from Royaume du Maroc Premier Ministre,
 # Ministère de la Modernisation des Secteurs Publics
 #
-# Under Article 1 of Royal Decree No. 455-67 of Act 23 safar 1387 (2 june 1967)
+# Under Article 1 of Royal Decree No. 455-67 of Act 23 safar 1387 (2 June 1967)
 # concerning the amendment of the legal time, the Ministry of Modernization of
 # Public Sectors announced that the official time in the Kingdom will be
 # advanced 60 minutes from Sunday 31 May 2009 at midnight.

Modified: stable/9/contrib/tzdata/asia
==
--- stable/9/contrib/tzdata/asiaThu Aug 13 23:59:53 2015
(r286751)
+++ stable/9/contrib/tzdata/asiaFri Aug 14 00:00:24 2015
(r286752)
@@ -6,7 +6,7 @@
 # t...@iana.org for general use in the future).  For more, please see
 # the file CONTRIBUTING in the tz distribution.
 
-# From Paul Eggert (2014-10-31):
+# From Paul Eggert (2015-08-08):
 #
 # Unless otherwise specified, the source for data through 1990 is:
 # Thomas G. Shanks and Rique Pottenger, The International Atlas (6th edition),
@@ -43,7 +43,7 @@
 #  2:00 EET  EEST  Eastern European Time
 #  2:00 IST  IDT   Israel
 #  3:00 AST  ADT   Arabia*
-#  3:30 IRST IRDT  Iran
+#  3:30 IRST IRDT  Iran*
 #  4:00 GSTGulf*
 #  5:30 ISTIndia
 #  7:00 ICTIndochina, most times and locations*
@@ -52,10 +52,11 @@
 #  8:00 CSTChina
 #  8:00 IDTIndochina, 1943-45, 1947-55, 1960-75 (some locations)*
 #  8:00 JWST   Western Standard Time (Japan, 1896/1937)*
+#  8:30 KST  KDT   Korea when at +0830*
 #  9:00 JCST   Central Standard Time (Japan, 1896/1937)
 #  9:00 WITeast Indonesia (Waktu Indonesia Timur)
 #  9:00 JST  JDT   Japan
-#  9:00 KST  KDT   Korea
+#  9:00 KST  KDT   Korea when at +09
 #  9:30 ACST   Australian Central Standard Time
 #
 # See the 'europe' file for Russia and Turkey in Asia.
@@ -1027,7 +1028,7 @@ Zone Asia/Jayapura9:22:48 -   LMT 1932 No
 #
 # From Roozbeh Pournader (2007-11-05):
 # This is quoted from Official Gazette of the Islamic Republic of
-# Iran, Volume 63, Number 18242, dated Tuesday 1386/6/24
+# Iran, Volume 63, No. 18242, dated Tuesday 1386/6/24
 # [2007-10-16]. I am doing the best translation I can:...
 # The official time of the country will be moved forward for one hour
 # on the 24 hours of the first day of the month of Farvardin and will
@@ -1557,7 +1558,7 @@ Zone  Asia/Amman  2:23:44 -   LMT 1931
 # - Qyzylorda switched from +5:00 to +6:00 on 1992-01-19 02:00.
 # - Oral switched from +5:00 to +4:00 in spring 1989.
 
-# From Kazakhstan Embassy's News Bulletin #11
+# From Kazakhstan Embassy's News Bulletin No. 11
 #  (2005-03-21):
 # The Government of Kazakhstan passed a resolution March 15 abolishing
 # daylight saving time citing lack of economic benefits and health
@@ -1711,6 +1712,17 @@ Rule ROK 19871988-   Oct Sun>=8  
3:000   S
 #
 # For Pyongyang we have no information; guess no changes sin

svn commit: r286751 - stable/10/contrib/tzdata

2015-08-13 Thread Edwin Groothuis
Author: edwin
Date: Thu Aug 13 23:59:53 2015
New Revision: 286751
URL: https://svnweb.freebsd.org/changeset/base/286751

Log:
  MFC of 286750,tzdata10:
  
  Update to tzdata2015f:
  
  Changes affecting future time stamps
  
  North Korea switches to +0830 on 2015-08-15.  (Thanks to Steffen Thorsen.)
  The abbreviation remains "KST".  (Thanks to Robert Elz.)
  Uruguay no longer observes DST.  (Thanks to Steffen Thorsen and Pablo 
Camargo.)
  Changes affecting past and future time stamps
  Moldova starts and ends DST at 00:00 UTC, not at 01:00 UTC. (Thanks to 
Roman Tudos.)

Modified:
  stable/10/contrib/tzdata/africa
  stable/10/contrib/tzdata/asia
  stable/10/contrib/tzdata/europe
  stable/10/contrib/tzdata/leap-seconds.list
  stable/10/contrib/tzdata/northamerica
  stable/10/contrib/tzdata/southamerica
  stable/10/contrib/tzdata/zone.tab
  stable/10/contrib/tzdata/zone1970.tab

Modified: stable/10/contrib/tzdata/africa
==
--- stable/10/contrib/tzdata/africa Thu Aug 13 23:57:44 2015
(r286750)
+++ stable/10/contrib/tzdata/africa Thu Aug 13 23:59:53 2015
(r286751)
@@ -538,7 +538,7 @@ ZoneAfrica/Tripoli  0:52:44 -   LMT 1920
 
 # From Alex Krivenyshev (2008-07-11):
 # Seems that English language article "The revival of daylight saving
-# time: Energy conservation?"-# No. 16578 (07/11/2008) was originally
+# time: Energy conservation?"- No. 16578 (07/11/2008) was originally
 # published on Monday, June 30, 2008...
 #
 # I guess that article in French "Le gouvernement avance l'introduction
@@ -670,7 +670,7 @@ Zone Indian/Mauritius   3:50:00 -   LMT 1907
 # Here is a link to official document from Royaume du Maroc Premier Ministre,
 # Ministère de la Modernisation des Secteurs Publics
 #
-# Under Article 1 of Royal Decree No. 455-67 of Act 23 safar 1387 (2 june 1967)
+# Under Article 1 of Royal Decree No. 455-67 of Act 23 safar 1387 (2 June 1967)
 # concerning the amendment of the legal time, the Ministry of Modernization of
 # Public Sectors announced that the official time in the Kingdom will be
 # advanced 60 minutes from Sunday 31 May 2009 at midnight.

Modified: stable/10/contrib/tzdata/asia
==
--- stable/10/contrib/tzdata/asia   Thu Aug 13 23:57:44 2015
(r286750)
+++ stable/10/contrib/tzdata/asia   Thu Aug 13 23:59:53 2015
(r286751)
@@ -6,7 +6,7 @@
 # t...@iana.org for general use in the future).  For more, please see
 # the file CONTRIBUTING in the tz distribution.
 
-# From Paul Eggert (2014-10-31):
+# From Paul Eggert (2015-08-08):
 #
 # Unless otherwise specified, the source for data through 1990 is:
 # Thomas G. Shanks and Rique Pottenger, The International Atlas (6th edition),
@@ -43,7 +43,7 @@
 #  2:00 EET  EEST  Eastern European Time
 #  2:00 IST  IDT   Israel
 #  3:00 AST  ADT   Arabia*
-#  3:30 IRST IRDT  Iran
+#  3:30 IRST IRDT  Iran*
 #  4:00 GSTGulf*
 #  5:30 ISTIndia
 #  7:00 ICTIndochina, most times and locations*
@@ -52,10 +52,11 @@
 #  8:00 CSTChina
 #  8:00 IDTIndochina, 1943-45, 1947-55, 1960-75 (some locations)*
 #  8:00 JWST   Western Standard Time (Japan, 1896/1937)*
+#  8:30 KST  KDT   Korea when at +0830*
 #  9:00 JCST   Central Standard Time (Japan, 1896/1937)
 #  9:00 WITeast Indonesia (Waktu Indonesia Timur)
 #  9:00 JST  JDT   Japan
-#  9:00 KST  KDT   Korea
+#  9:00 KST  KDT   Korea when at +09
 #  9:30 ACST   Australian Central Standard Time
 #
 # See the 'europe' file for Russia and Turkey in Asia.
@@ -1027,7 +1028,7 @@ Zone Asia/Jayapura9:22:48 -   LMT 1932 No
 #
 # From Roozbeh Pournader (2007-11-05):
 # This is quoted from Official Gazette of the Islamic Republic of
-# Iran, Volume 63, Number 18242, dated Tuesday 1386/6/24
+# Iran, Volume 63, No. 18242, dated Tuesday 1386/6/24
 # [2007-10-16]. I am doing the best translation I can:...
 # The official time of the country will be moved forward for one hour
 # on the 24 hours of the first day of the month of Farvardin and will
@@ -1557,7 +1558,7 @@ Zone  Asia/Amman  2:23:44 -   LMT 1931
 # - Qyzylorda switched from +5:00 to +6:00 on 1992-01-19 02:00.
 # - Oral switched from +5:00 to +4:00 in spring 1989.
 
-# From Kazakhstan Embassy's News Bulletin #11
+# From Kazakhstan Embassy's News Bulletin No. 11
 #  (2005-03-21):
 # The Government of Kazakhstan passed a resolution March 15 abolishing
 # daylight saving time citing lack of economic benefits and health
@@ -1711,6 +1712,17 @@ Rule ROK 19871988-   Oct Sun>=8  
3:000   S
 #
 # For Pyongyang we have no information; guess no changes since World War II.
 
+# From Steffen Thorsen (2015-08-07):

svn commit: r286750 - head/contrib/tzdata

2015-08-13 Thread Edwin Groothuis
Author: edwin
Date: Thu Aug 13 23:57:44 2015
New Revision: 286750
URL: https://svnweb.freebsd.org/changeset/base/286750

Log:
  MFV of 286748,tzdata2015f
  
  Update to tzdata2015f:
  
  Changes affecting future time stamps
  
  North Korea switches to +0830 on 2015-08-15.  (Thanks to Steffen Thorsen.)
  The abbreviation remains "KST".  (Thanks to Robert Elz.)
  Uruguay no longer observes DST.  (Thanks to Steffen Thorsen and Pablo 
Camargo.)
  Changes affecting past and future time stamps
  Moldova starts and ends DST at 00:00 UTC, not at 01:00 UTC. (Thanks to 
Roman Tudos.)

Modified:
  head/contrib/tzdata/africa
  head/contrib/tzdata/asia
  head/contrib/tzdata/europe
  head/contrib/tzdata/leap-seconds.list
  head/contrib/tzdata/northamerica
  head/contrib/tzdata/southamerica
  head/contrib/tzdata/zone.tab
  head/contrib/tzdata/zone1970.tab
Directory Properties:
  head/contrib/tzdata/   (props changed)

Modified: head/contrib/tzdata/africa
==
--- head/contrib/tzdata/africa  Thu Aug 13 23:57:15 2015(r286749)
+++ head/contrib/tzdata/africa  Thu Aug 13 23:57:44 2015(r286750)
@@ -538,7 +538,7 @@ ZoneAfrica/Tripoli  0:52:44 -   LMT 1920
 
 # From Alex Krivenyshev (2008-07-11):
 # Seems that English language article "The revival of daylight saving
-# time: Energy conservation?"-# No. 16578 (07/11/2008) was originally
+# time: Energy conservation?"- No. 16578 (07/11/2008) was originally
 # published on Monday, June 30, 2008...
 #
 # I guess that article in French "Le gouvernement avance l'introduction
@@ -670,7 +670,7 @@ Zone Indian/Mauritius   3:50:00 -   LMT 1907
 # Here is a link to official document from Royaume du Maroc Premier Ministre,
 # Ministère de la Modernisation des Secteurs Publics
 #
-# Under Article 1 of Royal Decree No. 455-67 of Act 23 safar 1387 (2 june 1967)
+# Under Article 1 of Royal Decree No. 455-67 of Act 23 safar 1387 (2 June 1967)
 # concerning the amendment of the legal time, the Ministry of Modernization of
 # Public Sectors announced that the official time in the Kingdom will be
 # advanced 60 minutes from Sunday 31 May 2009 at midnight.

Modified: head/contrib/tzdata/asia
==
--- head/contrib/tzdata/asiaThu Aug 13 23:57:15 2015(r286749)
+++ head/contrib/tzdata/asiaThu Aug 13 23:57:44 2015(r286750)
@@ -6,7 +6,7 @@
 # t...@iana.org for general use in the future).  For more, please see
 # the file CONTRIBUTING in the tz distribution.
 
-# From Paul Eggert (2014-10-31):
+# From Paul Eggert (2015-08-08):
 #
 # Unless otherwise specified, the source for data through 1990 is:
 # Thomas G. Shanks and Rique Pottenger, The International Atlas (6th edition),
@@ -43,7 +43,7 @@
 #  2:00 EET  EEST  Eastern European Time
 #  2:00 IST  IDT   Israel
 #  3:00 AST  ADT   Arabia*
-#  3:30 IRST IRDT  Iran
+#  3:30 IRST IRDT  Iran*
 #  4:00 GSTGulf*
 #  5:30 ISTIndia
 #  7:00 ICTIndochina, most times and locations*
@@ -52,10 +52,11 @@
 #  8:00 CSTChina
 #  8:00 IDTIndochina, 1943-45, 1947-55, 1960-75 (some locations)*
 #  8:00 JWST   Western Standard Time (Japan, 1896/1937)*
+#  8:30 KST  KDT   Korea when at +0830*
 #  9:00 JCST   Central Standard Time (Japan, 1896/1937)
 #  9:00 WITeast Indonesia (Waktu Indonesia Timur)
 #  9:00 JST  JDT   Japan
-#  9:00 KST  KDT   Korea
+#  9:00 KST  KDT   Korea when at +09
 #  9:30 ACST   Australian Central Standard Time
 #
 # See the 'europe' file for Russia and Turkey in Asia.
@@ -1027,7 +1028,7 @@ Zone Asia/Jayapura9:22:48 -   LMT 1932 No
 #
 # From Roozbeh Pournader (2007-11-05):
 # This is quoted from Official Gazette of the Islamic Republic of
-# Iran, Volume 63, Number 18242, dated Tuesday 1386/6/24
+# Iran, Volume 63, No. 18242, dated Tuesday 1386/6/24
 # [2007-10-16]. I am doing the best translation I can:...
 # The official time of the country will be moved forward for one hour
 # on the 24 hours of the first day of the month of Farvardin and will
@@ -1557,7 +1558,7 @@ Zone  Asia/Amman  2:23:44 -   LMT 1931
 # - Qyzylorda switched from +5:00 to +6:00 on 1992-01-19 02:00.
 # - Oral switched from +5:00 to +4:00 in spring 1989.
 
-# From Kazakhstan Embassy's News Bulletin #11
+# From Kazakhstan Embassy's News Bulletin No. 11
 #  (2005-03-21):
 # The Government of Kazakhstan passed a resolution March 15 abolishing
 # daylight saving time citing lack of economic benefits and health
@@ -1711,6 +1712,17 @@ Rule ROK 19871988-   Oct Sun>=8  
3:000   S
 #
 # For Pyongyang we have no information; guess no changes since World War II.
 
+# From Steffen Thorsen (2015-08-07):
+# According to many

svn commit: r286749 - vendor/tzdata/tzdata2015f

2015-08-13 Thread Edwin Groothuis
Author: edwin
Date: Thu Aug 13 23:57:15 2015
New Revision: 286749
URL: https://svnweb.freebsd.org/changeset/base/286749

Log:
  Tag of tzdata 2015f

Added:
 - copied from r286748, vendor/tzdata/dist/
Directory Properties:
  vendor/tzdata/tzdata2015f/   (props changed)
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


svn commit: r286748 - vendor/tzdata/dist

2015-08-13 Thread Edwin Groothuis
Author: edwin
Date: Thu Aug 13 23:57:00 2015
New Revision: 286748
URL: https://svnweb.freebsd.org/changeset/base/286748

Log:
  Vendor import of tzdata2015f:
  
  Update to tzdata2015f:
  
  Changes affecting future time stamps
  
  North Korea switches to +0830 on 2015-08-15.  (Thanks to Steffen Thorsen.)
  The abbreviation remains "KST".  (Thanks to Robert Elz.)
  Uruguay no longer observes DST.  (Thanks to Steffen Thorsen and Pablo 
Camargo.)
  Changes affecting past and future time stamps
  Moldova starts and ends DST at 00:00 UTC, not at 01:00 UTC. (Thanks to 
Roman Tudos.)
  
  Obtained from: ftp://ftp.iana.org/tz/releases/

Modified:
  vendor/tzdata/dist/africa
  vendor/tzdata/dist/asia
  vendor/tzdata/dist/europe
  vendor/tzdata/dist/leap-seconds.list
  vendor/tzdata/dist/northamerica
  vendor/tzdata/dist/southamerica
  vendor/tzdata/dist/zone.tab
  vendor/tzdata/dist/zone1970.tab

Modified: vendor/tzdata/dist/africa
==
--- vendor/tzdata/dist/africa   Thu Aug 13 22:32:42 2015(r286747)
+++ vendor/tzdata/dist/africa   Thu Aug 13 23:57:00 2015(r286748)
@@ -538,7 +538,7 @@ ZoneAfrica/Tripoli  0:52:44 -   LMT 1920
 
 # From Alex Krivenyshev (2008-07-11):
 # Seems that English language article "The revival of daylight saving
-# time: Energy conservation?"-# No. 16578 (07/11/2008) was originally
+# time: Energy conservation?"- No. 16578 (07/11/2008) was originally
 # published on Monday, June 30, 2008...
 #
 # I guess that article in French "Le gouvernement avance l'introduction
@@ -670,7 +670,7 @@ Zone Indian/Mauritius   3:50:00 -   LMT 1907
 # Here is a link to official document from Royaume du Maroc Premier Ministre,
 # Ministère de la Modernisation des Secteurs Publics
 #
-# Under Article 1 of Royal Decree No. 455-67 of Act 23 safar 1387 (2 june 1967)
+# Under Article 1 of Royal Decree No. 455-67 of Act 23 safar 1387 (2 June 1967)
 # concerning the amendment of the legal time, the Ministry of Modernization of
 # Public Sectors announced that the official time in the Kingdom will be
 # advanced 60 minutes from Sunday 31 May 2009 at midnight.

Modified: vendor/tzdata/dist/asia
==
--- vendor/tzdata/dist/asia Thu Aug 13 22:32:42 2015(r286747)
+++ vendor/tzdata/dist/asia Thu Aug 13 23:57:00 2015(r286748)
@@ -6,7 +6,7 @@
 # t...@iana.org for general use in the future).  For more, please see
 # the file CONTRIBUTING in the tz distribution.
 
-# From Paul Eggert (2014-10-31):
+# From Paul Eggert (2015-08-08):
 #
 # Unless otherwise specified, the source for data through 1990 is:
 # Thomas G. Shanks and Rique Pottenger, The International Atlas (6th edition),
@@ -43,7 +43,7 @@
 #  2:00 EET  EEST  Eastern European Time
 #  2:00 IST  IDT   Israel
 #  3:00 AST  ADT   Arabia*
-#  3:30 IRST IRDT  Iran
+#  3:30 IRST IRDT  Iran*
 #  4:00 GSTGulf*
 #  5:30 ISTIndia
 #  7:00 ICTIndochina, most times and locations*
@@ -52,10 +52,11 @@
 #  8:00 CSTChina
 #  8:00 IDTIndochina, 1943-45, 1947-55, 1960-75 (some locations)*
 #  8:00 JWST   Western Standard Time (Japan, 1896/1937)*
+#  8:30 KST  KDT   Korea when at +0830*
 #  9:00 JCST   Central Standard Time (Japan, 1896/1937)
 #  9:00 WITeast Indonesia (Waktu Indonesia Timur)
 #  9:00 JST  JDT   Japan
-#  9:00 KST  KDT   Korea
+#  9:00 KST  KDT   Korea when at +09
 #  9:30 ACST   Australian Central Standard Time
 #
 # See the 'europe' file for Russia and Turkey in Asia.
@@ -1027,7 +1028,7 @@ Zone Asia/Jayapura9:22:48 -   LMT 1932 No
 #
 # From Roozbeh Pournader (2007-11-05):
 # This is quoted from Official Gazette of the Islamic Republic of
-# Iran, Volume 63, Number 18242, dated Tuesday 1386/6/24
+# Iran, Volume 63, No. 18242, dated Tuesday 1386/6/24
 # [2007-10-16]. I am doing the best translation I can:...
 # The official time of the country will be moved forward for one hour
 # on the 24 hours of the first day of the month of Farvardin and will
@@ -1557,7 +1558,7 @@ Zone  Asia/Amman  2:23:44 -   LMT 1931
 # - Qyzylorda switched from +5:00 to +6:00 on 1992-01-19 02:00.
 # - Oral switched from +5:00 to +4:00 in spring 1989.
 
-# From Kazakhstan Embassy's News Bulletin #11
+# From Kazakhstan Embassy's News Bulletin No. 11
 #  (2005-03-21):
 # The Government of Kazakhstan passed a resolution March 15 abolishing
 # daylight saving time citing lack of economic benefits and health
@@ -1711,6 +1712,17 @@ Rule ROK 19871988-   Oct Sun>=8  
3:000   S
 #
 # For Pyongyang we have no information; guess no changes since World War II.
 
+# From Steffen Thorsen (2015-08-07):
+# According to many news sources, No

svn commit: r286747 - head

2015-08-13 Thread Warner Losh
Author: imp
Date: Thu Aug 13 22:32:42 2015
New Revision: 286747
URL: https://svnweb.freebsd.org/changeset/base/286747

Log:
  Spell binaries in the customary way.
  
  Submitted by: jhb@

Modified:
  head/Makefile.inc1

Modified: head/Makefile.inc1
==
--- head/Makefile.inc1  Thu Aug 13 22:29:26 2015(r286746)
+++ head/Makefile.inc1  Thu Aug 13 22:32:42 2015(r286747)
@@ -220,7 +220,7 @@ INSTALLTMP!=/usr/bin/mktemp -d -u -t in
 #  This stage is responsible for creating the object
 #  tree and building any tools that are needed during
 #  the build process. Some programs are listed during
-#  this phase because they build binaires to generate
+#  this phase because they build binaries to generate
 #  files needed to build these programs. This stage also
 #  builds the 'build-tools' target rather than 'all'.
 # 3. cross-tools stage [XMAKE]
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


svn commit: r286746 - stable/10

2015-08-13 Thread Glen Barber
Author: gjb
Date: Thu Aug 13 22:29:26 2015
New Revision: 286746
URL: https://svnweb.freebsd.org/changeset/base/286746

Log:
  MFC r262670 (marcel):
Use ${MAKE} so that we always use the same version/implementation
of make(1).
  
  PR:   202277
  Submitted by: John Hein
  Sponsored by: The FreeBSD Foundation

Modified:
  stable/10/Makefile.inc1
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/Makefile.inc1
==
--- stable/10/Makefile.inc1 Thu Aug 13 22:04:30 2015(r286745)
+++ stable/10/Makefile.inc1 Thu Aug 13 22:29:26 2015(r286746)
@@ -133,8 +133,8 @@ OSRELDATE=  0
 .endif
 
 .if !defined(VERSION)
-REVISION!= make -C ${SRCDIR}/release -V REVISION
-BRANCH!=   make -C ${SRCDIR}/release -V BRANCH
+REVISION!= ${MAKE} -C ${SRCDIR}/release -V REVISION
+BRANCH!=   ${MAKE} -C ${SRCDIR}/release -V BRANCH
 SRCRELDATE!=   awk '/^\#define[[:space:]]*__FreeBSD_version/ { print $$3 }' \
${SRCDIR}/sys/sys/param.h
 VERSION=   FreeBSD ${REVISION}-${BRANCH:C/-p[0-9]+$//} ${TARGET_ARCH} 
${SRCRELDATE}
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


svn commit: r286745 - head/tools/build/mk

2015-08-13 Thread Antoine Brodin
Author: antoine
Date: Thu Aug 13 22:04:30 2015
New Revision: 286745
URL: https://svnweb.freebsd.org/changeset/base/286745

Log:
  Stop removing ELF toolchain tools

Modified:
  head/tools/build/mk/OptionalObsoleteFiles.inc

Modified: head/tools/build/mk/OptionalObsoleteFiles.inc
==
--- head/tools/build/mk/OptionalObsoleteFiles.inc   Thu Aug 13 22:01:13 
2015(r286744)
+++ head/tools/build/mk/OptionalObsoleteFiles.inc   Thu Aug 13 22:04:30 
2015(r286745)
@@ -7506,7 +7506,7 @@ OLD_FILES+=usr/share/man/man1/colcrt.1.g
 OLD_FILES+=usr/share/man/man1/ul.1.gz
 .endif
 
-#.if ${MK_TOOLCHAIN} == no
+.if ${MK_TOOLCHAIN} == no
 OLD_FILES+=usr/bin/addr2line
 OLD_FILES+=usr/bin/c++filt
 OLD_FILES+=usr/bin/nm
@@ -7521,7 +7521,7 @@ OLD_FILES+=usr/share/man/man1/readelf.1.
 OLD_FILES+=usr/share/man/man1/size.1.gz
 OLD_FILES+=usr/share/man/man1/strings.1.gz
 OLD_FILES+=usr/share/man/man1/strip.1.gz
-#.endif
+.endif
 .if ${MK_TOOLCHAIN} == no || ${MK_ELFCOPY_AS_OBJCOPY} != no
 OLD_FILES+=usr/bin/elfcopy
 OLD_FILES+=usr/share/man/man1/elfcopy.1.gz
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


svn commit: r286743 - stable/9/sys/dev/vt

2015-08-13 Thread Ed Maste
Author: emaste
Date: Thu Aug 13 19:51:21 2015
New Revision: 286743
URL: https://svnweb.freebsd.org/changeset/base/286743

Log:
  MFC r276282: Support ALT_BREAK_TO_DEBUGGER in vt(4)
  
  PR:   196511

Modified:
  stable/9/sys/dev/vt/vt.h
  stable/9/sys/dev/vt/vt_core.c
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/dev/   (props changed)

Modified: stable/9/sys/dev/vt/vt.h
==
--- stable/9/sys/dev/vt/vt.hThu Aug 13 19:48:19 2015(r286742)
+++ stable/9/sys/dev/vt/vt.hThu Aug 13 19:51:21 2015(r286743)
@@ -139,6 +139,7 @@ struct vt_device {
int  vd_keyboard;   /* (G) Keyboard index. */
unsigned int vd_kbstate;/* (?) Device unit. */
unsigned int vd_unit;   /* (c) Device unit. */
+   int  vd_altbrk; /* (?) Alt break seq. state */
 };
 
 /*

Modified: stable/9/sys/dev/vt/vt_core.c
==
--- stable/9/sys/dev/vt/vt_core.c   Thu Aug 13 19:48:19 2015
(r286742)
+++ stable/9/sys/dev/vt/vt_core.c   Thu Aug 13 19:51:21 2015
(r286743)
@@ -516,7 +516,9 @@ vt_processkey(keyboard_t *kbd, struct vt
terminal_input_char(vw->vw_terminal, 0x1b);
}
 #endif
-
+#if defined(KDB)
+   kdb_alt_break(c, &vd->vd_altbrk);
+#endif
terminal_input_char(vw->vw_terminal, KEYCHAR(c));
} else
terminal_input_raw(vw->vw_terminal, c);
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


svn commit: r286742 - stable/10/sys/dev/vt

2015-08-13 Thread Ed Maste
Author: emaste
Date: Thu Aug 13 19:48:19 2015
New Revision: 286742
URL: https://svnweb.freebsd.org/changeset/base/286742

Log:
  MFC r276282: Support ALT_BREAK_TO_DEBUGGER in vt(4)
  
  PR:   196511

Modified:
  stable/10/sys/dev/vt/vt.h
  stable/10/sys/dev/vt/vt_core.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/dev/vt/vt.h
==
--- stable/10/sys/dev/vt/vt.h   Thu Aug 13 19:12:55 2015(r286741)
+++ stable/10/sys/dev/vt/vt.h   Thu Aug 13 19:48:19 2015(r286742)
@@ -154,6 +154,7 @@ struct vt_device {
int  vd_keyboard;   /* (G) Keyboard index. */
unsigned int vd_kbstate;/* (?) Device unit. */
unsigned int vd_unit;   /* (c) Device unit. */
+   int  vd_altbrk; /* (?) Alt break seq. state */
 };
 
 #defineVD_PASTEBUF(vd) ((vd)->vd_pastebuf.vpb_buf)

Modified: stable/10/sys/dev/vt/vt_core.c
==
--- stable/10/sys/dev/vt/vt_core.c  Thu Aug 13 19:12:55 2015
(r286741)
+++ stable/10/sys/dev/vt/vt_core.c  Thu Aug 13 19:48:19 2015
(r286742)
@@ -852,7 +852,9 @@ vt_processkey(keyboard_t *kbd, struct vt
terminal_input_char(vw->vw_terminal, 0x1b);
}
 #endif
-
+#if defined(KDB)
+   kdb_alt_break(c, &vd->vd_altbrk);
+#endif
terminal_input_char(vw->vw_terminal, KEYCHAR(c));
} else
terminal_input_raw(vw->vw_terminal, c);
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


svn commit: r286741 - head/sys/dev/md

2015-08-13 Thread Marcel Moolenaar
Author: marcel
Date: Thu Aug 13 19:12:55 2015
New Revision: 286741
URL: https://svnweb.freebsd.org/changeset/base/286741

Log:
  s/as/at/ in previous commit.
  
  Pointed out by: jmallett@

Modified:
  head/sys/dev/md/md.c

Modified: head/sys/dev/md/md.c
==
--- head/sys/dev/md/md.cThu Aug 13 19:05:18 2015(r286740)
+++ head/sys/dev/md/md.cThu Aug 13 19:12:55 2015(r286741)
@@ -1565,7 +1565,7 @@ md_preloaded(u_char *image, size_t lengt
printf("%s%d: Preloaded image <%s> %zd bytes at %p\n",
MD_NAME, sc->unit, name, length, image);
} else {
-   printf("%s%d: Embedded image %zd bytes as %p\n",
+   printf("%s%d: Embedded image %zd bytes at %p\n",
MD_NAME, sc->unit, length, image);
}
 }
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


svn commit: r286740 - head/sys/arm64/arm64

2015-08-13 Thread Ed Maste
Author: emaste
Date: Thu Aug 13 19:05:18 2015
New Revision: 286740
URL: https://svnweb.freebsd.org/changeset/base/286740

Log:
  Remove arm64 workaround for Clang 3.4 crash

Modified:
  head/sys/arm64/arm64/exception.S

Modified: head/sys/arm64/arm64/exception.S
==
--- head/sys/arm64/arm64/exception.SThu Aug 13 19:04:41 2015
(r286739)
+++ head/sys/arm64/arm64/exception.SThu Aug 13 19:05:18 2015
(r286740)
@@ -104,7 +104,7 @@ __FBSDID("$FreeBSD$");
 
/* Read the current thread flags */
 1: ldr x1, [x18, #PC_CURTHREAD]/* Load curthread */
-   ldr x2, [x1, #TD_FLAGS]! /* TODO: No need for the ! but clang fails 
without it */
+   ldr x2, [x1, #TD_FLAGS]
 
/* Check if we have either bits set */
mov x3, #((TDF_ASTPENDING|TDF_NEEDRESCHED) >> 8)
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


svn commit: r286739 - stable/10/release/doc/en_US.ISO8859-1/errata

2015-08-13 Thread Glen Barber
Author: gjb
Date: Thu Aug 13 19:04:41 2015
New Revision: 286739
URL: https://svnweb.freebsd.org/changeset/base/286739

Log:
  Fix the gnome package name.
  
  Approved by:  re (implicit)
  Sponsored by: The FreeBSD Foundation

Modified:
  stable/10/release/doc/en_US.ISO8859-1/errata/article.xml

Modified: stable/10/release/doc/en_US.ISO8859-1/errata/article.xml
==
--- stable/10/release/doc/en_US.ISO8859-1/errata/article.xmlThu Aug 13 
18:50:54 2015(r286738)
+++ stable/10/release/doc/en_US.ISO8859-1/errata/article.xmlThu Aug 13 
19:04:41 2015(r286739)
@@ -231,7 +231,7 @@ boot
  packages:
 
&prompt.root; pkg bootstrap
-&prompt.root; pkg install xorg-server 
xorg gnome2 [...]
+&prompt.root; pkg install xorg-server 
xorg gnome3 [...]
   
 
   
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


svn commit: r286738 - stable/10/release/doc/en_US.ISO8859-1/errata

2015-08-13 Thread Glen Barber
Author: gjb
Date: Thu Aug 13 18:50:54 2015
New Revision: 286738
URL: https://svnweb.freebsd.org/changeset/base/286738

Log:
  Document a known issue with the VirtualBox Vagrant provider failing
  to boot on the first invocation of 'vagrant up'.
  
  Approved by:  re (implicit)
  Sponsored by: The FreeBSD Foundation

Modified:
  stable/10/release/doc/en_US.ISO8859-1/errata/article.xml

Modified: stable/10/release/doc/en_US.ISO8859-1/errata/article.xml
==
--- stable/10/release/doc/en_US.ISO8859-1/errata/article.xmlThu Aug 13 
18:45:52 2015(r286737)
+++ stable/10/release/doc/en_US.ISO8859-1/errata/article.xmlThu Aug 13 
18:50:54 2015(r286738)
@@ -251,6 +251,23 @@ boot
  cause source-based upgrades to fail, a post-release Errata
  Notice is planned.
   
+
+  
+   An issue with &os; virtual machines with
+ vagrant was discovered that
+ affects the VirtualBox where the
+ virtual machine will not start on the initial boot invoked
+ with vagrant up.
+
+   The issue is due to the virtual machine
+ MAC being unset, as &os; does not provide
+ a default Vagrantfile.
+
+   It has been observed, however, that a subsequent
+ invocation of vagrant up will allow the
+ virtual machine to successfully boot, allowing access via
+ vagrant ssh.
+  
 
   
 
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


svn commit: r286737 - head/cddl/contrib/opensolaris/cmd/ztest

2015-08-13 Thread Xin LI
Author: delphij
Date: Thu Aug 13 18:45:52 2015
New Revision: 286737
URL: https://svnweb.freebsd.org/changeset/base/286737

Log:
  Plug a memory leak.
  
  MFC after:2 weeks

Modified:
  head/cddl/contrib/opensolaris/cmd/ztest/ztest.c

Modified: head/cddl/contrib/opensolaris/cmd/ztest/ztest.c
==
--- head/cddl/contrib/opensolaris/cmd/ztest/ztest.c Thu Aug 13 18:41:53 
2015(r286736)
+++ head/cddl/contrib/opensolaris/cmd/ztest/ztest.c Thu Aug 13 18:45:52 
2015(r286737)
@@ -5908,6 +5908,7 @@ ztest_init(ztest_shared_t *zs)
}
VERIFY3U(0, ==, spa_create(ztest_opts.zo_pool, nvroot, props, NULL));
nvlist_free(nvroot);
+   nvlist_free(props);
 
VERIFY3U(0, ==, spa_open(ztest_opts.zo_pool, &spa, FTAG));
zs->zs_metaslab_sz =
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


svn commit: r286736 - stable/10/release/doc/en_US.ISO8859-1/errata

2015-08-13 Thread Glen Barber
Author: gjb
Date: Thu Aug 13 18:41:53 2015
New Revision: 286736
URL: https://svnweb.freebsd.org/changeset/base/286736

Log:
  Update the errata article.xml file for 10.2-RELEASE.
  
  Approved by:  re (implicit)
  Sponsored by: The FreeBSD Foundation

Modified:
  stable/10/release/doc/en_US.ISO8859-1/errata/article.xml

Modified: stable/10/release/doc/en_US.ISO8859-1/errata/article.xml
==
--- stable/10/release/doc/en_US.ISO8859-1/errata/article.xmlThu Aug 13 
18:40:32 2015(r286735)
+++ stable/10/release/doc/en_US.ISO8859-1/errata/article.xmlThu Aug 13 
18:41:53 2015(r286736)
@@ -99,6 +99,10 @@
  specific version of VirtualBox or
  host operating system.
 
+   It has been reported that instability may be present on
+ virtual machines running on other hypervisors, such as Xen
+ or KVM.
+
It causes various errors and makes &os; quite unstable.
  Although the cause is still unclear, disabling unmapped I/O
  works as a workaround.  To disable it, choose
@@ -114,15 +118,10 @@ boot
  disables unmapped I/O at every boot:
 
vfs.unmapped_buf_allowed=0
-
-   [2014-04-03 update]  It has been reported that
- instability may be present on virtual machines running
- on other hypervisors, such as Xen or KVM.
   
 
   
-   &os;/&arch.i386; 10.1-RELEASE configured with
- a multi-disk ZFS dataset (mirror, raidz1, raidz2, raidz3)
+   &os;/&arch.i386; &release.prev; installed on ZFS
  may crash during boot when the ZFS pool mount is attempted
  while booting an unmodified GENERIC
  kernel.
@@ -143,6 +142,38 @@ boot
  &os;/&arch.i386; GENERIC kernel
  is strongly discouraged.
 
+   If installing &os;/&arch.i386; on ZFS, it is possible to
+ configure the system after installation to increase the
+ KSTACK_PAGES.
+
+   When prompted by &man.bsdinstall.8; to perform
+ additional post-installation configuration to the system,
+ select [ YES ].
+
+   This procedure requires the system sources available
+ locally.  If the System source code
+ distribution was not selected during installation, it can
+ be obtained using svnlite:
+
+   &prompt.root; mkdir -p /usr/src
+&prompt.root; svnlite co svn://svn.freebsd.org/base/releng/10.2 
/usr/src
+
+   Build the kernel-toolchain required
+ to rebuild the kernel:
+
+   &prompt.root; make -C /usr/src kernel-toolchain
+
+   Next, create a kernel configuration file to increase the
+ KSTACK_PAGES option:
+
+   &prompt.root; printf "include GENERIC\noptions 
KSTACK_PAGES=4\n" > 
/usr/src/sys/i386/conf/ZFS
+
+   Then build and install the
+ ZFS kernel:
+
+   &prompt.root; make -C /usr/src buildkernel 
KERNCONF=ZFS
+&prompt.root; make -C /usr/src installkernel 
KERNCONF=ZFS
+

  It is extremely important to take note that, by
default, &man.freebsd-update.8; will install the
@@ -151,22 +182,12 @@ boot
encouraged to avoid &os;-provided kernel binary upgrades
with such configurations.

-
-   
- Although there is slight change in how the crash
-   manifests on &os;/&arch.i386; between 10.0-RELEASE and
-   10.1-RELEASE, and given the date of the
-   /usr/src/UPDATING entry, there is no
-   evidence suggesting this is a regression between
-   &os; 10.0-RELEASE and &os; 10.1-RELEASE
-   directly.
-   
   
 
   
Due to an incompatibility between &man.bsdconfig.8;
- and &man.pkg.8; version 1.3, packages included on the
- &os; dvd installer will not be recognized by
+ and &man.pkg.8;, packages included on the &os; dvd
+ installer will not be recognized by
  &man.bsdconfig.8;.
 
To install packages from the dvd1.iso
@@ -214,34 +235,21 @@ boot
   
 
   
-   [2015-02-06] Affects binary upgrade
-   users: The second phase of
- freebsd-update install, the phase where
- the running userland is upgraded, fails on systems deployed
- with nss_ldap enabled in
- &man.nsswitch.conf.5; when upgrading from 10.0-RELEASE to
- 10.1-RELEASE.
-
-   A workaround is to disable nss_ldap
- in &man.nsswitch.conf.5; prior to running
- freebsd-update install to upgrade the
- userland, after which it can be enabled again when the
- upgrade process is completed.
-
-   The problem is being investigated, and an Errata Notice
- is expected to be issued when a solution to the problem is
- identified.
+   An issue was discovered where the &man.netstat.1;
+ -s option will cause a segmentation fault
+ on systems with IPSEC compiled into the
+ ker

svn commit: r286735 - stable/10/release/doc/share/xml

2015-08-13 Thread Glen Barber
Author: gjb
Date: Thu Aug 13 18:40:32 2015
New Revision: 286735
URL: https://svnweb.freebsd.org/changeset/base/286735

Log:
  Prune Security Advisories and Errata Notices from the 10.2-RELEASE
  errata page.
  
  Approved by:  re (implicit)
  Sponsored by: The FreeBSD Foundation

Modified:
  stable/10/release/doc/share/xml/errata.xml
  stable/10/release/doc/share/xml/security.xml

Modified: stable/10/release/doc/share/xml/errata.xml
==
--- stable/10/release/doc/share/xml/errata.xml  Thu Aug 13 18:39:32 2015
(r286734)
+++ stable/10/release/doc/share/xml/errata.xml  Thu Aug 13 18:40:32 2015
(r286735)
@@ -19,85 +19,9 @@
 
 
   
-   FreeBSD-EN-14:13.freebsd-update
-   23 December 2014
-   Fixed directory deletion issue in
-   &man.freebsd-update.8;
-  
-
-  
-   FreeBSD-EN-15:01.vt
-   25 February 2015
-   &man.vt.4; crash with improper ioctl
-   parameters
-  
-
-  
-   FreeBSD-EN-15:02.openssl
-   25 February 2015
-   OpenSSL update
-  
-
-  
-   FreeBSD-EN-15:03.freebsd-update
-   25 February 2015
-   &man.freebsd-update.8; updates libraries in
-   suboptimal order
-  
-
-  
-   FreeBSD-EN-15:04.freebsd-update
-   13 May 2015
-   &man.freebsd-update.8; does not ensure the
-   previous upgrade has completed
-  
-
-  
-   FreeBSD-EN-15:05.ufs
-   13 May 2015
-   Deadlock on reboot with UFS tuned with
-   SU+J
-  
-
-  
-   FreeBSD-EN-15:06.file
-   9 June 2015
-   Multiple denial of service issues
-  
-
-  
-   FreeBSD-EN-15:07.zfs
-   9 June 2015
-   ZFS reliability improvements
-  
-
-  
-   FreeBSD-EN-15:08.sendmail
-   30 June 2015 (revised)
-   Sendmail TLS/DH interoperability improvement
-  
-
-  
-   FreeBSD-EN-15:09.xlocale
-   30 June 2015
-   Fix inconsistency between locale and rune locale 
states
-  
-
-  
-   FreeBSD-EN-15:10.iconv
-   30 June 2015
-   Improved &man.iconv.3; UTF-7 support
+   No notices.
+    
+    
   
 
   

Modified: stable/10/release/doc/share/xml/security.xml
==
--- stable/10/release/doc/share/xml/security.xmlThu Aug 13 18:39:32 
2015(r286734)
+++ stable/10/release/doc/share/xml/security.xmlThu Aug 13 18:40:32 
2015(r286735)
@@ -19,156 +19,9 @@
 
 
   
-   FreeBSD-SA-14:27.stdio
-   10 December 2014
-   Buffer overflow in stdio
-  
-
-  
-   FreeBSD-SA-14:28.file
-   10 December 2014
-   Multiple vulnerabilities in &man.file.1;
-   and &man.libmagic.3;
-  
-
-  
-   FreeBSD-SA-14:30.unbound
-   17 December 2014
-   Remote denial of service
-   vulnerability
-  
-
-  
-   FreeBSD-SA-14:31.ntp
-   23 December 2014
-   Multiple vulnerabilities in NTP
-   suite
-  
-
-  
-   FreeBSD-SA-15:01.openssl
-   14 January 2015
-   Multiple vulnerabilities in
-   OpenSSL
-  
-
-  
-   FreeBSD-SA-15:02.kmem
-   27 January 2015
-   SCTP kernel memory corruption and
-   disclosure vulnerability
-  
-
-  
-   FreeBSD-SA-15:03.sctp
-   27 January 2015
-   SCTP stream reset
-   vulnerability
-  
-
-  
-   FreeBSD-SA-15:04.igmp
-   25 February 2015
-   Integer overflow in IGMP protocol
-  
-
-  
-   FreeBSD-SA-15:06.openssl
-   19 March 2015
-   Multiple vulnerabilities
-  
-
-  
-   FreeBSD-SA-15:07.ntp
-   7 April 2015
-   Multiple vulnerabilities
-  
-
-  
-   FreeBSD-SA-15:08.bsdinstall
-   7 April 2015
-   Insecure default GELI key file
-   permissions
-  
-
-  
-   FreeBSD-SA-15:09.ipv6
-   7 April 2015
-   Router advertisement Denial of
-   Service
-  
-
-  
-   FreeBSD-SA-15:10.openssl
-   16 June 2015
-   Multiple vulnerabilities
-  
-
-  
-   FreeBSD-SA-15:12.openssl
-   9 July 2015
-   OpenSSL alternate chains certificate forgery
-   vulnerability (Note: This does not affect
-   &os; 10.1-RELEASE)
-  
-
-  
-   FreeBSD-SA-15:13.tcp
-   21 July 2015
-   resource exhaustion due to sessions stuck in
-   LAST_ACK state.
-  
-
-  
-   FreeBSD-SA-15:14.bsdpatch
-   28 July 2015
-   Shell injection vulnerability
-  
-
-  
-   FreeBSD-SA-15:15.tcp
-   28 July 2015
-   resource exhaustion in TCP
-   reassembly
-  
-
-  
-   FreeBSD-SA-15:16.openssh
-   28 July 2015
-   Multiple vulnerabilities
-  
-
-  
-   FreeBSD-SA-15:18.bsdpatch
-   5 August 2015
-   

svn commit: r286734 - stable/10/release/doc/share/xml

2015-08-13 Thread Glen Barber
Author: gjb
Date: Thu Aug 13 18:39:32 2015
New Revision: 286734
URL: https://svnweb.freebsd.org/changeset/base/286734

Log:
  Update FreeBSD version numbers in preparation of properly creating
  the 10.2-RELEASE errata.html page.
  
  Approved by:  re (implicit)
  Sponsored by: The FreeBSD Foundation

Modified:
  stable/10/release/doc/share/xml/release.ent

Modified: stable/10/release/doc/share/xml/release.ent
==
--- stable/10/release/doc/share/xml/release.ent Thu Aug 13 18:24:41 2015
(r286733)
+++ stable/10/release/doc/share/xml/release.ent Thu Aug 13 18:39:32 2015
(r286734)
@@ -6,23 +6,23 @@
 
 
-
+
 
 
-
+
 
 
-
+
 
 
-
+
 
 
-
+
 
 
 https://www.FreeBSD.org/snapshots/";>
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


svn commit: r286733 - head/sys/dev/bxe

2015-08-13 Thread Dimitry Andric
Author: dim
Date: Thu Aug 13 18:24:41 2015
New Revision: 286733
URL: https://svnweb.freebsd.org/changeset/base/286733

Log:
  Avoid left-shifting negative signed values in bxe(4).
  
  Reviewed by:  davidcs
  MFC after:3 days

Modified:
  head/sys/dev/bxe/ecore_hsi.h

Modified: head/sys/dev/bxe/ecore_hsi.h
==
--- head/sys/dev/bxe/ecore_hsi.hThu Aug 13 18:01:50 2015
(r286732)
+++ head/sys/dev/bxe/ecore_hsi.hThu Aug 13 18:24:41 2015
(r286733)
@@ -2536,9 +2536,9 @@ struct shmem2_region {
#define SHMEM_EEE_SUPPORTED_MASK   0x000f
#define SHMEM_EEE_SUPPORTED_SHIFT  16
#define SHMEM_EEE_ADV_STATUS_MASK  0x00f0
-   #define SHMEM_EEE_100M_ADV (1<<0)
-   #define SHMEM_EEE_1G_ADV   (1<<1)
-   #define SHMEM_EEE_10G_ADV  (1<<2)
+   #define SHMEM_EEE_100M_ADV (1U<<0)
+   #define SHMEM_EEE_1G_ADV   (1U<<1)
+   #define SHMEM_EEE_10G_ADV  (1U<<2)
#define SHMEM_EEE_ADV_STATUS_SHIFT 20
#define SHMEM_EEE_LP_ADV_STATUS_MASK   0x0f00
#define SHMEM_EEE_LP_ADV_STATUS_SHIFT  24
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


svn commit: r286732 - head/share/mk

2015-08-13 Thread Ed Maste
Author: emaste
Date: Thu Aug 13 18:01:50 2015
New Revision: 286732
URL: https://svnweb.freebsd.org/changeset/base/286732

Log:
  Remove remnant of WITHOUT_ELFTOOLCHAIN_TOOLS missed in r286730

Modified:
  head/share/mk/src.opts.mk

Modified: head/share/mk/src.opts.mk
==
--- head/share/mk/src.opts.mk   Thu Aug 13 17:54:28 2015(r286731)
+++ head/share/mk/src.opts.mk   Thu Aug 13 18:01:50 2015(r286732)
@@ -80,7 +80,6 @@ __DEFAULT_YES_OPTIONS = \
 DYNAMICROOT \
 ED_CRYPTO \
 EE \
-ELFTOOLCHAIN_TOOLS \
 EXAMPLES \
 FDT \
 FILE \
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


Re: svn commit: r286729 - head/share/man/man4/man4.arm

2015-08-13 Thread Ian Lepore
On Thu, 2015-08-13 at 16:11 +, Christian Brueffer wrote:
> Author: brueffer
> Date: Thu Aug 13 16:11:04 2015
> New Revision: 286729
> URL: https://svnweb.freebsd.org/changeset/base/286729
> 
> Log:
>   Small cleanup.
>   
>   - fix mandoc -Tlint warnings
>   - use appropriate macros
>   - canonize FreeBSD spelling

Thank you, both for the fixes and for the "mandoc -Tlint" clue, I'll try
to remember to do that for myself in the future.

-- Ian


___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


svn commit: r286731 - head/share/man/man5

2015-08-13 Thread Ed Maste
Author: emaste
Date: Thu Aug 13 17:54:28 2015
New Revision: 286731
URL: https://svnweb.freebsd.org/changeset/base/286731

Log:
  Update src.conf(5) after r286730

Modified:
  head/share/man/man5/src.conf.5

Modified: head/share/man/man5/src.conf.5
==
--- head/share/man/man5/src.conf.5  Thu Aug 13 17:50:47 2015
(r286730)
+++ head/share/man/man5/src.conf.5  Thu Aug 13 17:54:28 2015
(r286731)
@@ -1,7 +1,7 @@
 .\" DO NOT EDIT-- this file is automatically generated.
 .\" from FreeBSD: head/tools/build/options/makeman 284708 2015-06-22 20:21:57Z 
sjg
 .\" $FreeBSD$
-.Dd August 1, 2015
+.Dd August 13, 2015
 .Dt SRC.CONF 5
 .Os
 .Sh NAME
@@ -137,9 +137,8 @@ associated utilities, and examples.
 .Pp
 This option only affects amd64/amd64.
 .It Va WITHOUT_BINUTILS
-.\" from FreeBSD: head/tools/build/options/WITHOUT_BINUTILS 286036 2015-07-29 
20:02:20Z emaste
-Set to not build or install binutils (as, c++-filt,
-ld, nm, objcopy, objdump, readelf, size and strip) as part
+.\" from FreeBSD: head/tools/build/options/WITHOUT_BINUTILS 286332 2015-08-05 
18:30:00Z emaste
+Set to not build or install binutils (as, ld, objcopy, and objdump ) as part
 of the normal system build.
 The resulting system cannot build programs from source.
 .Pp
@@ -457,18 +456,6 @@ instead of the one from GNU Binutils.
 .Pp
 It is a default setting on
 arm64/aarch64.
-.It Va WITHOUT_ELFTOOLCHAIN_TOOLS
-.\" from FreeBSD: head/tools/build/options/WITHOUT_ELFTOOLCHAIN_TOOLS 286016 
2015-07-29 15:42:22Z emaste
-Set to use
-.Xr addr2line 1 ,
-.Xr c++filt 1 ,
-.Xr nm 1 ,
-.Xr readelf 1 ,
-.Xr size 1 ,
-.Xr strings 1 ,
-and
-.Xr strip 1
-from GNU binutils instead of the ELF Tool Chain project.
 .It Va WITHOUT_EXAMPLES
 .\" from FreeBSD: head/tools/build/options/WITHOUT_EXAMPLES 156938 2006-03-21 
09:06:24Z ru
 Set to avoid installing examples to
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


svn commit: r286730 - in head: . gnu/usr.bin/binutils lib targets/pseudo/toolchain tools/build/mk tools/build/options usr.bin

2015-08-13 Thread Ed Maste
Author: emaste
Date: Thu Aug 13 17:50:47 2015
New Revision: 286730
URL: https://svnweb.freebsd.org/changeset/base/286730

Log:
  Roll WITHOUT_ELFTOOLCHAIN_TOOLS into WITHOUT_TOOLCHAIN
  
  The option was added only to ease the transition from GNU Binutils to
  ELF Tool Chain tools, and that process is now complete (for the viable
  replacements). Noting the removal in UPDATING is sufficient as we have
  not shipped a release with the option.
  
  Reviewed by:  brooks
  Sponsored by: The FreeBSD Foundation
  Differential Revision:https://reviews.freebsd.org/D3240

Deleted:
  head/tools/build/options/WITHOUT_ELFTOOLCHAIN_TOOLS
Modified:
  head/Makefile.inc1
  head/UPDATING
  head/gnu/usr.bin/binutils/Makefile
  head/lib/Makefile
  head/targets/pseudo/toolchain/Makefile.depend
  head/tools/build/mk/OptionalObsoleteFiles.inc
  head/usr.bin/Makefile

Modified: head/Makefile.inc1
==
--- head/Makefile.inc1  Thu Aug 13 16:11:04 2015(r286729)
+++ head/Makefile.inc1  Thu Aug 13 17:50:47 2015(r286730)
@@ -1493,8 +1493,6 @@ _btxld=   usr.sbin/btxld
 .if ${XAS:M/*} == ""
 .if ${MK_BINUTILS_BOOTSTRAP} != "no"
 _binutils= gnu/usr.bin/binutils
-.endif
-.if ${MK_ELFTOOLCHAIN_TOOLS} != "no"
 _elftctools=   lib/libelftc \
usr.bin/elfcopy \
usr.bin/nm \
@@ -1504,7 +1502,7 @@ _elftctools=  lib/libelftc \
 # cross-build on a FreeBSD 10 host:
 _elftctools+=  usr.bin/addr2line
 .endif
-.elif ${TARGET_ARCH} != ${MACHINE_ARCH} && ${MK_ELFTOOLCHAIN_TOOLS} != "no"
+.elif ${TARGET_ARCH} != ${MACHINE_ARCH} && ${MK_BINUTILS_BOOTSTRAP} != "no"
 # If cross-building with an external binutils we still need to build strip for
 # the target (for at least crunchide).
 _elftctools=   lib/libelftc \

Modified: head/UPDATING
==
--- head/UPDATING   Thu Aug 13 16:11:04 2015(r286729)
+++ head/UPDATING   Thu Aug 13 17:50:47 2015(r286730)
@@ -31,6 +31,11 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 11
disable the most expensive debugging functionality run
    "ln -s 'abort:false,junk:false' /etc/malloc.conf".)
 
+20150813:
+   The WITHOUT_ELFTOOLCHAIN_TOOLS src.conf(5) knob has been retired.
+   Control over building the ELF Tool Chain tools is now provided by
+   the WITHOUT_TOOLCHAIN knob.
+
 20150810:
The polarity of Pulse Per Second (PPS) capture events with the
uart(4) driver has been corrected.  Prior to this change the PPS

Modified: head/gnu/usr.bin/binutils/Makefile
==
--- head/gnu/usr.bin/binutils/Makefile  Thu Aug 13 16:11:04 2015
(r286729)
+++ head/gnu/usr.bin/binutils/Makefile  Thu Aug 13 17:50:47 2015
(r286730)
@@ -12,7 +12,7 @@ SUBDIR=   doc\
${_objcopy} \
objdump \
 
-.if ${MK_ELFTOOLCHAIN_TOOLS} == "no" || ${MK_ELFCOPY_AS_OBJCOPY} == "no"
+.if ${MK_ELFCOPY_AS_OBJCOPY} == "no"
 _objcopy=  objcopy
 .endif
 

Modified: head/lib/Makefile
==
--- head/lib/Makefile   Thu Aug 13 16:11:04 2015(r286729)
+++ head/lib/Makefile   Thu Aug 13 17:50:47 2015(r286730)
@@ -182,7 +182,7 @@ _clang= clang
 _cuse= libcuse
 .endif
 
-.if ${MK_ELFTOOLCHAIN_TOOLS} != "no"
+.if ${MK_TOOLCHAIN} != "no"
 _libelftc= libelftc
 .endif
 

Modified: head/targets/pseudo/toolchain/Makefile.depend
==
--- head/targets/pseudo/toolchain/Makefile.depend   Thu Aug 13 16:11:04 
2015(r286729)
+++ head/targets/pseudo/toolchain/Makefile.depend   Thu Aug 13 17:50:47 
2015(r286730)
@@ -9,7 +9,7 @@ DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,
 .endif
 DIRDEPS=
 
-.if ${MK_ELFTOOLCHAIN_TOOLS} == "yes"
+.if ${MK_TOOLCHAIN} == "yes"
 DIRDEPS+= \
usr.bin/addr2line \
usr.bin/cxxflit \

Modified: head/tools/build/mk/OptionalObsoleteFiles.inc
==
--- head/tools/build/mk/OptionalObsoleteFiles.inc   Thu Aug 13 16:11:04 
2015(r286729)
+++ head/tools/build/mk/OptionalObsoleteFiles.inc   Thu Aug 13 17:50:47 
2015(r286730)
@@ -184,7 +184,7 @@ OLD_DIRS+=usr/share/examples/bhyve
 .if ${MK_BINUTILS} == no
 OLD_FILES+=usr/bin/as
 OLD_FILES+=usr/bin/ld
-.if ${MK_ELFTOOLCHAIN_TOOLS} != no && ${MK_ELFCOPY_AS_OBJCOPY} == no
+.if ${MK_ELFCOPY_AS_OBJCOPY} == no
 OLD_FILES+=usr/bin/objcopy
 .endif
 OLD_FILES+=usr/bin/objdump
@@ -203,7 +203,7 @@ OLD_FILES+=usr/libdata/ldscripts/elf_x86
 OLD_FILES+=usr/libdata/ldscripts/elf_x86

svn commit: r286729 - head/share/man/man4/man4.arm

2015-08-13 Thread Christian Brueffer
Author: brueffer
Date: Thu Aug 13 16:11:04 2015
New Revision: 286729
URL: https://svnweb.freebsd.org/changeset/base/286729

Log:
  Small cleanup.
  
  - fix mandoc -Tlint warnings
  - use appropriate macros
  - canonize FreeBSD spelling

Modified:
  head/share/man/man4/man4.arm/am335x_dmtpps.4

Modified: head/share/man/man4/man4.arm/am335x_dmtpps.4
==
--- head/share/man/man4/man4.arm/am335x_dmtpps.4Thu Aug 13 15:19:30 
2015(r286728)
+++ head/share/man/man4/man4.arm/am335x_dmtpps.4Thu Aug 13 16:11:04 
2015(r286729)
@@ -57,10 +57,10 @@ of 42 nanoseconds.
 .Pp
 To use the PPS timing information provided by this driver with
 .Xr ntpd 8 ,
-symlink the 
-.Va /dev/dmtpps
+symlink the
+.Pa /dev/dmtpps
 device to
-.Va /dev/pps0
+.Pa /dev/pps0
 and configure server
 .Va 127.127.22.0
 in
@@ -77,7 +77,7 @@ driver can be active at a time.
 The driver uses system pin configuration to determine which hardware
 timer device to use.
 Configure the timer input pin in the system's FDT data, or by
-supplying the pin name using a tunable variable in 
+supplying the pin name using a tunable variable in
 .Xr loader.conf 5 .
 .Pp
 To use a standard kernel and FDT data, use
@@ -127,7 +127,7 @@ Add pinctrl properties referencing
 .Va timer4_pins
 to the standard
 .Va timer4
-device node (also defined in am33xx.dtsi) by referencing it in 
+device node (also defined in am33xx.dtsi) by referencing it in
 your dts file as follows:
 .Bd -literal
&timer4 {
@@ -160,4 +160,4 @@ device driver first appeared in
 The
 .Nm
 device driver and this manual page were written by
-.An Ian Lepore Aq Mt i...@freebsd.org .
+.An Ian Lepore Aq Mt i...@freebsd.org .
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


Re: svn commit: r286715 - head/lib/libc/string

2015-08-13 Thread Pedro Giffuni

FWIW;

I think the posix manpage is in the right direction.

For a more detailed discussion about replacing bcopys you may read Ted 
Unangst's

blog post[1], but of course OpenBSD is not FreeBSD.

I honesly would sepnd much time in bcopy, it is one of those things that 
will stay
in FreeBSD for a long while. I would focus on strtoq() and strtouq() 
which carry

this *comical* notice in stdlib.h :

/* Deprecated interfaces, to be removed in FreeBSD 6.0. */

Cheers,

Pedro.

[1]
http://www.tedunangst.com/flak/post/memcpy-vs-memmove

On 13/08/2015 02:56 a.m., Marcelo Araujo wrote:

Hi David,

So it means, this commit here was right already:
https://svnweb.freebsd.org/base?view=revision&revision=286651

Although I made a mistake with the date.


All the best.

2015-08-13 15:24 GMT+08:00 David Chisnall >:


On 13 Aug 2015, at 08:11, Marcelo Araujo mailto:araujobsdp...@gmail.com>> wrote:
>
> The bcopy() was removed in IEEE Std 1003.1-2008 and it is marked
as LEGACY in IEEE Std 1003.1-2004. However, BSD has its
implementation before IEEE Std 1003.1-2001.
>
> In my understood it is obsolete on POSIX, but not truly obsolete
for FreeBSD.
> So I believe, this patch now address it in the correct way.

Its use should be strongly discouraged in FreeBSD (or, ideally,
replaced with the macro from the POSIX man page).  LLVM does a
load of optimisations for memmove and memcpy - using bcopy is a
really good way of bypassing all of these.

David




--

--
Marcelo Araujo(__)
ara...@freebsd.org    \\\'',)
http://www.FreeBSD.org  \/  \ ^
Power To Server. .\. /_)


___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


Re: svn commit: r286698 - head/sys/kern

2015-08-13 Thread Mariusz Zaborski
On Thu, Aug 13, 2015 at 03:49:30PM +0300, Gleb Smirnoff wrote:
> On Wed, Aug 12, 2015 at 08:08:54PM +, Mariusz Zaborski wrote:
> M> Author: oshogbo
> M> Date: Wed Aug 12 20:08:54 2015
> M> New Revision: 286698
> M> URL: https://svnweb.freebsd.org/changeset/base/286698
> M> 
> M> Log:
> M>   When the wait*(2) syscalls wait for any process (P_ALL), they should
> M>   ignore processes created with the pdfork(2) syscall.
> M>   
> M>   PR:  201054
> M>   Approved by: pjd (mentor)
> M>   Discussed with:  emaste, rwatson
> 
> I believe this behaviour has a good reason, but it is counterintuitive to
> a person who knows classical fork/wait syscalls and isn't very much into
> the process descriptors.
> 
> Thus, this behaviour must be documented in wait.2 manual page. And of
> course wait.2 must reference pdwait4.2.
Thanks Gleb, I will do as you suggested.

Cheers,
Mariusz



pgpWgpCwOnW07.pgp
Description: PGP signature


svn commit: r286728 - in head: share/man/man4/man4.arm sys/arm/conf sys/arm/ti/am335x sys/modules/am335x_dmtpps

2015-08-13 Thread Ian Lepore
Author: ian
Date: Thu Aug 13 15:19:30 2015
New Revision: 286728
URL: https://svnweb.freebsd.org/changeset/base/286728

Log:
  Add a new PPS driver for AM335x (beaglebone) timer hardware.  This can be
  used as a module or compiled-in.

Added:
  head/share/man/man4/man4.arm/am335x_dmtpps.4   (contents, props changed)
  head/sys/arm/ti/am335x/am335x_dmtpps.c   (contents, props changed)
  head/sys/modules/am335x_dmtpps/
  head/sys/modules/am335x_dmtpps/Makefile   (contents, props changed)
Modified:
  head/sys/arm/conf/BEAGLEBONE
  head/sys/arm/ti/am335x/files.am335x

Added: head/share/man/man4/man4.arm/am335x_dmtpps.4
==
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ head/share/man/man4/man4.arm/am335x_dmtpps.4Thu Aug 13 15:19:30 
2015(r286728)
@@ -0,0 +1,163 @@
+.\"
+.\" Copyright (c) 2015 Ian Lepore 
+.\" 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 ``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 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$
+.\"
+.Dd August 12, 2015
+.Dt AM335X_DMTPPS 4
+.Os
+.Sh NAME
+.Nm am335x_dmtpps
+.Nd RFC 2783 Pulse Per Second API driver for AM335x systems
+.Sh SYNOPSIS
+.Cd "device am335x_dmtpps"
+.Pp
+Optional in
+.Pa /boot/loader.conf :
+.Cd hw.am335x_dmtpps.input="pin name"
+.\"
+.Sh DESCRIPTION
+The
+.Nm
+device driver provides a system time counter that includes precise
+capture of Pulse Per Second (PPS) signals emitted by GPS receivers
+and other timing devices.
+The
+.Nm
+driver may be compiled into the kernel or loaded as a module.
+.Pp
+The AM335x timer hardware captures the value of the system time counter
+on the leading edge of the PPS pulse.
+Because the capture is done by the hardware there is no interrupt
+latency in the measurement.
+The time counter runs at 24Mhz, providing a measurement resolution
+of 42 nanoseconds.
+.Pp
+To use the PPS timing information provided by this driver with
+.Xr ntpd 8 ,
+symlink the 
+.Va /dev/dmtpps
+device to
+.Va /dev/pps0
+and configure server
+.Va 127.127.22.0
+in
+.Xr ntp.conf 5
+to configure a type 22 (ATOM) refclock.
+.\"
+.Sh DRIVER CONFIGURATION
+The AM335x hardware provides four timer devices with a capture input
+pin, DMTimer4 through DMTimer7.
+Because it also provides the active system time counter,
+only one instance of the
+.Nm
+driver can be active at a time.
+The driver uses system pin configuration to determine which hardware
+timer device to use.
+Configure the timer input pin in the system's FDT data, or by
+supplying the pin name using a tunable variable in 
+.Xr loader.conf 5 .
+.Pp
+To use a standard kernel and FDT data, use
+.Xr loader.conf 5
+to load the
+.Nm
+module and set the
+.Va hw.am335x_dmtpps.input
+tunable variable to the name of the input pin, one of the following:
+.Pp
+.Bl -tag -width "GPMC_ADVn_ALE " -offset  -compact
+.It Em Name
+.Em Hardware
+.It P8-7
+DMTimer4; Beaglebone P8 header pin 7.
+.It P8-8
+DMTimer7; Beaglebone P8 header pin 8.
+.It P8-9
+DMTimer5; Beaglebone P8 header pin 9.
+.It P8-10
+DMTimer6; Beaglebone P8 header pin 10.
+.It GPMC_ADVn_ALE
+DMTimer4.
+.It GPMC_BEn0_CLE
+DMTimer5.
+.It GPMC_WEn
+DMTimer6.
+.It GPMC_OEn_REn
+DMTimer7.
+.El
+.Pp
+To configure the
+.Nm
+driver using FDT data, create a new pinctrl node by referencing the standard
+.Va am33xx_pinmux
+driver node (which is defined in am33xx.dtsi) in your dts file.
+For example:
+.Bd -literal
+   &am33xx_pinmux {
+  timer4_pins: timer4_pins {
+ pinctrl-single,pins = <0x90 (PIN_INPUT | MUX_MODE2)>;
+  };
+   };
+.Ed
+.Pp
+Add pinctrl properties referencing
+.Va timer4_pins
+to the standard
+.Va timer4
+device node (also defined in am33xx.dtsi) by referencing it in 
+your dts file as follows:
+.Bd -literal
+  

svn commit: r286727 - in head/sys: conf dev/md

2015-08-13 Thread Marcel Moolenaar
Author: marcel
Date: Thu Aug 13 15:16:34 2015
New Revision: 286727
URL: https://svnweb.freebsd.org/changeset/base/286727

Log:
  Change md(4) to use weak symbols as start, end and size for the embedded
  root disk. The embedded image is linked into the kernel in the .mfs
  section.
  
  Add rules and variables to kern.pre.mk and kern.post.mk that handle the
  linking of the image. First objcopy is used to generate an object file.
  Then, the object file is linked into the kernel.
  
  Submitted by: Steve Kiernan 
  Reviewed by:  brooks@
  Obtained from: Juniper Networks, Inc.
  Differential Revision:https://reviews.freebsd.org/D2903

Modified:
  head/sys/conf/Makefile.arm
  head/sys/conf/kern.post.mk
  head/sys/conf/kern.pre.mk
  head/sys/dev/md/md.c

Modified: head/sys/conf/Makefile.arm
==
--- head/sys/conf/Makefile.arm  Thu Aug 13 14:53:29 2015(r286726)
+++ head/sys/conf/Makefile.arm  Thu Aug 13 15:16:34 2015(r286727)
@@ -66,10 +66,6 @@ SYSTEM_LD_TAIL +=;sed s/" + SIZEOF_HEADE
${KERNEL_KO}.bin; \
rm ${FULLKERNEL}.noheader
 
-.if defined(MFS_IMAGE)
-SYSTEM_LD_TAIL += ;sh ${S}/tools/embed_mfs.sh ${KERNEL_KO}.bin ${MFS_IMAGE};
-.endif
-
 FILES_CPU_FUNC = \
$S/$M/$M/cpufunc_asm_arm9.S \
$S/$M/$M/cpufunc_asm_arm10.S \

Modified: head/sys/conf/kern.post.mk
==
--- head/sys/conf/kern.post.mk  Thu Aug 13 14:53:29 2015(r286726)
+++ head/sys/conf/kern.post.mk  Thu Aug 13 15:16:34 2015(r286727)
@@ -121,7 +121,7 @@ gdbinit:
 .endif
 .endif
 
-${FULLKERNEL}: ${SYSTEM_DEP} vers.o ${MFS_IMAGE}
+${FULLKERNEL}: ${SYSTEM_DEP} vers.o
@rm -f ${.TARGET}
@echo linking ${.TARGET}
${SYSTEM_LD}
@@ -133,9 +133,6 @@ ${FULLKERNEL}: ${SYSTEM_DEP} vers.o ${MF
${OBJCOPY} --strip-debug ${.TARGET}
 .endif
${SYSTEM_LD_TAIL}
-.if defined(MFS_IMAGE)
-   sh ${S}/tools/embed_mfs.sh ${FULLKERNEL} ${MFS_IMAGE}
-.endif
 
 .if !exists(${.OBJDIR}/.depend)
 ${SYSTEM_OBJS}: assym.s vnode_if.h ${BEFORE_DEPEND:M*.h} ${MFILES:T:S/.m$/.h/}
@@ -301,6 +298,27 @@ vnode_if_newproto.h:
 vnode_if_typedef.h:
${AWK} -f $S/tools/vnode_if.awk $S/kern/vnode_if.src -q
 
+.if ${MFS_IMAGE:Uno} != "no"
+# Generate an object file from the file system image to embed in the kernel
+# via linking. Make sure the contents are in the mfs section and rename the
+# start/end/size variables to __start_mfs, __stop_mfs, and mfs_size,
+# respectively.
+embedfs_${MFS_IMAGE:T:R}.o: ${MFS_IMAGE}
+   ${OBJCOPY} --input-target binary \
+   --output-target ${EMBEDFS_FORMAT.${MACHINE_ARCH}} \
+   --binary-architecture ${EMBEDFS_ARCH.${MACHINE_ARCH}} \
+   ${MFS_IMAGE} ${.TARGET}
+   ${OBJCOPY} \
+   --rename-section .data=mfs,contents,alloc,load,readonly,data \
+   --redefine-sym \
+   _binary_${MFS_IMAGE:C,[^[:alnum:]],_,g}_size=__mfs_root_size \
+   --redefine-sym \
+   _binary_${MFS_IMAGE:C,[^[:alnum:]],_,g}_start=mfs_root \
+   --redefine-sym \
+   _binary_${MFS_IMAGE:C,[^[:alnum:]],_,g}_end=mfs_root_end \
+   ${.TARGET}
+.endif
+
 # XXX strictly, everything depends on Makefile because changes to ${PROF}
 # only appear there, but we don't handle that.
 

Modified: head/sys/conf/kern.pre.mk
==
--- head/sys/conf/kern.pre.mk   Thu Aug 13 14:53:29 2015(r286726)
+++ head/sys/conf/kern.pre.mk   Thu Aug 13 15:16:34 2015(r286727)
@@ -191,6 +191,9 @@ SYSTEM_DEP= Makefile ${SYSTEM_OBJS}
 SYSTEM_OBJS= locore.o ${MDOBJS} ${OBJS}
 SYSTEM_OBJS+= ${SYSTEM_CFILES:.c=.o}
 SYSTEM_OBJS+= hack.So
+.if ${MFS_IMAGE:Uno} != "no"
+SYSTEM_OBJS+= embedfs_${MFS_IMAGE:T:R}.o
+.endif
 SYSTEM_LD= @${LD} -Bdynamic -T ${LDSCRIPT} ${_LDFLAGS} --no-warn-mismatch \
--warn-common --export-dynamic --dynamic-linker /red/herring \
-o ${.TARGET} -X ${SYSTEM_OBJS} vers.o
@@ -222,6 +225,32 @@ MKMODULESENV+= DEBUG_FLAGS="${DEBUG}"
 .endif
 MKMODULESENV+= _MPATH="${_MPATH}"
 
+# Architecture and output format arguments for objdump to convert image to
+# object file
+.if ${MFS_IMAGE:Uno} != "no"
+
+.if !defined(EMBEDFS_FORMAT.${MACHINE_ARCH})
+EMBEDFS_FORMAT.${MACHINE_ARCH}!= awk -F'"' '/OUTPUT_FORMAT/ {print $$2}' 
${LDSCRIPT}
+.if empty(EMBEDFS_FORMAT.${MACHINE_ARCH})
+.undef EMBEDFS_FORMAT.${MACHINE_ARCH}
+.endif
+.endif
+
+.if !defined(EMBEDFS_ARCH.${MACHINE_ARCH})
+EMBEDFS_ARCH.${MACHINE_ARCH}!= sed -n '/OUTPUT_ARCH/s/.*(\(.*\)).*/\1/p' 
${LDSCRIPT}
+.if empty(EMBEDFS_ARCH.${MACHINE_ARCH})
+.undef EMBEDFS_ARCH.${MACHINE_ARCH}
+.endif
+.endif
+
+EMBEDFS_FORMAT.arm?=   elf32-littlearm
+EMBEDFS_FORMAT.armv6?= elf32-littlearm
+EMBEDFS_FORMAT.mips?=  elf32-tradbigmips
+EMBEDFS_FORMAT.mipsel?=  

svn commit: r286725 - in head/sys/arm: arm include

2015-08-13 Thread Marcel Moolenaar
Author: marcel
Date: Thu Aug 13 14:50:11 2015
New Revision: 286725
URL: https://svnweb.freebsd.org/changeset/base/286725

Log:
  The Broadcom BCM56060 chip has a Cortex-A9R4 core.
  
  Submitted by: Steve Kiernan 
  Reviewed by:  imp@
  Differential Revision:https://reviews.freebsd.org/D3357

Modified:
  head/sys/arm/arm/cpufunc.c
  head/sys/arm/arm/identcpu.c
  head/sys/arm/include/armreg.h

Modified: head/sys/arm/arm/cpufunc.c
==
--- head/sys/arm/arm/cpufunc.c  Thu Aug 13 14:43:25 2015(r286724)
+++ head/sys/arm/arm/cpufunc.c  Thu Aug 13 14:50:11 2015(r286725)
@@ -904,6 +904,7 @@ set_cpufuncs()
cputype == CPU_ID_CORTEXA9R1 ||
cputype == CPU_ID_CORTEXA9R2 ||
cputype == CPU_ID_CORTEXA9R3 ||
+   cputype == CPU_ID_CORTEXA9R4 ||
cputype == CPU_ID_CORTEXA12R0 ||
cputype == CPU_ID_CORTEXA15R0 ||
cputype == CPU_ID_CORTEXA15R1 ||

Modified: head/sys/arm/arm/identcpu.c
==
--- head/sys/arm/arm/identcpu.c Thu Aug 13 14:43:25 2015(r286724)
+++ head/sys/arm/arm/identcpu.c Thu Aug 13 14:50:11 2015(r286725)
@@ -185,6 +185,8 @@ const struct cpuidtab cpuids[] = {
  generic_steppings },
{ CPU_ID_CORTEXA9R3,CPU_CLASS_CORTEXA,  "Cortex A9-r3",
  generic_steppings },
+   { CPU_ID_CORTEXA9R4,CPU_CLASS_CORTEXA,  "Cortex A9-r4",
+ generic_steppings },
{ CPU_ID_CORTEXA12R0,   CPU_CLASS_CORTEXA,  "Cortex A12-r0",
  generic_steppings },
{ CPU_ID_CORTEXA15R0,   CPU_CLASS_CORTEXA,  "Cortex A15-r0",

Modified: head/sys/arm/include/armreg.h
==
--- head/sys/arm/include/armreg.h   Thu Aug 13 14:43:25 2015
(r286724)
+++ head/sys/arm/include/armreg.h   Thu Aug 13 14:50:11 2015
(r286725)
@@ -133,6 +133,7 @@
 #define CPU_ID_CORTEXA9R1  0x411fc090
 #define CPU_ID_CORTEXA9R2  0x412fc090
 #define CPU_ID_CORTEXA9R3  0x413fc090
+#define CPU_ID_CORTEXA9R4  0x414fc090
 #define CPU_ID_CORTEXA12R0 0x410fc0d0
 #define CPU_ID_CORTEXA15R0 0x410fc0f0
 #define CPU_ID_CORTEXA15R1 0x411fc0f0
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


svn commit: r286726 - head/sys/arm/arm

2015-08-13 Thread Marcel Moolenaar
Author: marcel
Date: Thu Aug 13 14:53:29 2015
New Revision: 286726
URL: https://svnweb.freebsd.org/changeset/base/286726

Log:
  Instead of having separate do_sync functions for ARM_ARCH 6 vs.
  ARM_ARCH >= 7, use the dmb() macro defined in machine/atomic.h
  
  Submitted by: Steve Kiernan 
  Reviewed by:  imp@
  Differential Revision:https://reviews.freebsd.org/D3355

Modified:
  head/sys/arm/arm/stdatomic.c

Modified: head/sys/arm/arm/stdatomic.c
==
--- head/sys/arm/arm/stdatomic.cThu Aug 13 14:50:11 2015
(r286725)
+++ head/sys/arm/arm/stdatomic.cThu Aug 13 14:53:29 2015
(r286726)
@@ -32,6 +32,7 @@ __FBSDID("$FreeBSD$");
 #include 
 
 #include 
+#include 
 #include 
 #include 
 
@@ -67,19 +68,12 @@ do_sync(void)
 
__asm volatile ("" : : : "memory");
 }
-#elif __ARM_ARCH >= 7
-static inline void
-do_sync(void)
-{
-
-   __asm volatile ("dmb" : : : "memory");
-}
 #elif __ARM_ARCH >= 6
 static inline void
 do_sync(void)
 {
 
-   __asm volatile ("mcr p15, 0, %0, c7, c10, 5" : : "r" (0) : "memory");
+   dmb();
 }
 #endif
 
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


svn commit: r286724 - head/sys/sys

2015-08-13 Thread Ian Lepore
Author: ian
Date: Thu Aug 13 14:43:25 2015
New Revision: 286724
URL: https://svnweb.freebsd.org/changeset/base/286724

Log:
  Constify the pointers to eventtimer and timecounter name strings.
  
  The need for this appears as soon as you try to set the names to something
  that isn't a "quoted literal".  (I'm actually confused why quoted strings
  aren't a problem as well, we must have some warning disabled.)

Modified:
  head/sys/sys/timeet.h
  head/sys/sys/timetc.h

Modified: head/sys/sys/timeet.h
==
--- head/sys/sys/timeet.h   Thu Aug 13 14:43:11 2015(r286723)
+++ head/sys/sys/timeet.h   Thu Aug 13 14:43:25 2015(r286724)
@@ -53,7 +53,7 @@ typedef int et_deregister_cb_t(struct ev
 struct eventtimer {
SLIST_ENTRY(eventtimer) et_all;
/* Pointer to the next event timer. */
-   char*et_name;
+   const char  *et_name;
/* Name of the event timer. */
int et_flags;
/* Set of capabilities flags: */

Modified: head/sys/sys/timetc.h
==
--- head/sys/sys/timetc.h   Thu Aug 13 14:43:11 2015(r286723)
+++ head/sys/sys/timetc.h   Thu Aug 13 14:43:25 2015(r286724)
@@ -49,7 +49,7 @@ struct timecounter {
/* This mask should mask off any unimplemented bits. */
uint64_ttc_frequency;
/* Frequency of the counter in Hz. */
-   char*tc_name;
+   const char  *tc_name;
/* Name of the timecounter. */
int tc_quality;
/*
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


svn commit: r286723 - head/sys/dev/vt/hw/vga

2015-08-13 Thread Marcel Moolenaar
Author: marcel
Date: Thu Aug 13 14:43:11 2015
New Revision: 286723
URL: https://svnweb.freebsd.org/changeset/base/286723

Log:
  Fix text mode operation.
  
  We first map 64KB at 0xA and then determine whether to work
  in text or graphics mode.  When graphics mode, the mapping is
  precisely what we need and everything is fine.  But text mode,
  has the frame buffer relocated to 0xB8000. We didn't map that
  much to safely add 0x18000 bytes to the base address.
  
  Now we first check whether to work in text or graphics mode and
  then map the frame buffer at the right address and with the
  right size (0xA+64KB for graphics, 0xB8000+32KB for text).
  
  PR:   202276
  Tested by:ed@

Modified:
  head/sys/dev/vt/hw/vga/vt_vga.c
  head/sys/dev/vt/hw/vga/vt_vga_reg.h

Modified: head/sys/dev/vt/hw/vga/vt_vga.c
==
--- head/sys/dev/vt/hw/vga/vt_vga.c Thu Aug 13 13:38:09 2015
(r286722)
+++ head/sys/dev/vt/hw/vga/vt_vga.c Thu Aug 13 14:43:11 2015
(r286723)
@@ -883,9 +883,9 @@ vga_bitblt_text_txtmode(struct vt_device
/* Convert colors to VGA attributes. */
attr = bg << 4 | fg;
 
-   MEM_WRITE1(sc, 0x18000 + (row * 80 + col) * 2 + 0,
+   MEM_WRITE1(sc, (row * 80 + col) * 2 + 0,
ch);
-   MEM_WRITE1(sc, 0x18000 + (row * 80 + col) * 2 + 1,
+   MEM_WRITE1(sc, (row * 80 + col) * 2 + 1,
attr);
}
}
@@ -1226,8 +1226,6 @@ vga_init(struct vt_device *vd)
 # error "Architecture not yet supported!"
 #endif
 
-   bus_space_map(sc->vga_fb_tag, VGA_MEM_BASE, VGA_MEM_SIZE, 0,
-   &sc->vga_fb_handle);
bus_space_map(sc->vga_reg_tag, VGA_REG_BASE, VGA_REG_SIZE, 0,
&sc->vga_reg_handle);
 
@@ -1236,9 +1234,13 @@ vga_init(struct vt_device *vd)
vd->vd_flags |= VDF_TEXTMODE;
vd->vd_width = 80;
vd->vd_height = 25;
+   bus_space_map(sc->vga_fb_tag, VGA_TXT_BASE, VGA_TXT_SIZE, 0,
+   &sc->vga_fb_handle);
} else {
vd->vd_width = VT_VGA_WIDTH;
vd->vd_height = VT_VGA_HEIGHT;
+   bus_space_map(sc->vga_fb_tag, VGA_MEM_BASE, VGA_MEM_SIZE, 0,
+   &sc->vga_fb_handle);
}
if (vga_initialize(vd, textmode) != 0)
return (CN_DEAD);

Modified: head/sys/dev/vt/hw/vga/vt_vga_reg.h
==
--- head/sys/dev/vt/hw/vga/vt_vga_reg.h Thu Aug 13 13:38:09 2015
(r286722)
+++ head/sys/dev/vt/hw/vga/vt_vga_reg.h Thu Aug 13 14:43:11 2015
(r286723)
@@ -49,6 +49,8 @@
 
 #defineVGA_MEM_BASE0xA
 #defineVGA_MEM_SIZE0x1
+#defineVGA_TXT_BASE0xB8000
+#defineVGA_TXT_SIZE0x08000
 #defineVGA_REG_BASE0x3c0
 #defineVGA_REG_SIZE0x10+0x0c
 
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


svn commit: r286722 - head/sys/netinet

2015-08-13 Thread Alexander V. Chernikov
Author: melifaro
Date: Thu Aug 13 13:38:09 2015
New Revision: 286722
URL: https://svnweb.freebsd.org/changeset/base/286722

Log:
  Move lle update code from from gigantic ip_arpinput() to
  separate bunch of functions. The goal is to isolate actual lle
  updates to permit more fine-grained locking.
  
  Do all lle link-level update under AFDATA wlock.
  
  Sponsored by: Yandex LLC

Modified:
  head/sys/netinet/if_ether.c

Modified: head/sys/netinet/if_ether.c
==
--- head/sys/netinet/if_ether.c Thu Aug 13 13:21:00 2015(r286721)
+++ head/sys/netinet/if_ether.c Thu Aug 13 13:38:09 2015(r286722)
@@ -130,6 +130,13 @@ static voidarptimer(void *);
 static voidin_arpinput(struct mbuf *);
 #endif
 
+static void arp_check_update_lle(struct arphdr *ah, struct in_addr isaddr,
+struct ifnet *ifp, int bridged, struct llentry *la);
+static void arp_update_lle(struct arphdr *ah, struct ifnet *ifp,
+struct llentry *la);
+static void arp_mark_lle_reachable(struct llentry *la);
+
+
 static const struct netisr_handler arp_nh = {
.nh_name = "arp",
.nh_handler = arpintr,
@@ -576,10 +583,10 @@ in_arpinput(struct mbuf *m)
struct sockaddr sa;
struct in_addr isaddr, itaddr, myaddr;
u_int8_t *enaddr = NULL;
-   int op, flags;
+   int op;
int req_len;
int bridged = 0, is_bridge = 0;
-   int carped, create;
+   int carped;
struct sockaddr_in sin;
sin.sin_len = sizeof(struct sockaddr_in);
sin.sin_family = AF_INET;
@@ -708,6 +715,16 @@ match:
"%s!\n", inet_ntoa(isaddr));
goto drop;
}
+
+   if (ifp->if_addrlen != ah->ar_hln) {
+   LLE_WUNLOCK(la);
+   ARP_LOG(LOG_WARNING, "from %*D: addr len: new %d, "
+   "i/f %d (ignored)\n", ifp->if_addrlen,
+   (u_char *) ar_sha(ah), ":", ah->ar_hln,
+   ifp->if_addrlen);
+   goto drop;
+   }
+
/*
 * Warn if another host is using the same IP address, but only if the
 * IP address isn't 0.0.0.0, which is used for DHCP only, in which
@@ -730,100 +747,22 @@ match:
sin.sin_len = sizeof(struct sockaddr_in);
sin.sin_family = AF_INET;
sin.sin_addr = isaddr;
-   create = (itaddr.s_addr == myaddr.s_addr) ? 1 : 0;
-   flags = LLE_EXCLUSIVE;
-   IF_AFDATA_LOCK(ifp);
-   if (create != 0)
-   la = lla_create(LLTABLE(ifp), 0, (struct sockaddr *)&sin);
-   else
-   la = lla_lookup(LLTABLE(ifp), flags, (struct sockaddr *)&sin);
-   IF_AFDATA_UNLOCK(ifp);
-   if (la != NULL) {
-   /* the following is not an error when doing bridging */
-   if (!bridged && la->lle_tbl->llt_ifp != ifp) {
-   if (log_arp_wrong_iface)
-   ARP_LOG(LOG_WARNING, "%s is on %s "
-   "but got reply from %*D on %s\n",
-   inet_ntoa(isaddr),
-   la->lle_tbl->llt_ifp->if_xname,
-   ifp->if_addrlen, (u_char *)ar_sha(ah), ":",
-   ifp->if_xname);
-   LLE_WUNLOCK(la);
-   goto reply;
-   }
-   if ((la->la_flags & LLE_VALID) &&
-   bcmp(ar_sha(ah), &la->ll_addr, ifp->if_addrlen)) {
-   if (la->la_flags & LLE_STATIC) {
-   LLE_WUNLOCK(la);
-   if (log_arp_permanent_modify)
-   ARP_LOG(LOG_ERR,
-   "%*D attempts to modify "
-   "permanent entry for %s on %s\n",
-   ifp->if_addrlen,
-   (u_char *)ar_sha(ah), ":",
-   inet_ntoa(isaddr), ifp->if_xname);
-   goto reply;
-   }
-   if (log_arp_movements) {
-   ARP_LOG(LOG_INFO, "%s moved from %*D "
-   "to %*D on %s\n",
-   inet_ntoa(isaddr),
-   ifp->if_addrlen,
-   (u_char *)&la->ll_addr, ":",
-   ifp->if_addrlen, (u_char *)ar_sha(ah), ":",
-   ifp->if_xname);
-   }
-   }
-
-   if (ifp->if_addrlen != ah->ar_hln) {
-   LLE_WUNLOCK(la);
-   ARP_LOG(LOG_WARNING, "from %*D: addr len: new %d, "
-   "i/f %d (ignored)\n", ifp->if_addrlen,
-   (u_char *) 

svn commit: r286721 - head/sys/arm64/arm64

2015-08-13 Thread Ed Maste
Author: emaste
Date: Thu Aug 13 13:21:00 2015
New Revision: 286721
URL: https://svnweb.freebsd.org/changeset/base/286721

Log:
  arm64: turn unknown el0 exception into a SIGILL
  
  It seems we get EXCP_UNKNOWN from QEMU when executing zeroed memory.
  Print a register dump here and signal illegal instruction. Also print
  a register dump for other invalid exceptions, before panic.
  
  Reviewed by:  andrew
  Sponsored by: The FreeBSD Foundation
  Differential Revision:https://reviews.freebsd.org/D3370

Modified:
  head/sys/arm64/arm64/trap.c

Modified: head/sys/arm64/arm64/trap.c
==
--- head/sys/arm64/arm64/trap.c Thu Aug 13 13:20:29 2015(r286720)
+++ head/sys/arm64/arm64/trap.c Thu Aug 13 13:21:00 2015(r286721)
@@ -229,6 +229,21 @@ data_abort(struct trapframe *frame, uint
userret(td, frame);
 }
 
+static void
+print_registers(struct trapframe *frame)
+{
+   u_int reg;
+
+   for (reg = 0; reg < 31; reg++) {
+   printf(" %sx%d: %16lx\n", (reg < 10) ? " " : "", reg,
+   frame->tf_x[reg]);
+   }
+   printf("  sp: %16lx\n", frame->tf_sp);
+   printf("  lr: %16lx\n", frame->tf_lr);
+   printf(" elr: %16lx\n", frame->tf_elr);
+   printf("spsr: %16lx\n", frame->tf_spsr);
+}
+
 void
 do_el1h_sync(struct trapframe *frame)
 {
@@ -265,6 +280,7 @@ do_el1h_sync(struct trapframe *frame)
switch(exception) {
case EXCP_FP_SIMD:
case EXCP_TRAP_FP:
+   print_registers(frame);
panic("VFP exception in the kernel");
case EXCP_DATA_ABORT:
data_abort(frame, esr, 0);
@@ -286,11 +302,30 @@ do_el1h_sync(struct trapframe *frame)
 #endif
break;
default:
+   print_registers(frame);
panic("Unknown kernel exception %x esr_el1 %lx\n", exception,
esr);
}
 }
 
+/*
+ * We get EXCP_UNKNOWN from QEMU when executing zeroed memory. For now turn
+ * this into a SIGILL.
+ */
+static void
+el0_excp_unknown(struct trapframe *frame)
+{
+   struct thread *td;
+   uint64_t far;
+
+   td = curthread;
+   far = READ_SPECIALREG(far_el1);
+   printf("el0 EXCP_UNKNOWN exception\n");
+   print_registers(frame);
+   call_trapsignal(td, SIGILL, ILL_ILLTRP, (void *)far);
+   userret(td, frame);
+}
+
 void
 do_el0_sync(struct trapframe *frame)
 {
@@ -332,7 +367,11 @@ do_el0_sync(struct trapframe *frame)
case EXCP_DATA_ABORT:
data_abort(frame, esr, 1);
break;
+   case EXCP_UNKNOWN:
+   el0_excp_unknown(frame);
+   break;
default:
+   print_registers(frame);
panic("Unknown userland exception %x esr_el1 %lx\n", exception,
esr);
}
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


svn commit: r286720 - head/sys/dev/md

2015-08-13 Thread Andrey V. Elsukov
Author: ae
Date: Thu Aug 13 13:20:29 2015
New Revision: 286720
URL: https://svnweb.freebsd.org/changeset/base/286720

Log:
  Use g_conf_printf_escaped() to escape illegal symbols in file name.
  
  PR:   202289
  MFC after:1 week

Modified:
  head/sys/dev/md/md.c

Modified: head/sys/dev/md/md.c
==
--- head/sys/dev/md/md.cThu Aug 13 13:19:56 2015(r286719)
+++ head/sys/dev/md/md.cThu Aug 13 13:20:29 2015(r286720)
@@ -89,6 +89,7 @@
 #include 
 
 #include 
+#include 
 
 #include 
 #include 
@@ -1660,9 +1661,11 @@ g_md_dumpconf(struct sbuf *sb, const cha
"read-only");
sbuf_printf(sb, "%s%s\n", indent,
type);
-   if (mp->type == MD_VNODE && mp->vnode != NULL)
-   sbuf_printf(sb, "%s%s\n",
-   indent, mp->file);
+   if (mp->type == MD_VNODE && mp->vnode != NULL) {
+   sbuf_printf(sb, "%s", indent);
+   g_conf_printf_escaped(sb, "%s", mp->file);
+   sbuf_printf(sb, "\n");
+   }
}
}
 }
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


svn commit: r286719 - head/lib/libgeom

2015-08-13 Thread Alexander Motin
Author: mav
Date: Thu Aug 13 13:19:56 2015
New Revision: 286719
URL: https://svnweb.freebsd.org/changeset/base/286719

Log:
  Revert part of r280687, reporting "1" (true) for empty value.
  
  For example, it made gpart partitions without label report "1" as label.
  
  PR:   202089
  MFC after:3 days

Modified:
  head/lib/libgeom/geom_xml2tree.c

Modified: head/lib/libgeom/geom_xml2tree.c
==
--- head/lib/libgeom/geom_xml2tree.cThu Aug 13 05:42:56 2015
(r286718)
+++ head/lib/libgeom/geom_xml2tree.cThu Aug 13 13:19:56 2015
(r286719)
@@ -286,7 +286,7 @@ EndElement(void *userData, const char *n
"element", name);
return;
}
-   gc->lg_val = p ? p : strdup("1");
+   gc->lg_val = p;
LIST_INSERT_HEAD(c, gc, lg_config);
return;
}
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


Re: svn commit: r286698 - head/sys/kern

2015-08-13 Thread Gleb Smirnoff
On Wed, Aug 12, 2015 at 08:08:54PM +, Mariusz Zaborski wrote:
M> Author: oshogbo
M> Date: Wed Aug 12 20:08:54 2015
M> New Revision: 286698
M> URL: https://svnweb.freebsd.org/changeset/base/286698
M> 
M> Log:
M>   When the wait*(2) syscalls wait for any process (P_ALL), they should
M>   ignore processes created with the pdfork(2) syscall.
M>   
M>   PR:201054
M>   Approved by:   pjd (mentor)
M>   Discussed with:emaste, rwatson

I believe this behaviour has a good reason, but it is counterintuitive to
a person who knows classical fork/wait syscalls and isn't very much into
the process descriptors.

Thus, this behaviour must be documented in wait.2 manual page. And of
course wait.2 must reference pdwait4.2.

-- 
Totus tuus, Glebius.
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


Re: svn commit: r286715 - head/lib/libc/string

2015-08-13 Thread Bruce Evans

On Thu, 13 Aug 2015, David Chisnall wrote:


On 13 Aug 2015, at 08:11, Marcelo Araujo  wrote:


The bcopy() was removed in IEEE Std 1003.1-2008 and it is marked as LEGACY in 
IEEE Std 1003.1-2004. However, BSD has its implementation before IEEE Std 
1003.1-2001.

In my understood it is obsolete on POSIX, but not truly obsolete for FreeBSD.
So I believe, this patch now address it in the correct way.


Its use should be strongly discouraged in FreeBSD (or, ideally, replaced with 
the macro from the POSIX man page).  LLVM does a load of optimisations for 
memmove and memcpy - using bcopy is a really good way of bypassing all of these.


That is a good reason to use bcopy.  Compilers are clueless about caches,
so their optimizations tend to be negative.  clang has a nice one now, not
related to caches.  It uses SSE if possible for small fixed-size memcpy's,
so takes a few hundred cycles longer for the first memcpy per context
switch if SSE would not have otherwise be used.  Compilers cannot know
if this is a good optimization.

If this were important, then someone except me would have noticed that
switching to -ffreestanding in the kernel turned off all builtins
including the one for memcpy().  But it really is unimportant.  Most
copying in the kernel is done by pagecopy(), and the possible gains
from optimizing that are on the order of 1% except in micro-benchmarks
that arrange to do excessive pagecopy()s.  The possible gains from
optimizations in the memcpy() builtin are much smaller.  The possible
gains from restoring all builtins may be as much as 1%.

I recently noticed bcmp() showing up in benchmarks.  Only 1% for
makeworld, but that is a lot for a single function.  clang doesn't
bother optimizing memcmp() and calls the library.  gcc-4.2.1 pessimizes
memcmp using "rep cmpsb" on x86 (gcc used to use a similar pessimization
for memcpy(), but learned better.  Strangely, "rep movsb" is now the
best method on Haswell except for small counts where gcc used to use it).
The library and kernel memcmp()s are not as bad as gcc's, but they
still use "rep movs[lq]" and this is still slow on Haswell.  Simple
C code is more than 6 times faster in micro-benchmarks on Haswell.
The FreeBSD library MI C code is a little too simple.  It uses bytewise
compares, so it it beats "rep cmpsb" but not "rep cmpsl".

Bruce
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


Re: svn commit: r286715 - head/lib/libc/string

2015-08-13 Thread David Chisnall
On 13 Aug 2015, at 08:56, Marcelo Araujo  wrote:
> 
> So it means, this commit here was right already:
> https://svnweb.freebsd.org/base?view=revision&revision=286651
> 
> Although I made a mistake with the date.

More or less.  I partly agree with Bruce that suggesting memcpy is misleading.  
I’d prefer something like:

This function is deprecated (marked as LEGACY in
POSIX.1-2001): use
.Xr memmove 3
in new programs.
If you can guarantee that the input and output buffers do not overlap, then
.Xr memcpy 3
may be more efficient.

David

___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Re: svn commit: r286715 - head/lib/libc/string

2015-08-13 Thread Marcelo Araujo
Hi David,

So it means, this commit here was right already:
https://svnweb.freebsd.org/base?view=revision&revision=286651

Although I made a mistake with the date.


All the best.

2015-08-13 15:24 GMT+08:00 David Chisnall :

> On 13 Aug 2015, at 08:11, Marcelo Araujo  wrote:
> >
> > The bcopy() was removed in IEEE Std 1003.1-2008 and it is marked as
> LEGACY in IEEE Std 1003.1-2004. However, BSD has its implementation before
> IEEE Std 1003.1-2001.
> >
> > In my understood it is obsolete on POSIX, but not truly obsolete for
> FreeBSD.
> > So I believe, this patch now address it in the correct way.
>
> Its use should be strongly discouraged in FreeBSD (or, ideally, replaced
> with the macro from the POSIX man page).  LLVM does a load of optimisations
> for memmove and memcpy - using bcopy is a really good way of bypassing all
> of these.
>
> David
>
>


-- 

-- 
Marcelo Araujo(__)ara...@freebsd.org
\\\'',)http://www.FreeBSD.org    \/  \ ^
Power To Server. .\. /_)
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


Re: svn commit: r286715 - head/lib/libc/string

2015-08-13 Thread David Chisnall
On 13 Aug 2015, at 08:11, Marcelo Araujo  wrote:
> 
> The bcopy() was removed in IEEE Std 1003.1-2008 and it is marked as LEGACY in 
> IEEE Std 1003.1-2004. However, BSD has its implementation before IEEE Std 
> 1003.1-2001.
> 
> In my understood it is obsolete on POSIX, but not truly obsolete for FreeBSD.
> So I believe, this patch now address it in the correct way.

Its use should be strongly discouraged in FreeBSD (or, ideally, replaced with 
the macro from the POSIX man page).  LLVM does a load of optimisations for 
memmove and memcpy - using bcopy is a really good way of bypassing all of these.

David

___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


Re: svn commit: r286715 - head/lib/libc/string

2015-08-13 Thread Marcelo Araujo
2015-08-13 14:51 GMT+08:00 Marcelo Araujo :

> Hi Bruce,
>
> I sent it already in private to you, as we were talking about the
> implementation of bcopy(3) on BSD and the POSIX one.
>
> So, I will send the patch again here, to let other developer give their
> opinion about it.
>
> Thanks to explain over and over again. Now it is clear to me.
>
>
> All the best.
>
> 2015-08-13 12:46 GMT+08:00 Bruce Evans :
>
>> On Thu, 13 Aug 2015, Marcelo Araujo wrote:
>>
>> Author: araujo
>>> Date: Thu Aug 13 02:31:23 2015
>>> New Revision: 286715
>>> URL: https://svnweb.freebsd.org/changeset/base/286715
>>>
>>> Log:
>>>  Remove the mention of memcpy(3) that is build on top of bcopy(3).
>>>  Fix some phrases to make it more clear.
>>>
>>>  Differential Revision: D3378
>>>  Reported by:   bde@
>>>  Reviewed by:   wblock
>>>  Approved by:   bapt, rodrigc (mentor)
>>>  Sponsored by:  gandi.net
>>>
>>
>> I don't like this version either :-).
>>
>> Modified: head/lib/libc/string/bcopy.3
>>>
>>> ==
>>> --- head/lib/libc/string/bcopy.3Thu Aug 13 01:04:26 2015
>>> (r286714)
>>> +++ head/lib/libc/string/bcopy.3Thu Aug 13 02:31:23 2015
>>> (r286715)
>>> @@ -31,7 +31,7 @@
>>> .\" @(#)bcopy.3 8.1 (Berkeley) 6/4/93
>>> .\" $FreeBSD$
>>> .\"
>>> -.Dd August 11, 2015
>>> +.Dd August 13, 2015
>>> .Dt BCOPY 3
>>> .Os
>>> .Sh NAME
>>> @@ -58,16 +58,14 @@ If
>>> .Fa len
>>> is zero, no bytes are copied.
>>> .Pp
>>> -This function is deprecated (marked as LEGACY in
>>> -POSIX.1-2001): use
>>> -.Xr memcpy 3
>>> -or
>>> +This function is obsolete (marked as LEGACY in
>>> +POSIX.1-2001): please use
>>>
>>
>> This function is not obsolete, but is fully supported in FreeBSD.
>>
>> Its obsoletely doesn't follow at all from the clause in parentheses.
>> LEGACY doesn't even mean obsolencent.  In computerspeak it means
>> "old stuff that we don't like".
>>
>> I think you got the "obsolete" wording from NetBSD.  But I think
>> NetBSD started deprecating it in 1995.  It might really be obsolete
>> for them after 20 years of deprecation.
>>
>> Please don't use pleasant nonsenses like "please" in man pages or
>> comments.
>>
>> .Xr memmove 3
>>> in new programs.
>>>
>>
>> Still not quite right.  New programs should use the best function and
>> that is usually memcpy().  Only old programs that are being roto-tilled
>> should convert bcopy() to memmove() (so as to avoid having to understand
>> them well enough to know if they do overlapped copies).
>>
>> -Note that the first two arguments are
>>> -interchanged for
>>> -.Xr memcpy 3
>>> -and
>>> +Note that
>>> +.Fn bcopy
>>> +takes its src and dst arguments in the opposite
>>> +order from
>>> .Xr memmove 3 .
>>>
>>
>> OK, except Xr should be Fn.  ".Xr memmove 3" is a man page, not a
>> function.
>> Man pages don't take src and dst arguments :-).  This normally shows up
>> in the rendering -- in text mode, Fn gives highlighting but Xr doesn't.
>>
>> Now I notice more markup problems: the src and dst arguments are not
>> marked
>> up.  In text mode, Fa gives highlighting for args.
>>
>> POSIX.1-2008 removes the specification of
>>> .Fn bcopy .
>>>
>>
>> Better put this before the LEGACY statement and maybe merge the LEGACY
>> statement into the HISTORY section.  Since I don't want to deprecate
>> bcopy(), I would put this in the history section too.
>>
>> Technically, this function is not deprecated since it is still a standard
>> BSD function in .  The ifdef for this is already quite
>> complicated and broken, thoough it only attempts to keep up with some
>> of the POSIX churn: from strings.h:
>>
>> #if __BSD_VISIBLE || __POSIX_VISIBLE <= 200112
>> int  bcmp(const void *, const void *, size_t) __pure;   /* LEGACY
>> */
>> void bcopy(const void *, void *, size_t);   /* LEGACY
>> */
>> void bzero(void *, size_t); /* LEGACY
>> */
>> #endif
>>
>> It is POSIX LEGACY, but standard BSD.
>>
>> The POSIX ifdef is quite broken:
>> - before 1996, POSIX didn't have this function, but it also didn't have
>>   strings.h so there is no problem (the ifdef is vacuously correct)
>> - between 1996 and 2001, there was an XSI version there may have been
>>   a POSIX version that had this function and  too.  The ifdef
>>   is wrong for any such version since it doesn't mention XSI.  Such
>> versions
>>   are just unsupported.
>> - between 2001 and 2008, POSIX apparently required bcopy() (and the other
>>   functions) but didn't declare them anywhere, except in the XSI case it
>>   requires them to be declared in .  The above supports the
>>   non-XSI case of this.  The XSI case is broken as in any 1996-2001
>> versions.
>> - the ifdef is not up to date with changing LEGACY to OBSOLETE, but since
>>   LEGACY already resulted in omission of the prototypes in the non-XSI
>> case,
>>   nothing needed to be changed in this case, and since the