svn commit: r282204 - stable/10/usr.sbin/sysrc

2015-04-28 Thread Devin Teske
Author: dteske
Date: Tue Apr 28 22:32:52 2015
New Revision: 282204
URL: https://svnweb.freebsd.org/changeset/base/282204

Log:
  MFC r281780: Update usage statement; align with post-r279624.

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

Modified: stable/10/usr.sbin/sysrc/sysrc
==
--- stable/10/usr.sbin/sysrc/sysrc  Tue Apr 28 21:58:11 2015
(r282203)
+++ stable/10/usr.sbin/sysrc/sysrc  Tue Apr 28 22:32:52 2015
(r282204)
@@ -80,7 +80,7 @@ die()
 #
 usage()
 {
-   f_err "Usage: %s [OPTIONS] name[[+]=value] ...\n" "$pgm"
+   f_err "Usage: %s [OPTIONS] name[[+|-]=value] ...\n" "$pgm"
f_err "Try \`%s --help' for more information.\n" "$pgm"
die
 }
___
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"


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

2015-04-28 Thread Glen Barber
Author: gjb
Date: Tue Apr 28 21:58:11 2015
New Revision: 282203
URL: https://svnweb.freebsd.org/changeset/base/282203

Log:
  Document r281255, devfs(5) read/write update timestamp
  precision.
  
  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  Tue Apr 28 
21:57:52 2015(r282202)
+++ stable/10/release/doc/en_US.ISO8859-1/relnotes/article.xml  Tue Apr 28 
21:58:11 2015(r282203)
@@ -279,6 +279,14 @@
&man.hwpmc.4; default and maximum callchain depths have been
increased.  The default has been increased from 16 to 32, and
the maximum increased from 32 to 128.
+
+  The &man.devfs.5; device filesystem has
+   been changed to update timestamps for read/write operations
+   using seconds precision.  A new &man.sysctl.8;,
+   vfs.devfs.dotimes has been added, which
+   when set to a non-zero value, enables default precision
+   timestamps for these operations.
 
   
 
___
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"


svn commit: r282199 - in stable/10/sys: dev/drm2 dev/drm2/i915 dev/drm2/radeon dev/drm2/ttm modules modules/drm2 modules/drm2/drm2 modules/drm2/radeonkms

2015-04-28 Thread Jean-Sebastien Pedron
Author: dumbbell
Date: Tue Apr 28 19:35:05 2015
New Revision: 282199
URL: https://svnweb.freebsd.org/changeset/base/282199

Log:
  drm: Update the device-independent code to match Linux 3.8.13
  
  This update brings few features:
  o  Support for the setmaster/dropmaster ioctls. For instance, they
 are used to run multiple X servers simultaneously.
  o  Support for minor devices. The only user-visible change is a new
 entry in /dev/dri but it is useless at the moment. This is a
 first step to support render nodes [1].
  
  The main benefit is to greatly reduce the diff with Linux (at the
  expense of an unreadable commit diff). Hopefully, next upgrades will be
  easier.
  
  No updates were made to the drivers, beside adapting them to API
  changes.
  
  [1] https://en.wikipedia.org/wiki/Direct_Rendering_Manager#Render_nodes
  
  r280814 is merged at the same time to avoid a short window where RANDR
  might be broken:
  
  drm: Import Linux commit 9bc3cd5673d84d29272fa7181a4dfca83cbb48c1
  
  Author: Ville Syrjälä 
  Date:   Fri May 31 12:17:08 2013 +
  
  drm: Sort connector modes based on vrefresh
  
  Keeping the modes sorted by vrefresh before the pixel clock makes the
  mode list somehow more pleasing to the eye.
  
  Signed-off-by: Ville Syrjälä 
  Reviewed-by: Alex Deucher 
  Signed-off-by: Dave Airlie 
  
  PR:   198936 (r280814)
  Tested by:Many people
  MFC of:   r280183, r280187 (original commit by glebius), r280814
  Relnotes: yes

Added:
  stable/10/sys/dev/drm2/drm_os_freebsd.c
 - copied, changed from r280183, head/sys/dev/drm2/drm_os_freebsd.c
Deleted:
  stable/10/sys/dev/drm2/drm_drawable.c
  stable/10/sys/dev/drm2/drm_internal.h
  stable/10/sys/dev/drm2/drm_sman.c
  stable/10/sys/dev/drm2/drm_sman.h
  stable/10/sys/dev/drm2/radeon/radeon_atpx_handler.c
Modified:
  stable/10/sys/dev/drm2/ati_pcigart.c
  stable/10/sys/dev/drm2/drm.h
  stable/10/sys/dev/drm2/drmP.h
  stable/10/sys/dev/drm2/drm_agpsupport.c
  stable/10/sys/dev/drm2/drm_atomic.h
  stable/10/sys/dev/drm2/drm_auth.c
  stable/10/sys/dev/drm2/drm_buffer.c
  stable/10/sys/dev/drm2/drm_bufs.c
  stable/10/sys/dev/drm2/drm_context.c
  stable/10/sys/dev/drm2/drm_crtc.c
  stable/10/sys/dev/drm2/drm_crtc.h
  stable/10/sys/dev/drm2/drm_crtc_helper.c
  stable/10/sys/dev/drm2/drm_crtc_helper.h
  stable/10/sys/dev/drm2/drm_dma.c
  stable/10/sys/dev/drm2/drm_dp_helper.c
  stable/10/sys/dev/drm2/drm_dp_iic_helper.c
  stable/10/sys/dev/drm2/drm_drv.c
  stable/10/sys/dev/drm2/drm_edid.c
  stable/10/sys/dev/drm2/drm_edid.h
  stable/10/sys/dev/drm2/drm_edid_modes.h
  stable/10/sys/dev/drm2/drm_fb_helper.c
  stable/10/sys/dev/drm2/drm_fb_helper.h
  stable/10/sys/dev/drm2/drm_fops.c
  stable/10/sys/dev/drm2/drm_fourcc.h
  stable/10/sys/dev/drm2/drm_gem.c
  stable/10/sys/dev/drm2/drm_gem_names.c
  stable/10/sys/dev/drm2/drm_global.c
  stable/10/sys/dev/drm2/drm_hashtab.c
  stable/10/sys/dev/drm2/drm_ioc32.c
  stable/10/sys/dev/drm2/drm_ioctl.c
  stable/10/sys/dev/drm2/drm_irq.c
  stable/10/sys/dev/drm2/drm_lock.c
  stable/10/sys/dev/drm2/drm_memory.c
  stable/10/sys/dev/drm2/drm_mm.c
  stable/10/sys/dev/drm2/drm_mm.h
  stable/10/sys/dev/drm2/drm_mode.h
  stable/10/sys/dev/drm2/drm_modes.c
  stable/10/sys/dev/drm2/drm_os_freebsd.h
  stable/10/sys/dev/drm2/drm_pci.c
  stable/10/sys/dev/drm2/drm_pciids.h
  stable/10/sys/dev/drm2/drm_sarea.h
  stable/10/sys/dev/drm2/drm_scatter.c
  stable/10/sys/dev/drm2/drm_stub.c
  stable/10/sys/dev/drm2/drm_sysctl.c
  stable/10/sys/dev/drm2/drm_vm.c
  stable/10/sys/dev/drm2/i915/i915_debug.c
  stable/10/sys/dev/drm2/i915/i915_dma.c
  stable/10/sys/dev/drm2/i915/i915_drm.h
  stable/10/sys/dev/drm2/i915/i915_drv.c
  stable/10/sys/dev/drm2/i915/i915_drv.h
  stable/10/sys/dev/drm2/i915/i915_gem.c
  stable/10/sys/dev/drm2/i915/i915_gem_context.c
  stable/10/sys/dev/drm2/i915/i915_gem_evict.c
  stable/10/sys/dev/drm2/i915/i915_gem_execbuffer.c
  stable/10/sys/dev/drm2/i915/i915_gem_gtt.c
  stable/10/sys/dev/drm2/i915/i915_gem_tiling.c
  stable/10/sys/dev/drm2/i915/i915_ioc32.c
  stable/10/sys/dev/drm2/i915/i915_irq.c
  stable/10/sys/dev/drm2/i915/i915_suspend.c
  stable/10/sys/dev/drm2/i915/intel_crt.c
  stable/10/sys/dev/drm2/i915/intel_display.c
  stable/10/sys/dev/drm2/i915/intel_dp.c
  stable/10/sys/dev/drm2/i915/intel_fb.c
  stable/10/sys/dev/drm2/i915/intel_hdmi.c
  stable/10/sys/dev/drm2/i915/intel_iic.c
  stable/10/sys/dev/drm2/i915/intel_lvds.c
  stable/10/sys/dev/drm2/i915/intel_modes.c
  stable/10/sys/dev/drm2/i915/intel_opregion.c
  stable/10/sys/dev/drm2/i915/intel_overlay.c
  stable/10/sys/dev/drm2/i915/intel_panel.c
  stable/10/sys/dev/drm2/i915/intel_ringbuffer.c
  stable/10/sys/dev/drm2/i915/intel_sdvo.c
  stable/10/sys/dev/drm2/i915/intel_tv.c
  stable/10/sys/dev/drm2/radeon/atom.c
  stable/10/sys/dev/drm2/radeon/atombios_crtc.c
  stable/10/sys/dev/drm2/radeon/atombios_dp.c
  stable/10/sys/dev/drm2/radeon/atombios_e

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

2015-04-28 Thread Glen Barber
Author: gjb
Date: Tue Apr 28 18:11:47 2015
New Revision: 282187
URL: https://svnweb.freebsd.org/changeset/base/282187

Log:
  Document r280370, DSM TRIM support for virtual AHCI disks.
  
  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  Tue Apr 28 
18:11:45 2015(r282186)
+++ stable/10/release/doc/en_US.ISO8859-1/relnotes/article.xml  Tue Apr 28 
18:11:47 2015(r282187)
@@ -300,7 +300,9 @@
 
   Virtualization Support
 
-   
+  The &man.bhyve.8; hypervisor has been
+   updated to support DSM TRIM commands for
+   virtual AHCI disks.
 
 
 
___
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"


svn commit: r282191 - in stable/10/release/doc: en_US.ISO8859-1/relnotes share/xml

2015-04-28 Thread Glen Barber
Author: gjb
Date: Tue Apr 28 18:11:56 2015
New Revision: 282191
URL: https://svnweb.freebsd.org/changeset/base/282191

Log:
  Document r281161, '-R' flag added to netstat(8).
  Add Limelight Networks to sponsors.ent.
  
  Sponsored by: The FreeBSD Foundation

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

Modified: stable/10/release/doc/en_US.ISO8859-1/relnotes/article.xml
==
--- stable/10/release/doc/en_US.ISO8859-1/relnotes/article.xml  Tue Apr 28 
18:11:54 2015(r282190)
+++ stable/10/release/doc/en_US.ISO8859-1/relnotes/article.xml  Tue Apr 28 
18:11:56 2015(r282191)
@@ -187,6 +187,11 @@
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.
 
 
 

Modified: stable/10/release/doc/share/xml/sponsor.ent
==
--- stable/10/release/doc/share/xml/sponsor.ent Tue Apr 28 18:11:54 2015
(r282190)
+++ stable/10/release/doc/share/xml/sponsor.ent Tue Apr 28 18:11:56 2015
(r282191)
@@ -23,6 +23,7 @@
 
 
 
+
 
 
 
___
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"


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

2015-04-28 Thread Glen Barber
Author: gjb
Date: Tue Apr 28 18:12:05 2015
New Revision: 282195
URL: https://svnweb.freebsd.org/changeset/base/282195

Log:
  Document r281957, hptnr(4) driver updated to version 1.1.1.
  
  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  Tue Apr 28 
18:12:03 2015(r282194)
+++ stable/10/release/doc/en_US.ISO8859-1/relnotes/article.xml  Tue Apr 28 
18:12:05 2015(r282195)
@@ -297,7 +297,8 @@
 
   Storage Drivers
 
-   
+  The &man.hptnr.4; driver has been
+   updated to version 1.1.1.
 
 
 
___
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"


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

2015-04-28 Thread Glen Barber
Author: gjb
Date: Tue Apr 28 18:12:03 2015
New Revision: 282194
URL: https://svnweb.freebsd.org/changeset/base/282194

Log:
  Document r281936, disallow ar(1) directory traversal.
  
  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  Tue Apr 28 
18:12:01 2015(r282193)
+++ stable/10/release/doc/en_US.ISO8859-1/relnotes/article.xml  Tue Apr 28 
18:12:03 2015(r282194)
@@ -192,6 +192,13 @@
sponsor="&limelight;">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;.
 
 
 
___
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"


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

2015-04-28 Thread Glen Barber
Author: gjb
Date: Tue Apr 28 18:12:08 2015
New Revision: 282196
URL: https://svnweb.freebsd.org/changeset/base/282196

Log:
  Update svn revision marker.
  
  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  Tue Apr 28 
18:12:05 2015(r282195)
+++ stable/10/release/doc/en_US.ISO8859-1/relnotes/article.xml  Tue Apr 28 
18:12:08 2015(r282196)
@@ -22,7 +22,7 @@
 
 $FreeBSD$
 
-
+
 
 
   2015
___
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"


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

2015-04-28 Thread Glen Barber
Author: gjb
Date: Tue Apr 28 18:11:54 2015
New Revision: 282190
URL: https://svnweb.freebsd.org/changeset/base/282190

Log:
  Document r281075, ACPICA update to version 20150204.
  
  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  Tue Apr 28 
18:11:51 2015(r282189)
+++ stable/10/release/doc/en_US.ISO8859-1/relnotes/article.xml  Tue Apr 28 
18:11:54 2015(r282190)
@@ -194,6 +194,9 @@
 
   OpenSSL has
been updated to version 1.0.1m.
+
+  The &man.acpi.4; subsystem has been
+   updated to version 20150204.
 
 
 
___
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"


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

2015-04-28 Thread Glen Barber
Author: gjb
Date: Tue Apr 28 18:11:59 2015
New Revision: 282192
URL: https://svnweb.freebsd.org/changeset/base/282192

Log:
  Document r281687, ACPI update to 20150410.
  
  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  Tue Apr 28 
18:11:56 2015(r282191)
+++ stable/10/release/doc/en_US.ISO8859-1/relnotes/article.xml  Tue Apr 28 
18:11:59 2015(r282192)
@@ -200,8 +200,8 @@
   OpenSSL has
been updated to version 1.0.1m.
 
-  The &man.acpi.4; subsystem has been
-   updated to version 20150204.
+  The &man.acpi.4; subsystem has been
+   updated to version 20150410.
 
 
 
___
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"


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

2015-04-28 Thread Glen Barber
Author: gjb
Date: Tue Apr 28 18:11:45 2015
New Revision: 282186
URL: https://svnweb.freebsd.org/changeset/base/282186

Log:
  Document r280304, OpenSSL update to version 1.0.1m.
  
  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  Tue Apr 28 
18:11:36 2015(r282185)
+++ stable/10/release/doc/en_US.ISO8859-1/relnotes/article.xml  Tue Apr 28 
18:11:45 2015(r282186)
@@ -187,8 +187,8 @@
 
   Contributed Software
 
-  OpenSSL has
-   been updated to version 1.0.1l.
+  OpenSSL has
+   been updated to version 1.0.1m.
 
 
 
___
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"


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

2015-04-28 Thread Glen Barber
Author: gjb
Date: Tue Apr 28 18:11:51 2015
New Revision: 282189
URL: https://svnweb.freebsd.org/changeset/base/282189

Log:
  Document r281044, fix directory inclusion when '--one-file-system'
  is specified.
  
  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  Tue Apr 28 
18:11:49 2015(r282188)
+++ stable/10/release/doc/en_US.ISO8859-1/relnotes/article.xml  Tue Apr 28 
18:11:51 2015(r282189)
@@ -182,6 +182,11 @@
   The
&man.fstyp.8; utility has been added, which is used to
determine the filesystem on a specified device.
+
+  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.
 
 
 
___
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"


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

2015-04-28 Thread Glen Barber
Author: gjb
Date: Tue Apr 28 18:12:01 2015
New Revision: 282193
URL: https://svnweb.freebsd.org/changeset/base/282193

Log:
  Document r281843, GELI passphrase prompt support in loader.
  
  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  Tue Apr 28 
18:11:59 2015(r282192)
+++ stable/10/release/doc/en_US.ISO8859-1/relnotes/article.xml  Tue Apr 28 
18:12:01 2015(r282193)
@@ -395,7 +395,11 @@
 
   Boot Loader Changes
 
-   
+  The boot loader has been updated to
+   support entering the GELI passphrase before
+   loading the kernel.  To enable this behavior, add
+   geom_eli_passphrase_prompt="YES" to
+   &man.loader.conf.5;.
 
 
 
___
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"


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

2015-04-28 Thread Glen Barber
Author: gjb
Date: Tue Apr 28 18:12:10 2015
New Revision: 282197
URL: https://svnweb.freebsd.org/changeset/base/282197

Log:
  Fix a whitespace nit.
  
  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  Tue Apr 28 
18:12:08 2015(r282196)
+++ stable/10/release/doc/en_US.ISO8859-1/relnotes/article.xml  Tue Apr 28 
18:12:10 2015(r282197)
@@ -345,6 +345,7 @@
 
 
   General Storage
+
   The
&man.ctl.4; LUN mapping has been rewritten,
replacing iSCSI-specific mapping mechanisms
___
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"


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

2015-04-28 Thread Glen Barber
Author: gjb
Date: Tue Apr 28 18:11:49 2015
New Revision: 282188
URL: https://svnweb.freebsd.org/changeset/base/282188

Log:
  Document r280392, make sure that setmode sets errno on failure.
  
  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  Tue Apr 28 
18:11:47 2015(r282187)
+++ stable/10/release/doc/en_US.ISO8859-1/relnotes/article.xml  Tue Apr 28 
18:11:49 2015(r282188)
@@ -216,6 +216,10 @@
 
   A new file configuration library,
&man.figpar.3;, has been added to the base system.
+
+  The &man.setmode.3; function has been
+   updated to consistently set errno on
+   failure.
 
 
 
___
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"


svn commit: r282143 - stable/10/lib/libc/mips/gen

2015-04-28 Thread Ed Maste
Author: emaste
Date: Tue Apr 28 12:52:08 2015
New Revision: 282143
URL: https://svnweb.freebsd.org/changeset/base/282143

Log:
  MFC r277877: Use zero register instead of immediate 0x0 in MIPS assembly
  
It seems GAS makes the substitution automatically, but Clang's
integrated assembler does not (yet). It fails with "invalid operand for
instruction."

Modified:
  stable/10/lib/libc/mips/gen/sigsetjmp.S
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/lib/libc/mips/gen/sigsetjmp.S
==
--- stable/10/lib/libc/mips/gen/sigsetjmp.S Tue Apr 28 12:48:30 2015
(r282142)
+++ stable/10/lib/libc/mips/gen/sigsetjmp.S Tue Apr 28 12:52:08 2015
(r282143)
@@ -61,7 +61,7 @@ __FBSDID("$FreeBSD$");
 LEAF(sigsetjmp)
PIC_PROLOGUE(sigsetjmp)
 
-   bne a1, 0x0, 1f # do saving of signal mask?
+   bne a1, zero, 1f# do saving of signal mask?
PIC_TAILCALL(_setjmp)
 
 1: PIC_TAILCALL(setjmp)
___
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"


svn commit: r282142 - stable/10/libexec/rtld-elf/mips

2015-04-28 Thread Ed Maste
Author: emaste
Date: Tue Apr 28 12:48:30 2015
New Revision: 282142
URL: https://svnweb.freebsd.org/changeset/base/282142

Log:
  MFC r281107: MIPS rtld: report missing symbol rather than segfaulting
  
This is only an interim fix; MIPS should be using the MI code instead,
which does not have this issue.

Modified:
  stable/10/libexec/rtld-elf/mips/reloc.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/libexec/rtld-elf/mips/reloc.c
==
--- stable/10/libexec/rtld-elf/mips/reloc.c Tue Apr 28 12:37:09 2015
(r282141)
+++ stable/10/libexec/rtld-elf/mips/reloc.c Tue Apr 28 12:48:30 2015
(r282142)
@@ -245,7 +245,7 @@ _mips_rtld_bind(Obj_Entry *obj, Elf_Size
 def = find_symdef(reloff, obj, &defobj, SYMLOOK_IN_PLT, NULL,
NULL);
 if (def == NULL)
-   _rtld_error("bind failed no symbol");
+   rtld_die();
 
 target = (Elf_Addr)(defobj->relocbase + def->st_value);
 dbg("bind now/fixup at %s sym # %jd in %s --> was=%p new=%p",
___
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"


svn commit: r282141 - stable/10/sys/dev/drm2

2015-04-28 Thread Jean-Sebastien Pedron
Author: dumbbell
Date: Tue Apr 28 12:37:09 2015
New Revision: 282141
URL: https://svnweb.freebsd.org/changeset/base/282141

Log:
  DRM2: fix off-by-one overflow in ioctl processing
  
  Call to the driver-specific ioctl used to process ioctl number
  that will lead to the out-of-bounds access to the ioctl handler
  array.
  
  PR: 193367
  Approved by:kib
  MFC of:   r275209 (original commit by rea)

Modified:
  stable/10/sys/dev/drm2/drm_drv.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/dev/drm2/drm_drv.c
==
--- stable/10/sys/dev/drm2/drm_drv.cTue Apr 28 12:02:24 2015
(r282140)
+++ stable/10/sys/dev/drm2/drm_drv.cTue Apr 28 12:37:09 2015
(r282141)
@@ -909,7 +909,7 @@ int drm_ioctl(struct cdev *kdev, u_long 
if (ioctl->func == NULL && nr >= DRM_COMMAND_BASE) {
/* The array entries begin at DRM_COMMAND_BASE ioctl nr */
nr -= DRM_COMMAND_BASE;
-   if (nr > dev->driver->max_ioctl) {
+   if (nr >= dev->driver->max_ioctl) {
DRM_DEBUG("Bad driver ioctl number, 0x%x (of 0x%x)\n",
nr, dev->driver->max_ioctl);
return EINVAL;
___
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"


svn commit: r282140 - stable/10/sys/dev/drm2

2015-04-28 Thread Jean-Sebastien Pedron
Author: dumbbell
Date: Tue Apr 28 12:02:24 2015
New Revision: 282140
URL: https://svnweb.freebsd.org/changeset/base/282140

Log:
  drm: Import Linux commit b7ea85a4fed37835eec78a7be3039c8dc22b8178
  
  Author: Huacai Chen 
  Date:   Tue May 21 06:23:43 2013 +
  
  drm: fix a use-after-free when GPU acceleration disabled
  
  When GPU acceleration is disabled, drm_vblank_cleanup() will free the
  vblank-related data, such as vblank_refcount, vblank_inmodeset, etc.
  But we found that drm_vblank_post_modeset() may be called after the
  cleanup, which use vblank_refcount and vblank_inmodeset. And this will
  cause a kernel panic.
  
  Fix this by return immediately if dev->num_crtcs is zero. This is the
  same thing that drm_vblank_pre_modeset() does.
  
  Call trace of a drm_vblank_post_modeset() after drm_vblank_cleanup():
  [   62.628906] [] drm_vblank_post_modeset+0x34/0xb4
  [   62.628906] [] atombios_crtc_dpms+0xb4/0x174
  [   62.628906] [] atombios_crtc_commit+0x18/0x38
  [   62.628906] [] drm_crtc_helper_set_mode+0x304/0x3cc
  [   62.628906] [] drm_crtc_helper_set_config+0x6d8/0x988
  [   62.628906] [] drm_fb_helper_set_par+0x94/0x104
  [   62.628906] [] fbcon_init+0x424/0x57c
  [   62.628906] [] visual_init+0xb8/0x118
  [   62.628906] [] take_over_console+0x238/0x384
  [   62.628906] [] fbcon_takeover+0x7c/0xdc
  [   62.628906] [] notifier_call_chain+0x44/0x94
  [   62.628906] [] 
__blocking_notifier_call_chain+0x48/0x68
  [   62.628906] [] register_framebuffer+0x228/0x260
  [   62.628906] [] 
drm_fb_helper_single_fb_probe+0x260/0x314
  [   62.628906] [] 
drm_fb_helper_initial_config+0x200/0x234
  [   62.628906] [] radeon_fbdev_init+0xd4/0xf4
  [   62.628906] [] radeon_modeset_init+0x9bc/0xa18
  [   62.628906] [] radeon_driver_load_kms+0xdc/0x12c
  [   62.628906] [] drm_get_pci_dev+0x148/0x238
  [   62.628906] [] local_pci_probe+0x5c/0xd0
  [   62.628906] [] work_for_cpu_fn+0x1c/0x30
  [   62.628906] [] process_one_work+0x274/0x3bc
  [   62.628906] [] process_scheduled_works+0x24/0x44
  [   62.628906] [] worker_thread+0x31c/0x3f4
  [   62.628906] [] kthread+0x88/0x90
  [   62.628906] [] kernel_thread_helper+0x10/0x18
  
  Signed-off-by: Huacai Chen 
  Signed-off-by: Binbin Zhou 
  Cc: 
  Reviewed-by: Michel Dänzer 
  Acked-by: Paul Menzel 
  Signed-off-by: Dave Airlie 
  
  Reported by:J.R. Oldroyd 
  MFC of:   r279599

Modified:
  stable/10/sys/dev/drm2/drm_irq.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/dev/drm2/drm_irq.c
==
--- stable/10/sys/dev/drm2/drm_irq.cTue Apr 28 11:03:47 2015
(r282139)
+++ stable/10/sys/dev/drm2/drm_irq.cTue Apr 28 12:02:24 2015
(r282140)
@@ -883,7 +883,7 @@ void drm_vblank_off(struct drm_device *d
  */
 void drm_vblank_pre_modeset(struct drm_device *dev, int crtc)
 {
-   /* vblank is not initialized (IRQ not installed ?) */
+   /* vblank is not initialized (IRQ not installed ?), or has been freed */
if (!dev->num_crtcs)
return;
/*
@@ -902,6 +902,9 @@ void drm_vblank_pre_modeset(struct drm_d
 
 void drm_vblank_post_modeset(struct drm_device *dev, int crtc)
 {
+   /* vblank is not initialized (IRQ not installed ?), or has been freed */
+   if (!dev->num_crtcs)
+   return;
 
if (dev->vblank_inmodeset[crtc]) {
mtx_lock(&dev->vbl_lock);
___
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"