Re: svn commit: r281103 - head/sys/amd64/amd64

2015-04-06 Thread Adrian Chadd
Hi Bruce, There's been a bunch of research into that field lately. Eg: http://daim.idi.ntnu.no/masteroppgaver/009/9231/masteroppgave.pdf The best part (imho)- the length of your USER environment string influencing code runtime costs. :) -a ___

svn commit: r281160 - head/usr.sbin/bsdinstall/scripts

2015-04-06 Thread Devin Teske
Author: dteske Date: Mon Apr 6 18:03:35 2015 New Revision: 281160 URL: https://svnweb.freebsd.org/changeset/base/281160 Log: Fix permissions on ZFS root encryption key (644 - 600). MFC after:3 days X-MFC-to: stable/10 stable/9 Security: CVE-2015-1415 Reported by: Pierre

svn commit: r281159 - head/sys/dev/acpica

2015-04-06 Thread John Baldwin
Author: jhb Date: Mon Apr 6 17:39:36 2015 New Revision: 281159 URL: https://svnweb.freebsd.org/changeset/base/281159 Log: Move the message complaining about failed system resource allocations under bootverbose. Every example I've seen to date has been due to an ACPI system resource device

Re: svn commit: r281103 - head/sys/amd64/amd64

2015-04-06 Thread Bruce Evans
On Mon, 6 Apr 2015, Adrian Chadd wrote: Hi Bruce, There's been a bunch of research into that field lately. Eg: http://daim.idi.ntnu.no/masteroppgaver/009/9231/masteroppgave.pdf The best part (imho)- the length of your USER environment string influencing code runtime costs. :) I fix the

svn commit: r281164 - head/sys/netpfil/pf

2015-04-06 Thread Kristof Provost
Author: kp Date: Mon Apr 6 19:05:00 2015 New Revision: 281164 URL: https://svnweb.freebsd.org/changeset/base/281164 Log: pf: Skip firewall for refragmented ip6 packets In cases where we scrub (fragment reassemble) on both input and output we risk ending up in infinite loops when

Re: svn commit: r281164 - head/sys/netpfil/pf

2015-04-06 Thread Richard Tector
On 06/04/2015 20:05, Kristof Provost wrote: Author: kp Date: Mon Apr 6 19:05:00 2015 New Revision: 281164 URL: https://svnweb.freebsd.org/changeset/base/281164 Log: pf: Skip firewall for refragmented ip6 packets In cases where we scrub (fragment reassemble) on both input and output

svn commit: r281162 - head/sys/vm

2015-04-06 Thread Dmitry Chagin
Author: dchagin Date: Mon Apr 6 18:45:41 2015 New Revision: 281162 URL: https://svnweb.freebsd.org/changeset/base/281162 Log: Properly calculate UMA Zones per cpu cache size. Avoid allocating an extra struct uma_cache since the struct uma_zone already has one. PR: 199169

svn commit: r281169 - head/sys/boot/efi/boot1

2015-04-06 Thread Andrew Turner
Author: andrew Date: Mon Apr 6 19:58:28 2015 New Revision: 281169 URL: https://svnweb.freebsd.org/changeset/base/281169 Log: Make global variabled only used in this file static. Modified: head/sys/boot/efi/boot1/boot1.c Modified: head/sys/boot/efi/boot1/boot1.c

svn commit: r281163 - head/usr.sbin/ctld

2015-04-06 Thread Alexander Motin
Author: mav Date: Mon Apr 6 18:56:02 2015 New Revision: 281163 URL: https://svnweb.freebsd.org/changeset/base/281163 Log: Make ctld to not exit on ECONNABORTED on accept(). That is not really an error for the main process. MFC after:1 week Sponsored by: iXsystems, Inc.

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

2015-04-06 Thread John Baldwin
Author: jhb Date: Mon Apr 6 20:40:01 2015 New Revision: 281170 URL: https://svnweb.freebsd.org/changeset/base/281170 Log: vfork() first appeared in 3BSD which pre-dates 2.9BSD. Verified via the copy of 3BSD on disc 1 of The CSRG Archives. PR: 198612 MFC after:1 week

svn commit: r281167 - head/usr.sbin/bsdinstall/scripts

2015-04-06 Thread Devin Teske
Author: dteske Date: Mon Apr 6 19:26:45 2015 New Revision: 281167 URL: https://svnweb.freebsd.org/changeset/base/281167 Log: Unbreak ZFS+GELI install option. Reported by: delphij Submitted by: delphij Pointy hat to:dteske (me) MFC after:3 days X-MFC-to: stable/10

svn commit: r281165 - head/sys/netinet6

2015-04-06 Thread Kristof Provost
Author: kp Date: Mon Apr 6 19:08:44 2015 New Revision: 281165 URL: https://svnweb.freebsd.org/changeset/base/281165 Log: Remove duplicate code We'll just fall into the same local delivery block under the 'if (m-m_flags M_FASTFWD_OURS)'. Suggested by: ae Differential Revision:

svn commit: r281166 - head/etc/rc.d

2015-04-06 Thread Josh Paetzel
Author: jpaetzel Date: Mon Apr 6 19:23:45 2015 New Revision: 281166 URL: https://svnweb.freebsd.org/changeset/base/281166 Log: Typo fix in comment MFC after:3 days Modified: head/etc/rc.d/pflog Modified: head/etc/rc.d/pflog

svn commit: r281172 - in head: sys/netinet6 sys/sys usr.bin/netstat

2015-04-06 Thread Gleb Smirnoff
Author: glebius Date: Mon Apr 6 22:12:18 2015 New Revision: 281172 URL: https://svnweb.freebsd.org/changeset/base/281172 Log: o Make net.inet6.ip6.mif6table return special API structure, that doesn't contain kernel pointers, and instead has interface index. Bump __FreeBSD_version for

svn commit: r281175 - head/usr.bin/lockf

2015-04-06 Thread Mark Johnston
Author: markj Date: Mon Apr 6 22:53:23 2015 New Revision: 281175 URL: https://svnweb.freebsd.org/changeset/base/281175 Log: lockf(1): add a reference to lockf(3). Submitted by: Conrad Meyer MFC after:1 week Modified: head/usr.bin/lockf/lockf.1 Modified:

svn commit: r281180 - head/sys/boot/forth

2015-04-06 Thread Devin Teske
Author: dteske Date: Mon Apr 6 23:37:04 2015 New Revision: 281180 URL: https://svnweb.freebsd.org/changeset/base/281180 Log: Eliminate literal escape sequences from *.rc Suggested by: alfred MFC after:3 days X-MFC-to: stable/10 X-MFC-with: r280976, r281179 Modified:

svn commit: r281171 - head/usr.sbin/acpi/acpiconf

2015-04-06 Thread Jung-uk Kim
Author: jkim Date: Mon Apr 6 21:51:55 2015 New Revision: 281171 URL: https://svnweb.freebsd.org/changeset/base/281171 Log: Tidy up battery status information. Remove a trailing white space. PR: 193671 Modified: head/usr.sbin/acpi/acpiconf/acpiconf.c Modified:

svn commit: r281176 - head/sys/boot/forth

2015-04-06 Thread Devin Teske
Author: dteske Date: Mon Apr 6 23:10:47 2015 New Revision: 281176 URL: https://svnweb.freebsd.org/changeset/base/281176 Log: Partially revert r280925: Back to previous mode-endings based on feedback MFC after:3 days X-MFC-with: r280925 Reported by: lattera Modified:

svn commit: r281179 - head/sys/boot/forth

2015-04-06 Thread Devin Teske
Author: dteske Date: Mon Apr 6 23:22:54 2015 New Revision: 281179 URL: https://svnweb.freebsd.org/changeset/base/281179 Log: Partially revert r280976: Back to previous mode-endings based on feedback Reported by: lattera MFC after:3 days X-MFC-to: stable/10 X-MFC-with:

svn commit: r281177 - head/sys/boot/forth

2015-04-06 Thread Devin Teske
Author: dteske Date: Mon Apr 6 23:13:16 2015 New Revision: 281177 URL: https://svnweb.freebsd.org/changeset/base/281177 Log: Partially revert r280974: Back to previous mode-endings based on feedback MFC after:3 days X-MFC-to: stable/10 X-MFC-with: r290974 Reported by:

Re: svn commit: r281164 - head/sys/netpfil/pf

2015-04-06 Thread Kristof Provost
On 06 Apr 2015, at 22:50, Richard Tector richardtec...@thekeelecentre.com wrote: I was just wondering how this affects the case where we might have if-bound rules? Really basic example: pass quick on $outside_if inet6 proto udp from any to $myhost block drop quick on $inside_if

svn commit: r281178 - head/sys/boot/forth

2015-04-06 Thread Devin Teske
Author: dteske Date: Mon Apr 6 23:16:03 2015 New Revision: 281178 URL: https://svnweb.freebsd.org/changeset/base/281178 Log: Partially revert r280975: Back to previous mode-endings based on feedback Reported by: lattera MFC after:3 days X-MFC-to: stable/10 X-MFC-with:

svn commit: r281183 - in head/sys/dev/usb: . net

2015-04-06 Thread Kevin Lo
Author: kevlo Date: Tue Apr 7 01:47:36 2015 New Revision: 281183 URL: https://svnweb.freebsd.org/changeset/base/281183 Log: Add Lenovo ThinkPad OneLink GigaLAN. PR: 199184 Submitted by: Robin Karlsson Modified: head/sys/dev/usb/net/if_axge.c head/sys/dev/usb/usbdevs Modified:

Re: svn commit: r281178 - head/sys/boot/forth

2015-04-06 Thread Devin Teske
On Apr 6, 2015, at 6:34 PM, Alexey Dokuchaev da...@freebsd.org wrote: On Mon, Apr 06, 2015 at 11:16:04PM +, Devin Teske wrote: New Revision: 281178 URL: https://svnweb.freebsd.org/changeset/base/281178 Log: Partially revert r280975: Back to previous mode-endings based on feedback

svn commit: r281182 - head/usr.bin/sort

2015-04-06 Thread Pedro F. Giffuni
Author: pfg Date: Tue Apr 7 01:17:49 2015 New Revision: 281182 URL: https://svnweb.freebsd.org/changeset/base/281182 Log: Remove custom getdelim(3) and fix a small memory leak. Originally from Andre Smagin. Obtained from:OpenBSD MFC after:1 week Modified:

svn commit: r281181 - head/usr.bin/sort

2015-04-06 Thread Pedro F. Giffuni
Author: pfg Date: Tue Apr 7 01:17:29 2015 New Revision: 281181 URL: https://svnweb.freebsd.org/changeset/base/281181 Log: sort(1): Cleanups and a small memory leak. Remove useless check for leading blanks in the month name. The code didn't adjust len after stripping blanks so even if a

Re: svn commit: r281178 - head/sys/boot/forth

2015-04-06 Thread Alexey Dokuchaev
On Mon, Apr 06, 2015 at 11:16:04PM +, Devin Teske wrote: New Revision: 281178 URL: https://svnweb.freebsd.org/changeset/base/281178 Log: Partially revert r280975: Back to previous mode-endings based on feedback Reported by:lattera $ finger latt...@freebsd.org

svn commit: r281184 - head/sys/vm

2015-04-06 Thread Jeff Roberson
Author: jeff Date: Tue Apr 7 02:18:52 2015 New Revision: 281184 URL: https://svnweb.freebsd.org/changeset/base/281184 Log: - Simplify vm_pageout_scan() by introducing a new vm_pageout_clean() function that does the locking and validation associated with cleaning a page. This moves

Re: svn commit: r281181 - head/usr.bin/sort

2015-04-06 Thread Eitan Adler
On 6 April 2015 at 21:17, Pedro F. Giffuni p...@freebsd.org wrote: Author: pfg Date: Tue Apr 7 01:17:29 2015 New Revision: 281181 URL: https://svnweb.freebsd.org/changeset/base/281181 Log: sort(1): Cleanups and a small memory leak. Remove useless check for leading blanks in the month

svn commit: r281188 - head/usr.bin/netstat

2015-04-06 Thread Gleb Smirnoff
Author: glebius Date: Tue Apr 7 05:50:45 2015 New Revision: 281188 URL: https://svnweb.freebsd.org/changeset/base/281188 Log: Like it was already done for 'netstat -i', drop the kvm(3) support in 'netstat -r'. The netstat/route.c was the last abuser of struct ifnet and struct rtentry

Re: svn commit: r281019 - head/sys/dev/dwc

2015-04-06 Thread Sebastian Huber
Hello Gleb, it is quite hard for me to work on this since I don't use FreeBSD directly. I work with a port of the FreeBSD 9.3 network stack to RTEMS real-time operating system: https://git.rtems.org/rtems-libbsd On 03/04/15 14:19, Gleb Smirnoff wrote: Ruslan and Sebastian, On Fri, Apr

Re: svn commit: r281129 - head/etc

2015-04-06 Thread Garrett Cooper
On Apr 5, 2015, at 23:56, Slawa Olhovchenkov s...@zxy.spb.ru wrote: On Mon, Apr 06, 2015 at 01:32:27AM +, Dmitry Marakasov wrote: Author: amdmi3 (ports committer) Date: Mon Apr 6 01:32:26 2015 New Revision: 281129 URL: https://svnweb.freebsd.org/changeset/base/281129 Log:

Re: svn commit: r281129 - head/etc

2015-04-06 Thread Slawa Olhovchenkov
On Mon, Apr 06, 2015 at 11:49:37AM +0300, Gleb Smirnoff wrote: On Mon, Apr 06, 2015 at 11:41:41AM +0300, Slawa Olhovchenkov wrote: S S On Mon, Apr 06, 2015 at 01:32:27AM +, Dmitry Marakasov wrote: S S S S Author: amdmi3 (ports committer) S S Date: Mon Apr 6 01:32:26 2015 S

Re: svn commit: r281129 - head/etc

2015-04-06 Thread Gleb Smirnoff
On Mon, Apr 06, 2015 at 11:41:41AM +0300, Slawa Olhovchenkov wrote: S S On Mon, Apr 06, 2015 at 01:32:27AM +, Dmitry Marakasov wrote: S S S S Author: amdmi3 (ports committer) S S Date: Mon Apr 6 01:32:26 2015 S S New Revision: 281129 S S URL:

svn commit: r281142 - head/sys/sys

2015-04-06 Thread Gleb Smirnoff
Author: glebius Date: Mon Apr 6 09:15:18 2015 New Revision: 281142 URL: https://svnweb.freebsd.org/changeset/base/281142 Log: Convert printfs in m_ext allocator to KASSERTs. Discussed with: rwatson Sponsored by: Nginx, Inc. Modified: head/sys/sys/mbuf.h Modified:

Re: svn commit: r281129 - head/etc

2015-04-06 Thread John-Mark Gurney
Dmitry Marakasov wrote this message on Mon, Apr 06, 2015 at 01:32 +: Author: amdmi3 (ports committer) Date: Mon Apr 6 01:32:26 2015 New Revision: 281129 URL: https://svnweb.freebsd.org/changeset/base/281129 Log: Switch russian login class to UTF-8 Reviewed by:glebius

Re: svn commit: r281129 - head/etc

2015-04-06 Thread Gleb Smirnoff
On Mon, Apr 06, 2015 at 10:16:40AM +0300, Slawa Olhovchenkov wrote: S On Mon, Apr 06, 2015 at 12:10:40AM -0700, Garrett Cooper wrote: S S S On Apr 5, 2015, at 23:56, Slawa Olhovchenkov s...@zxy.spb.ru wrote: S S On Mon, Apr 06, 2015 at 01:32:27AM +, Dmitry Marakasov wrote: S S

Re: svn commit: r281129 - head/etc

2015-04-06 Thread Slawa Olhovchenkov
On Mon, Apr 06, 2015 at 12:10:40AM -0700, Garrett Cooper wrote: On Apr 5, 2015, at 23:56, Slawa Olhovchenkov s...@zxy.spb.ru wrote: On Mon, Apr 06, 2015 at 01:32:27AM +, Dmitry Marakasov wrote: Author: amdmi3 (ports committer) Date: Mon Apr 6 01:32:26 2015 New Revision:

svn commit: r281141 - head/etc

2015-04-06 Thread Andrew Turner
Author: andrew Date: Mon Apr 6 08:37:40 2015 New Revision: 281141 URL: https://svnweb.freebsd.org/changeset/base/281141 Log: Respect DESTDIR when creating the directory structure when NO_ROOT is set. Reviewed by: bapt MFC after:1 Week Modified: head/etc/Makefile Modified:

Re: svn commit: r281129 - head/etc

2015-04-06 Thread Slawa Olhovchenkov
On Mon, Apr 06, 2015 at 11:25:53AM +0300, Gleb Smirnoff wrote: On Mon, Apr 06, 2015 at 10:16:40AM +0300, Slawa Olhovchenkov wrote: S On Mon, Apr 06, 2015 at 12:10:40AM -0700, Garrett Cooper wrote: S S S On Apr 5, 2015, at 23:56, Slawa Olhovchenkov s...@zxy.spb.ru wrote: S S On

svn commit: r281136 - head/sys/dev/ichsmb

2015-04-06 Thread Rui Paulo
Author: rpaulo Date: Mon Apr 6 06:02:58 2015 New Revision: 281136 URL: https://svnweb.freebsd.org/changeset/base/281136 Log: ichsmb: add a device id for the Wildcat Point-LP. MFC after:1 week Modified: head/sys/dev/ichsmb/ichsmb_pci.c Modified: head/sys/dev/ichsmb/ichsmb_pci.c

Re: svn commit: r281129 - head/etc

2015-04-06 Thread Baptiste Daroussin
On Mon, Apr 06, 2015 at 11:49:37AM +0300, Gleb Smirnoff wrote: On Mon, Apr 06, 2015 at 11:41:41AM +0300, Slawa Olhovchenkov wrote: S S On Mon, Apr 06, 2015 at 01:32:27AM +, Dmitry Marakasov wrote: S S S S Author: amdmi3 (ports committer) S S Date: Mon Apr 6 01:32:26 2015 S

svn commit: r281138 - in head/sys/boot: efi/loader i386/libi386 i386/loader

2015-04-06 Thread Rui Paulo
Author: rpaulo Date: Mon Apr 6 06:55:47 2015 New Revision: 281138 URL: https://svnweb.freebsd.org/changeset/base/281138 Log: SMBIOS support for EFI. MFC after:1 week Added: head/sys/boot/i386/libi386/smbios.h (contents, props changed) Modified: head/sys/boot/efi/loader/Makefile

Re: svn commit: r281129 - head/etc

2015-04-06 Thread Slawa Olhovchenkov
On Mon, Apr 06, 2015 at 01:32:27AM +, Dmitry Marakasov wrote: Author: amdmi3 (ports committer) Date: Mon Apr 6 01:32:26 2015 New Revision: 281129 URL: https://svnweb.freebsd.org/changeset/base/281129 Log: Switch russian login class to UTF-8 As discursed before this is may cause

svn commit: r281143 - in head: contrib/ipfilter/ipsend contrib/ipfilter/lib contrib/ipfilter/tools lib/libc/net sbin/ifconfig tools/tools/ath/athratestats tools/tools/cxgbtool tools/tools/iwn/iwnst...

2015-04-06 Thread Gleb Smirnoff
Author: glebius Date: Mon Apr 6 09:42:23 2015 New Revision: 281143 URL: https://svnweb.freebsd.org/changeset/base/281143 Log: Stop including if_var.h from userland. Sponsored by: Nginx, Inc. Modified: head/contrib/ipfilter/ipsend/44arp.c head/contrib/ipfilter/ipsend/ip.c

svn commit: r281146 - head/usr.sbin/bluetooth/bthidd

2015-04-06 Thread Raphael Kubo da Costa
Author: rakuco (ports committer) Date: Mon Apr 6 12:36:24 2015 New Revision: 281146 URL: https://svnweb.freebsd.org/changeset/base/281146 Log: bthidd: Remove unused macros from hid.c. ASIZE() was never used, and min() stopped being used in r207812. Differential Revision:

svn commit: r281147 - head/lib/libelftc

2015-04-06 Thread Ed Maste
Author: emaste Date: Mon Apr 6 13:55:33 2015 New Revision: 281147 URL: https://svnweb.freebsd.org/changeset/base/281147 Log: Update reported elftoolchain version to 3179 Missed in r280932 Modified: head/lib/libelftc/elftc_version.c Modified: head/lib/libelftc/elftc_version.c

svn commit: r281145 - head/sys/amd64/vmm

2015-04-06 Thread Tycho Nightingale
Author: tychon Date: Mon Apr 6 12:22:41 2015 New Revision: 281145 URL: https://svnweb.freebsd.org/changeset/base/281145 Log: Enhance the support for Group 1 Extended opcodes: * Implemement the 0x81 and 0x83 CMP instructions. * Implemement the 0x83 AND instruction. * Implemement

svn commit: r281152 - head/sys/netinet

2015-04-06 Thread Gleb Smirnoff
Author: glebius Date: Mon Apr 6 15:31:19 2015 New Revision: 281152 URL: https://svnweb.freebsd.org/changeset/base/281152 Log: Add sleepable lock to protect at least against two parallel SIOCSVHs. Sponsored by: Nginx, Inc. Modified: head/sys/netinet/ip_carp.c Modified:

svn commit: r281156 - in head/sys: arm/include boot/efi boot/efi/boot1 boot/efi/include/arm boot/efi/loader boot/efi/loader/arch/arm

2015-04-06 Thread Andrew Turner
Author: andrew Date: Mon Apr 6 15:50:20 2015 New Revision: 281156 URL: https://svnweb.freebsd.org/changeset/base/281156 Log: Add support to the efi boot1 and loader for 32-bit ARM. This will be used by the future qemu virt support. Differential Revision:

svn commit: r281158 - head/sys/powerpc/powerpc

2015-04-06 Thread Justin Hibbits
Author: jhibbits Date: Mon Apr 6 16:29:45 2015 New Revision: 281158 URL: https://svnweb.freebsd.org/changeset/base/281158 Log: Fix the index for FAULTBUF_R13, missed during merge/cleanup. Modified: head/sys/powerpc/powerpc/trap.c Modified: head/sys/powerpc/powerpc/trap.c

svn commit: r281157 - head/sys/arm64/include

2015-04-06 Thread Andrew Turner
Author: andrew Date: Mon Apr 6 16:27:22 2015 New Revision: 281157 URL: https://svnweb.freebsd.org/changeset/base/281157 Log: Split out the _acq and _rel functions. These were the same, but there is no need for them to be this strong, we only need to provide one or the other. While