svn commit: r263930 - head/usr.bin/units

2014-03-29 Thread Eitan Adler
Author: eadler Date: Sun Mar 30 05:06:06 2014 New Revision: 263930 URL: http://svnweb.freebsd.org/changeset/base/263930 Log: units(1): Add some missing units Modified: head/usr.bin/units/units.lib Modified: head/usr.bin/units/units.lib

svn commit: r263929 - head/usr.bin/units

2014-03-29 Thread Eitan Adler
Author: eadler Date: Sun Mar 30 04:55:33 2014 New Revision: 263929 URL: http://svnweb.freebsd.org/changeset/base/263929 Log: Teach units(1) that an erg and ergon are the same thing. Modified: head/usr.bin/units/units.lib Modified: head/usr.bin/units/units.lib

svn commit: r263928 - head/lib/libc/sys

2014-03-29 Thread Eitan Adler
Author: eadler Date: Sun Mar 30 04:40:41 2014 New Revision: 263928 URL: http://svnweb.freebsd.org/changeset/base/263928 Log: Use the correct variable name in the example code. Modified: head/lib/libc/sys/cap_rights_limit.2 Modified: head/lib/libc/sys/cap_rights_limit.2 ==

svn commit: r263927 - head/sys/dev/iwi

2014-03-29 Thread Eitan Adler
Author: eadler Date: Sun Mar 30 00:25:31 2014 New Revision: 263927 URL: http://svnweb.freebsd.org/changeset/base/263927 Log: Fix sizeof modifier for sizeof() in printf Modified: head/sys/dev/iwi/if_iwi.c Modified: head/sys/dev/iwi/if_iwi.c

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

2014-03-29 Thread David Xu
On 2014/03/29 23:42, Warner Losh wrote: On Mar 29, 2014, at 6:31 AM, David Xu wrote: On 2014/03/29 15:52, Don Lewis wrote: On 29 Mar, Mateusz Guzik wrote: On Sat, Mar 29, 2014 at 11:52:09AM +0800, David Xu wrote: If fsetown handling like this is insecure this would bite us in that scenario

svn commit: r263926 - head/usr.bin/mkimg

2014-03-29 Thread Marcel Moolenaar
Author: marcel Date: Sat Mar 29 23:46:01 2014 New Revision: 263926 URL: http://svnweb.freebsd.org/changeset/base/263926 Log: Fix build on FreeBSD 7 where: 1. DOSPTYP_FAT32 is not defined in 2. uuid_enc_le() does not exist in libc. Modified: head/usr.bin/mkimg/ebr.c head/usr.bin/mkimg

svn commit: r263925 - head/contrib/wpa/src/drivers

2014-03-29 Thread Rui Paulo
Author: rpaulo Date: Sat Mar 29 23:25:09 2014 New Revision: 263925 URL: http://svnweb.freebsd.org/changeset/base/263925 Log: Enable all cryptocaps because net80211 can do software encryption. MFC after:1 week Modified: head/contrib/wpa/src/drivers/driver_bsd.c Modified: head/contrib

Re: svn commit: r263885 - in head/sys/dev/vt: . hw/vga

2014-03-29 Thread Nathan Whitehorn
On 03/29/14 15:35, Aleksandr Rybalko wrote: On Sat, 29 Mar 2014 09:18:03 -0700 Nathan Whitehorn wrote: On 03/28/14 15:04, Aleksandr Rybalko wrote: Author: ray Date: Fri Mar 28 22:04:27 2014 New Revision: 263885 URL: http://svnweb.freebsd.org/changeset/base/263885 Log: o Add new vd_driver

Re: svn commit: r263885 - in head/sys/dev/vt: . hw/vga

2014-03-29 Thread Aleksandr Rybalko
On Sat, 29 Mar 2014 09:18:03 -0700 Nathan Whitehorn wrote: > On 03/28/14 15:04, Aleksandr Rybalko wrote: > > Author: ray > > Date: Fri Mar 28 22:04:27 2014 > > New Revision: 263885 > > URL: http://svnweb.freebsd.org/changeset/base/263885 > > > > Log: > >o Add new vd_driver method to do bitblt

svn commit: r263924 - head/usr.bin/mkimg

2014-03-29 Thread Marcel Moolenaar
Author: marcel Date: Sat Mar 29 22:10:54 2014 New Revision: 263924 URL: http://svnweb.freebsd.org/changeset/base/263924 Log: Fix build on FreeBSD 8 where partition types for nandfs do not exist. Modified: head/usr.bin/mkimg/apm.c head/usr.bin/mkimg/bsd.c head/usr.bin/mkimg/gpt.c head/us

svn commit: r263923 - head/usr.bin/mkimg

2014-03-29 Thread Marcel Moolenaar
Author: marcel Date: Sat Mar 29 22:02:25 2014 New Revision: 263923 URL: http://svnweb.freebsd.org/changeset/base/263923 Log: Fix build on FreeBSD 9 where has the same defines as and not the unique defines introduced later. Modified: head/usr.bin/mkimg/pc98.c Modified: head/usr.bin/mkimg/

svn commit: r263922 - head/sys/netinet

2014-03-29 Thread Michael Tuexen
Author: tuexen Date: Sat Mar 29 21:26:45 2014 New Revision: 263922 URL: http://svnweb.freebsd.org/changeset/base/263922 Log: Handle an edge case of address management similar to TCP. This needs to be reconsidered when the address handling will be reimplemented. The patch is from rrs@.

Re: svn commit: r263918 - head/usr.bin/mkimg

2014-03-29 Thread Nathan Whitehorn
On 03/29/14 12:03, Marcel Moolenaar wrote: Author: marcel Date: Sat Mar 29 19:03:10 2014 New Revision: 263918 URL: http://svnweb.freebsd.org/changeset/base/263918 Log: Add mkimg, a utility for making disk images from raw partition contents. The partitioning scheme can be one of the schemes

svn commit: r263921 - head/sys/netinet

2014-03-29 Thread Michael Tuexen
Author: tuexen Date: Sat Mar 29 20:21:36 2014 New Revision: 263921 URL: http://svnweb.freebsd.org/changeset/base/263921 Log: Use SCTP_OVER_UDP_TUNNELING_PORT more consistently. MFC after: 3 days Modified: head/sys/netinet/sctp_constants.h head/sys/netinet/sctp_sysctl.h Modified: head/

svn commit: r263920 - head/sys/dev/iwi

2014-03-29 Thread Adrian Chadd
Author: adrian Date: Sat Mar 29 19:53:04 2014 New Revision: 263920 URL: http://svnweb.freebsd.org/changeset/base/263920 Log: Add support to export the contents of the notification updates from the firmware. Right now the NIC isn't actually exporting useful data. I'm not quite sure why th

svn commit: r263919 - head/usr.bin

2014-03-29 Thread Marcel Moolenaar
Author: marcel Date: Sat Mar 29 19:04:38 2014 New Revision: 263919 URL: http://svnweb.freebsd.org/changeset/base/263919 Log: Hook mkimg(1) to the build. Modified: head/usr.bin/Makefile Modified: head/usr.bin/Makefile ===

svn commit: r263918 - head/usr.bin/mkimg

2014-03-29 Thread Marcel Moolenaar
Author: marcel Date: Sat Mar 29 19:03:10 2014 New Revision: 263918 URL: http://svnweb.freebsd.org/changeset/base/263918 Log: Add mkimg, a utility for making disk images from raw partition contents. The partitioning scheme can be one of the schemes supported by gpart. Reviewed by: sjg O

svn commit: r263917 - head/sys/contrib/dev/ath/ath_hal/ar9300

2014-03-29 Thread Adrian Chadd
Author: adrian Date: Sat Mar 29 18:56:11 2014 New Revision: 263917 URL: http://svnweb.freebsd.org/changeset/base/263917 Log: Fix ah_powerMode setting. Reported by: sbruno Modified: head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_power.c Modified: head/sys/contrib/dev/ath/ath_hal/ar9300/

Re: svn commit: r263885 - in head/sys/dev/vt: . hw/vga

2014-03-29 Thread Nathan Whitehorn
On 03/28/14 15:04, Aleksandr Rybalko wrote: Author: ray Date: Fri Mar 28 22:04:27 2014 New Revision: 263885 URL: http://svnweb.freebsd.org/changeset/base/263885 Log: o Add new vd_driver method to do bitblt with mask, named vd_maskbitbltchr. o Move vd_bitbltchr vga's driver method to vd_mas

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

2014-03-29 Thread Warner Losh
On Mar 29, 2014, at 6:31 AM, David Xu wrote: > > On 2014/03/29 15:52, Don Lewis wrote: >> On 29 Mar, Mateusz Guzik wrote: >>> On Sat, Mar 29, 2014 at 11:52:09AM +0800, David Xu wrote: > If fsetown handling like this is insecure this would bite us in that > scenario (and few others). In

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

2014-03-29 Thread Andrew Turner
Author: andrew Date: Sat Mar 29 14:35:36 2014 New Revision: 263914 URL: http://svnweb.freebsd.org/changeset/base/263914 Log: VFP fixes/cleanups for ARM11: * Save the required VFP registers on context switch. If the exception bit is set we need to save and restore the FPINST register, and

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

2014-03-29 Thread Andrew Turner
Author: andrew Date: Sat Mar 29 14:17:04 2014 New Revision: 263913 URL: http://svnweb.freebsd.org/changeset/base/263913 Log: Initialise fpscr to a sane value when we create the pcb. This sets NaNs to be the default NaN and for denormalised numbers to be flushed to zero. Modified: head/sys/a

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

2014-03-29 Thread David Xu
On 2014/03/29 15:52, Don Lewis wrote: On 29 Mar, Mateusz Guzik wrote: On Sat, Mar 29, 2014 at 11:52:09AM +0800, David Xu wrote: If fsetown handling like this is insecure this would bite us in that scenario (and few others). In short, if we can avoid giving another way to corrupt stuff in the k

svn commit: r263912 - in head/sys: amd64/amd64 i386/i386

2014-03-29 Thread Konstantin Belousov
Author: kib Date: Sat Mar 29 11:56:33 2014 New Revision: 263912 URL: http://svnweb.freebsd.org/changeset/base/263912 Log: Clear the kernel grab of the FPU state on fork. The pcb_save pointer is already correctly reset to the FPU user save area, only PCB_KERNFPU flag might leak from old thre

svn commit: r263910 - head/sys/arm/include

2014-03-29 Thread Andrew Turner
Author: andrew Date: Sat Mar 29 10:11:19 2014 New Revision: 263910 URL: http://svnweb.freebsd.org/changeset/base/263910 Log: Add more flags for the fpexc register from the ARM1176JZF-S Manual Modified: head/sys/arm/include/vfp.h Modified: head/sys/arm/include/vfp.h ==

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

2014-03-29 Thread Don Lewis
On 29 Mar, Mateusz Guzik wrote: > On Sat, Mar 29, 2014 at 11:52:09AM +0800, David Xu wrote: >> >If fsetown handling like this is insecure this would bite us in that >> >scenario (and few others). In short, if we can avoid giving another way >> >to corrupt stuff in the kernel to userspace, we should