svn commit: r264963 - head/sys/netpfil/ipfw

2014-04-26 Thread Mikolaj Golub
Author: trociny Date: Sat Apr 26 08:05:16 2014 New Revision: 264963 URL: http://svnweb.freebsd.org/changeset/base/264963 Log: Define startup order the same way as it is in dummynet. Modified: head/sys/netpfil/ipfw/ip_fw_nat.c Modified: head/sys/netpfil/ipfw/ip_fw_nat.c ==

svn commit: r264964 - head/lib/libcrypt

2014-04-26 Thread Dag-Erling Smørgrav
Author: des Date: Sat Apr 26 11:50:25 2014 New Revision: 264964 URL: http://svnweb.freebsd.org/changeset/base/264964 Log: r261913 broke DES passwords, because the only way they could work, since they don't have an easily recognizable signature, was if they were the default. This commit rewr

svn commit: r264965 - head/tools/regression/vfs

2014-04-26 Thread Dag-Erling Smørgrav
Author: des Date: Sat Apr 26 12:16:40 2014 New Revision: 264965 URL: http://svnweb.freebsd.org/changeset/base/264965 Log: Note that the bug was fixed, and when. Modified: head/tools/regression/vfs/trailing_slash.t Modified: head/tools/regression/vfs/trailing_slash.t =

svn commit: r264966 - head/sys/vm

2014-04-26 Thread Dag-Erling Smørgrav
Author: des Date: Sat Apr 26 12:18:17 2014 New Revision: 264966 URL: http://svnweb.freebsd.org/changeset/base/264966 Log: Add sysctl OIDs showing the actual size and capacity of the swap zone. MFC after:1 week Modified: head/sys/vm/swap_pager.c Modified: head/sys/vm/swap_pager.c ===

svn commit: r264968 - head/bin/date

2014-04-26 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Sat Apr 26 13:05:56 2014 New Revision: 264968 URL: http://svnweb.freebsd.org/changeset/base/264968 Log: date(1): Add "-R" flag to use RFC 2822 date and time output format As stated in the man page, this is equivalent to use "%a, %d %b %Y %T %z" as the output format

svn commit: r264969 - head/sys/dev/random

2014-04-26 Thread Mark Murray
Author: markm Date: Sat Apr 26 13:21:28 2014 New Revision: 264969 URL: http://svnweb.freebsd.org/changeset/base/264969 Log: Correctly set the sysctl format to Alphanumeric, rather than letting it default. Approved by: security-officer(des) Modified: head/sys/dev/random/random_adaptors.c

svn commit: r264970 - head/bin/date

2014-04-26 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Sat Apr 26 13:53:04 2014 New Revision: 264970 URL: http://svnweb.freebsd.org/changeset/base/264970 Log: date(1): Forgot to update manpage date in r264968 MFC after:1 week MFC with: 264968 Modified: head/bin/date/date.1 Modified: head/bin/date/date.1

svn commit: r264972 - head/sys/dev/usb/wlan

2014-04-26 Thread Kevin Lo
Author: kevlo Date: Sat Apr 26 14:39:58 2014 New Revision: 264972 URL: http://svnweb.freebsd.org/changeset/base/264972 Log: Initialize rssi variable. Modified: head/sys/dev/usb/wlan/if_urtwn.c Modified: head/sys/dev/usb/wlan/if_urtwn.c

svn commit: r264973 - in head/sys: net netinet6

2014-04-26 Thread Alexander V. Chernikov
Author: melifaro Date: Sat Apr 26 14:52:03 2014 New Revision: 264973 URL: http://svnweb.freebsd.org/changeset/base/264973 Log: Unify sa_equal() macro usage. MFC after:2 weeks Modified: head/sys/net/if.c head/sys/net/route.c head/sys/net/route.h head/sys/net/rtsock.c head/sys/

Re: svn commit: r264973 - in head/sys: net netinet6

2014-04-26 Thread Ian Lepore
On Sat, 2014-04-26 at 14:52 +, Alexander V. Chernikov wrote: > Author: melifaro > Date: Sat Apr 26 14:52:03 2014 > New Revision: 264973 > URL: http://svnweb.freebsd.org/changeset/base/264973 > > Log: > Unify sa_equal() macro usage. > > MFC after: 2 weeks > > Modified: > head/sys/net

svn commit: r264974 - head/usr.sbin/ifmcstat

2014-04-26 Thread Alexander V. Chernikov
Author: melifaro Date: Sat Apr 26 16:12:39 2014 New Revision: 264974 URL: http://svnweb.freebsd.org/changeset/base/264974 Log: Remove sa_equal() definition since it is already defined in net/route.h. Noted by: ian MFC after:2 weeks Modified: head/usr.sbin/ifmcstat/ifmcstat.c M

Re: svn commit: r264973 - in head/sys: net netinet6

2014-04-26 Thread Alexander V. Chernikov
On 26.04.2014 20:06, Ian Lepore wrote: On Sat, 2014-04-26 at 14:52 +, Alexander V. Chernikov wrote: Author: melifaro Date: Sat Apr 26 14:52:03 2014 New Revision: 264973 URL: http://svnweb.freebsd.org/changeset/base/264973 Log: Unify sa_equal() macro usage. MFC after: 2 weeks Mod

svn commit: r264975 - head/sys/boot/amd64/boot1.efi

2014-04-26 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Apr 26 16:34:22 2014 New Revision: 264975 URL: http://svnweb.freebsd.org/changeset/base/264975 Log: Add generation of an EFI filesystem to hold boot1.efi. This is a near-exact copy of the code from boot1.chrp again. The resulting image is installed to /boot/bo

svn commit: r264976 - head/sys/netinet6

2014-04-26 Thread Alexander V. Chernikov
Author: melifaro Date: Sat Apr 26 16:46:33 2014 New Revision: 264976 URL: http://svnweb.freebsd.org/changeset/base/264976 Log: Use "hash" value in rtalloc_mpath_fib() instead of RTF_ANNOUNCE flag. Hashing method is the same as in in6_src.c. (Probably we need better one). MFC after:2 w

svn commit: r264977 - in head/sys: arm/freescale/imx dev/usb/controller

2014-04-26 Thread Ian Lepore
Author: ian Date: Sat Apr 26 16:48:09 2014 New Revision: 264977 URL: http://svnweb.freebsd.org/changeset/base/264977 Log: Stop calling imx51_ccm_foo() clock functions from imx6 code. Instead define a few imx_ccm_foo() functions that are implemented by the imx51 or imx6 ccm code. Of course,

svn commit: r264978 - head/usr.sbin/bsdinstall/partedit

2014-04-26 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Apr 26 16:55:38 2014 New Revision: 264978 URL: http://svnweb.freebsd.org/changeset/base/264978 Log: Add EFI support to the installer. This requires that the kernel provide a sysctl to determine what firmware is in use. This sysctl does not exist yet, so the follo

svn commit: r264979 - head

2014-04-26 Thread Warner Losh
Author: imp Date: Sat Apr 26 16:58:35 2014 New Revision: 264979 URL: http://svnweb.freebsd.org/changeset/base/264979 Log: make_dtb.sh is designed to be used in a kernel build environment where MACHINE is defined to the target's value, not the host's value. However, in Makefile.inc1, it is st

svn commit: r264980 - head/sys/boot/amd64/boot1.efi

2014-04-26 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Apr 26 17:51:41 2014 New Revision: 264980 URL: http://svnweb.freebsd.org/changeset/base/264980 Log: Apparently this is supposed to be FAT32, not FAT12. Modified: head/sys/boot/amd64/boot1.efi/Makefile.fat head/sys/boot/amd64/boot1.efi/fat.tmpl.bz2.uu head/sys/

svn commit: r264981 - head/sys/dev/uart

2014-04-26 Thread Ian Lepore
Author: ian Date: Sat Apr 26 17:56:39 2014 New Revision: 264981 URL: http://svnweb.freebsd.org/changeset/base/264981 Log: The freescale imx uart driver works for the whole i.MX family, so rename the header file to not have "5xx" in the name. Added: head/sys/dev/uart/uart_dev_imx.h - co

svn commit: r264982 - head/sys/dev/usb/wlan

2014-04-26 Thread Andreas Tobler
Author: andreast Date: Sat Apr 26 19:30:04 2014 New Revision: 264982 URL: http://svnweb.freebsd.org/changeset/base/264982 Log: Fix gcc build, initialize off variable. Modified: head/sys/dev/usb/wlan/if_urtwn.c Modified: head/sys/dev/usb/wlan/if_urtwn.c ===

svn commit: r264983 - head/sys/dev/uart

2014-04-26 Thread Ian Lepore
Author: ian Date: Sat Apr 26 20:03:04 2014 New Revision: 264983 URL: http://svnweb.freebsd.org/changeset/base/264983 Log: Flesh out imx_uart_init() so that we're not relying on u-boot to init the hardware (meaning uarts other than the console will work). Modified: head/sys/dev/uart/uart_dev

svn commit: r264985 - head/sys/dev/uart

2014-04-26 Thread Ian Lepore
Author: ian Date: Sat Apr 26 20:27:58 2014 New Revision: 264985 URL: http://svnweb.freebsd.org/changeset/base/264985 Log: Reword a comment block a bit; no functional changes. Modified: head/sys/dev/uart/uart_dev_imx.c Modified: head/sys/dev/uart/uart_dev_imx.c ===

svn commit: r264984 - in head/sys: amd64/amd64 arm/arm i386/i386 i386/xen ia64/ia64 kern mips/mips powerpc/powerpc sparc64/sparc64 sys

2014-04-26 Thread Scott Long
Author: scottl Date: Sat Apr 26 20:27:54 2014 New Revision: 264984 URL: http://svnweb.freebsd.org/changeset/base/264984 Log: Retire smp_active. It was racey and caused demonstrated problems with the cpufreq code. Replace its use with smp_started. There's at least one userland tool that st

svn commit: r264986 - head/sys/net

2014-04-26 Thread Alexander V. Chernikov
Author: melifaro Date: Sat Apr 26 21:03:41 2014 New Revision: 264986 URL: http://svnweb.freebsd.org/changeset/base/264986 Log: Decouple RTM_CHANGE from RTM_GET handling in rtsock.c:route_output(). RTM_CHANGE is now handled inside route.c:rtrequest1_fib() as it should be. Note change change h

svn commit: r264987 - head/sys/net

2014-04-26 Thread Alexander V. Chernikov
Author: melifaro Date: Sat Apr 26 22:32:04 2014 New Revision: 264987 URL: http://svnweb.freebsd.org/changeset/base/264987 Log: Determine fibnum once in the beginning of route_output(). MFC after:1 month Modified: head/sys/net/rtsock.c Modified: head/sys/net/rtsock.c

svn commit: r264988 - head/sys/amd64/vmm/intel

2014-04-26 Thread Neel Natu
Author: neel Date: Sat Apr 26 22:37:56 2014 New Revision: 264988 URL: http://svnweb.freebsd.org/changeset/base/264988 Log: A VMCS is always inactive when it exits the vmx_run() loop. Remove redundant code and the misleading comment that suggest otherwise. Reviewed by: grehan@ Modified:

svn commit: r264989 - head/sys/net

2014-04-26 Thread Alexander V. Chernikov
Author: melifaro Date: Sat Apr 26 22:42:21 2014 New Revision: 264989 URL: http://svnweb.freebsd.org/changeset/base/264989 Log: Remove useless `register' declarations. MFC after:1 month Modified: head/sys/net/route.c Modified: head/sys/net/route.c

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

2014-04-26 Thread Ian Lepore
Author: ian Date: Sat Apr 26 23:09:01 2014 New Revision: 264990 URL: http://svnweb.freebsd.org/changeset/base/264990 Log: Call cpu_icache_sync_range() rather than sync_all since we know the range and flushing the entire icache is needlessly expensive. Modified: head/sys/arm/include/kdb.h M

Re: svn commit: r264987 - head/sys/net

2014-04-26 Thread Ian Lepore
On Sat, 2014-04-26 at 22:32 +, Alexander V. Chernikov wrote: > Author: melifaro > Date: Sat Apr 26 22:32:04 2014 > New Revision: 264987 > URL: http://svnweb.freebsd.org/changeset/base/264987 > > Log: > Determine fibnum once in the beginning of route_output(). > > MFC after: 1 month >

svn commit: r264991 - head/sys/net80211

2014-04-26 Thread Ian Lepore
Author: ian Date: Sat Apr 26 23:22:49 2014 New Revision: 264991 URL: http://svnweb.freebsd.org/changeset/base/264991 Log: Use logical rather than bitwise OR in if() expression. Modified: head/sys/net80211/ieee80211_ioctl.c Modified: head/sys/net80211/ieee80211_ioctl.c ===

Re: svn commit: r264991 - head/sys/net80211

2014-04-26 Thread Adrian Chadd
oops! -a On 26 April 2014 16:22, Ian Lepore wrote: > Author: ian > Date: Sat Apr 26 23:22:49 2014 > New Revision: 264991 > URL: http://svnweb.freebsd.org/changeset/base/264991 > > Log: > Use logical rather than bitwise OR in if() expression. > > Modified: > head/sys/net80211/ieee80211_ioct

svn commit: r264992 - head/release/amd64

2014-04-26 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Apr 27 00:40:18 2014 New Revision: 264992 URL: http://svnweb.freebsd.org/changeset/base/264992 Log: Make a dual-boot BIOS/UEFI memstick image. Testing required before this gets renamed make-memstick.sh. Modified: head/release/amd64/make-uefi-memstick.sh Modifie

svn commit: r264993 - head/sys/boot/amd64/boot1.efi

2014-04-26 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Apr 27 00:45:08 2014 New Revision: 264993 URL: http://svnweb.freebsd.org/changeset/base/264993 Log: Revert to FAT12. This file system is apparently too small for FAT32, even if the old (pre r264889) newfs_msdos allowed it. And FAT12 seems to work perfectly well.

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

2014-04-26 Thread Ian Lepore
Author: ian Date: Sun Apr 27 00:46:01 2014 New Revision: 264994 URL: http://svnweb.freebsd.org/changeset/base/264994 Log: Provide a proper armv7 implementation of icache_sync_all rather than using armv7_idcache_wbinv_all, because wbinv_all doesn't broadcast the operation to other cores. In

svn commit: r264995 - head/release/amd64

2014-04-26 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Apr 27 01:06:02 2014 New Revision: 264995 URL: http://svnweb.freebsd.org/changeset/base/264995 Log: Add script to setup bootable CD ISOs for both BIOS and EFI systems. Tested and working on QEMU. Actually using this script as the regular image generator, like wit

svn commit: r264996 - in stable/10: . bin/pkill bin/pkill/tests etc/mtree sbin sbin/dhclient sbin/dhclient/tests sbin/growfs sbin/growfs/tests sbin/mdconfig sbin/mdconfig/tests sbin/tests tools/bui...

2014-04-26 Thread Julio Merino
Author: jmmv Date: Sun Apr 27 01:15:10 2014 New Revision: 264996 URL: http://svnweb.freebsd.org/changeset/base/264996 Log: MFC various moves of tools/regressions/ tests to the new infrastructure. - r263220 Migrate tools/regression/sbin/ to the new tests layout. - r263222 Add Makefile miss

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

2014-04-26 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Apr 27 02:19:53 2014 New Revision: 264997 URL: http://svnweb.freebsd.org/changeset/base/264997 Log: Disable vga if EFI framebuffer present. vt(9) should handle this internally based on efifb's higher priority, but it doesn't, and this at least lets us build a ker

svn commit: r264998 - head/sys/net

2014-04-26 Thread Alexander V. Chernikov
Author: melifaro Date: Sun Apr 27 02:20:09 2014 New Revision: 264998 URL: http://svnweb.freebsd.org/changeset/base/264998 Log: Move up fibnum to ensure it is always defined. Found by: ian MFC with: r264987 Modified: head/sys/net/rtsock.c Modified: head/sys/net/rtsock.c ===

svn commit: r264999 - head/sys/dev/vt

2014-04-26 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Apr 27 02:20:51 2014 New Revision: 264999 URL: http://svnweb.freebsd.org/changeset/base/264999 Log: Increase the maximum framebuffer size to more reasonable values reflecting the high-resolution boot consoles present on Open Firmware and EFI systems. Modified: h

svn commit: r265000 - head/sys/amd64/conf

2014-04-26 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Apr 27 02:22:21 2014 New Revision: 265000 URL: http://svnweb.freebsd.org/changeset/base/265000 Log: Add vt_efifb to VT kernel configuration now that that actually works. This kernel will now boot on both BIOS and EFI systems without modification. Equivalent funct

Re: svn commit: r264987 - head/sys/net

2014-04-26 Thread Alexander V. Chernikov
On 27.04.2014 03:16, Ian Lepore wrote: > On Sat, 2014-04-26 at 22:32 +, Alexander V. Chernikov wrote: >> Author: melifaro >> Date: Sat Apr 26 22:32:04 2014 >> New Revision: 264987 >> URL: http://svnweb.freebsd.org/changeset/base/264987 >> >> Log: >> Determine fibnum once in the beginning of r

svn commit: r265001 - head/sys/amd64/conf

2014-04-26 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Apr 27 02:28:32 2014 New Revision: 265001 URL: http://svnweb.freebsd.org/changeset/base/265001 Log: Don't need this now. VT does the same thing, but better. Submitted by: gjb Deleted: head/sys/amd64/conf/UEFI ___ sv

Re: svn commit: r264987 - head/sys/net

2014-04-26 Thread Ian Lepore
On Sun, 2014-04-27 at 06:23 +0400, Alexander V. Chernikov wrote: > On 27.04.2014 03:16, Ian Lepore wrote: > > On Sat, 2014-04-26 at 22:32 +, Alexander V. Chernikov wrote: > >> Author: melifaro > >> Date: Sat Apr 26 22:32:04 2014 > >> New Revision: 264987 > >> URL: http://svnweb.freebsd.org/chan

svn commit: r265002 - head/sys/vm

2014-04-26 Thread Konstantin Belousov
Author: kib Date: Sun Apr 27 05:19:01 2014 New Revision: 265002 URL: http://svnweb.freebsd.org/changeset/base/265002 Log: When vm_fault_copy_entry() is called from vm_map_protect() for a wired entry and performs the upgrade of the entry permissions from read-only to read-write, we must allow

svn commit: r265003 - head/secure/usr.sbin/sshd

2014-04-26 Thread Konstantin Belousov
Author: kib Date: Sun Apr 27 05:28:14 2014 New Revision: 265003 URL: http://svnweb.freebsd.org/changeset/base/265003 Log: Fix order of libthr and libc in the global dso list for sshd, by explicitely linking main binary with -lpthread. Before, libthr appeared in the list due to dependency of

svn commit: r265004 - head/sys/amd64/amd64

2014-04-26 Thread Konstantin Belousov
Author: kib Date: Sun Apr 27 05:37:01 2014 New Revision: 265004 URL: http://svnweb.freebsd.org/changeset/base/265004 Log: Same as it was done in r263878 for invlrng_handler(), fix order of checks for special pcid values in invlpg_pcid_handler(). Forst check for special values, and only then

Re: svn commit: r265000 - head/sys/amd64/conf

2014-04-26 Thread Steve Kargl
> Equivalent functionality in GENERIC requires making vt(9) > the default console driver, which is probably appropriate > at this point. No. It is not appropriate! Please stop referring to nonexistent man pages in your commit mesasges. There is NO vt(9) manpage. -- Steve