Re: svn commit: r277737 - in head: etc/pam.d tools/build/mk

2015-01-26 Thread Dag-Erling Smørgrav
Garrett Cooper n...@freebsd.org writes: Log: Honor MK_ACCT with etc/pam.d/atrun The correct idiom would be Index: etc/pam.d/Makefile === --- etc/pam.d/Makefile (revision 277747) +++ etc/pam.d/Makefile (working copy) @@ -5,6

Re: svn commit: r277710 - head/sys/dev/pci

2015-01-26 Thread Alexey Dokuchaev
On Sun, Jan 25, 2015 at 07:53:10PM +, John Baldwin wrote: New Revision: 277710 URL: https://svnweb.freebsd.org/changeset/base/277710 Log: Pass a valid Dx state variable to PCIB_POWER_FOR_SLEEP() in pcib_resume() instead of NULL. Can this be possibly related to this message I got

svn commit: r277758 - head/sys/cam/scsi

2015-01-26 Thread Alexander Motin
Author: mav Date: Mon Jan 26 15:47:08 2015 New Revision: 277758 URL: https://svnweb.freebsd.org/changeset/base/277758 Log: Fix several potential overflows in UNMAP code. MFC after:1 week Modified: head/sys/cam/scsi/scsi_da.c Modified: head/sys/cam/scsi/scsi_da.c

svn commit: r277763 - head/sys/dev/cxgbe/tom

2015-01-26 Thread John Baldwin
Author: jhb Date: Mon Jan 26 16:32:41 2015 New Revision: 277763 URL: https://svnweb.freebsd.org/changeset/base/277763 Log: Lock the socket buffer before jumping to the 'out' label if sblock() fails in t4_soreceive_ddp(). Modified: head/sys/dev/cxgbe/tom/t4_ddp.c Modified:

svn commit: r277761 - head/sys/dev/cxgbe/tom

2015-01-26 Thread John Baldwin
Author: jhb Date: Mon Jan 26 16:29:14 2015 New Revision: 277761 URL: https://svnweb.freebsd.org/changeset/base/277761 Log: - Update a disabled KASSERT() to use sbused() instead of accessing the no-longer existant sb_cc sockbuf member. - Use sbavail() instead of sbused() in

Re: svn commit: r277710 - head/sys/dev/pci

2015-01-26 Thread John Baldwin
On 1/26/15 9:19 AM, Alexey Dokuchaev wrote: On Sun, Jan 25, 2015 at 07:53:10PM +, John Baldwin wrote: New Revision: 277710 URL: https://svnweb.freebsd.org/changeset/base/277710 Log: Pass a valid Dx state variable to PCIB_POWER_FOR_SLEEP() in pcib_resume() instead of NULL. Can

svn commit: r277759 - in head/sys: dev/cxgbe kern

2015-01-26 Thread John Baldwin
Author: jhb Date: Mon Jan 26 16:26:28 2015 New Revision: 277759 URL: https://svnweb.freebsd.org/changeset/base/277759 Log: Fix a couple of panics when detaching from a cxgbe/cxl interface that was never brought up: - Allow NULL to be passed to sglist_free(). - Don't try to stop an

svn commit: r277769 - head/sys/modules/iscsi

2015-01-26 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Jan 26 19:31:14 2015 New Revision: 277769 URL: https://svnweb.freebsd.org/changeset/base/277769 Log: Remove cruft; ICL_RDMA was never actually working, and will be redone in a completely different manner. MFC after:1 month Sponsored by: The FreeBSD

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

2015-01-26 Thread Alfred Perlstein
Never mind, apologies, thought this was i386+amd64. I'm going to guess anything emulating amd64 has pci NICs in it. :) On Jan 26, 2015, at 9:21 AM, Alfred Perlstein wrote: Don't have a strong opinion on this because I'm not in the know lately, but was wondering: 1) if we wanted to keep

svn commit: r277764 - in head/usr.sbin/pw: . tests

2015-01-26 Thread Baptiste Daroussin
Author: bapt Date: Mon Jan 26 16:50:42 2015 New Revision: 277764 URL: https://svnweb.freebsd.org/changeset/base/277764 Log: Revert r277652 uid and gid are never and should never be negative. The pw(8) manpage clearly states the -u and -g arguments are for uids/gids, hence using negative

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

2015-01-26 Thread Alfred Perlstein
Don't have a strong opinion on this because I'm not in the know lately, but was wondering: 1) if we wanted to keep NE1000/2000 support for FreeBSD in emulators? Probably not I assume? 2) Does Linux nuke these devices? why/why-not? On Jan 25, 2015, at 9:58 AM, Warner Losh wrote: On Jan

svn commit: r277775 - in head/contrib/llvm/tools/clang: include/clang/Driver lib/Driver

2015-01-26 Thread Dimitry Andric
Author: dim Date: Mon Jan 26 21:19:24 2015 New Revision: 25 URL: https://svnweb.freebsd.org/changeset/base/25 Log: Pull in r227062 from upstream clang trunk (by Renato Golin): Allows Clang to use LLVM's fixes-x18 option This patch allows clang to have llvm reserve the x18

Re: svn commit: r277714 - head/sbin/ipfw

2015-01-26 Thread Alexander V . Chernikov
� � 26.01.2015, 23:35, Olivier Cochard-Labbé oliv...@cochard.me: On Sun, Jan 25, 2015 at 9:37 PM, John Baldwin [1]j...@freebsd.org wrote: Author: jhb Date: Sun Jan 25 20:37:32 2015 New Revision: 277714 URL: [2]https://svnweb.freebsd.org/changeset/base/277714

svn commit: r277774 - head/contrib/llvm/lib/Target/AArch64

2015-01-26 Thread Dimitry Andric
Author: dim Date: Mon Jan 26 21:17:14 2015 New Revision: 24 URL: https://svnweb.freebsd.org/changeset/base/24 Log: Pull in r226664 from upstream llvm trunk (by Tim Northover): AArch64: add backend option to reserve x18 (platform register) AAPCS64 says that it's up to the

svn commit: r277776 - head/contrib/llvm/patches

2015-01-26 Thread Dimitry Andric
Author: dim Date: Mon Jan 26 21:24:04 2015 New Revision: 26 URL: https://svnweb.freebsd.org/changeset/base/26 Log: Add llvm and clang patches corresponding to r24 and r25. Added: head/contrib/llvm/patches/patch-29-llvm-r226664-aarch64-x18.diff

Re: svn commit: r277652 - in head/usr.sbin/pw: . tests

2015-01-26 Thread Devin Teske
On Jan 25, 2015, at 7:31 AM, Bruce Evans b...@optusnet.com.au wrote: On Sun, 25 Jan 2015, Slawa Olhovchenkov wrote: On Sun, Jan 25, 2015 at 04:56:24PM +1100, Bruce Evans wrote: Negative ids have historical abuses in places like mountd. Which paves the way for the “accepted practice”

Re: svn commit: r277714 - head/sbin/ipfw

2015-01-26 Thread John Baldwin
On Monday, January 26, 2015 09:34:39 PM Olivier Cochard-Labbé wrote: On Sun, Jan 25, 2015 at 9:37 PM, John Baldwin j...@freebsd.org wrote: Author: jhb Date: Sun Jan 25 20:37:32 2015 New Revision: 277714 URL: https://svnweb.freebsd.org/changeset/base/277714 Log: natd(8) will work

Re: svn commit: r277714 - head/sbin/ipfw

2015-01-26 Thread Nick Hibma
On 26 Jan 2015, at 22:24, John Baldwin j...@freebsd.org wrote: On Monday, January 26, 2015 09:34:39 PM Olivier Cochard-Labbé wrote: On Sun, Jan 25, 2015 at 9:37 PM, John Baldwin j...@freebsd.org wrote: Author: jhb Date: Sun Jan 25 20:37:32 2015 New Revision: 277714 URL:

svn commit: r277787 - in head: contrib/sendmail/cf/m4 etc/sendmail

2015-01-26 Thread Gregory Neil Shapiro
Author: gshapiro Date: Tue Jan 27 04:06:47 2015 New Revision: 277787 URL: https://svnweb.freebsd.org/changeset/base/277787 Log: Remove build specific details from sendmail.cf/submit.cf in support of https://wiki.freebsd.org/ReproducibleBuilds The contrib/sendmail change will be made in

Re: svn commit: r277681 - in head/sys: conf modules

2015-01-26 Thread Garrett Cooper
On Jan 25, 2015, at 9:46, Warner Losh i...@bsdimp.com wrote: The number of MK_foo opts that are intruding into the kernel module builds is starting to get out of hand. :( Especially since they are duplicative of the MODULES_OVERRIDE functionality and are very unevenly applied. I don’t really

Re: svn commit: r277737 - in head: etc/pam.d tools/build/mk

2015-01-26 Thread Garrett Cooper
On Jan 26, 2015, at 4:23, Dag-Erling Smørgrav d...@des.no wrote: Garrett Cooper n...@freebsd.org writes: Log: Honor MK_ACCT with etc/pam.d/atrun The correct idiom would be I disagree for a few reasons: 1. style.Makefile(9) makes no mention of having to use an idiom over the other. 2. The

svn commit: r277788 - head/sys/dev/virtio/block

2015-01-26 Thread Bryan Venteicher
Author: bryanv Date: Tue Jan 27 05:34:46 2015 New Revision: 277788 URL: https://svnweb.freebsd.org/changeset/base/277788 Log: Rework vtblk dump handling of in flight requests Previously, the driver resets the device and abandon the requests that are caught in flight when the dump was

svn commit: r277792 - head/sys/powerpc/pseries

2015-01-26 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Jan 27 07:20:00 2015 New Revision: 277792 URL: https://svnweb.freebsd.org/changeset/base/277792 Log: Fix bug in mapppings of multiple pages exposed by updates to the VSCSI support in QEMU. Each page of a many page mapping was getting mapped to the same physical

Re: svn commit: r277737 - in head: etc/pam.d tools/build/mk

2015-01-26 Thread Alexey Dokuchaev
On Mon, Jan 26, 2015 at 06:26:54PM -0800, Garrett Cooper wrote: On Jan 26, 2015, at 4:23, Dag-Erling Smorgrav d...@des.no wrote: Garrett Cooper n...@freebsd.org writes: Log: Honor MK_ACCT with etc/pam.d/atrun The correct idiom would be I disagree for a few reasons: [...] 2. The

Re: svn commit: r277710 - head/sys/dev/pci

2015-01-26 Thread Alexey Dokuchaev
On Mon, Jan 26, 2015 at 11:06:27AM -0500, John Baldwin wrote: On 1/26/15 9:19 AM, Alexey Dokuchaev wrote: On Sun, Jan 25, 2015 at 07:53:10PM +, John Baldwin wrote: New Revision: 277710 URL: https://svnweb.freebsd.org/changeset/base/277710 Log: Pass a valid Dx state variable to

svn commit: r277783 - head/contrib/tcpdump

2015-01-26 Thread Pedro F. Giffuni
Author: pfg Date: Tue Jan 27 01:45:47 2015 New Revision: 277783 URL: https://svnweb.freebsd.org/changeset/base/277783 Log: MFV r277782: Merge some cherry-picked fixes originating in OpenBSD Check whether the version field is available before looking at it. While we're at it, use

Re: svn commit: r277788 - head/sys/dev/virtio/block

2015-01-26 Thread Mark Johnston
On Tue, Jan 27, 2015 at 05:34:47AM +, Bryan Venteicher wrote: Author: bryanv Date: Tue Jan 27 05:34:46 2015 New Revision: 277788 URL: https://svnweb.freebsd.org/changeset/base/277788 Log: Rework vtblk dump handling of in flight requests Previously, the driver resets the device

svn commit: r277741 - in head: etc/rc.d tools/build/mk

2015-01-26 Thread Garrett Cooper
Author: ngie Date: Mon Jan 26 09:51:21 2015 New Revision: 277741 URL: https://svnweb.freebsd.org/changeset/base/277741 Log: Respect MK_KERBEROS with etc/rc.d/ipropd_master and etc/rc.d/ipropd_slave MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division Modified:

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

2015-01-26 Thread Konstantin Belousov
Author: kib Date: Mon Jan 26 10:11:55 2015 New Revision: 277743 URL: https://svnweb.freebsd.org/changeset/base/277743 Log: Ensure that _tmppt KVA is used exclusively by providing exclusive sx lock around the mapping and uiomove(). Before r277643, it was partially protected by Giant (but

svn commit: r277745 - in head/sys: arm/arm boot/fdt/dts/arm

2015-01-26 Thread Ruslan Bukin
Author: br Date: Mon Jan 26 10:31:17 2015 New Revision: 277745 URL: https://svnweb.freebsd.org/changeset/base/277745 Log: Add a generic way for hooking PMC interrupt. Added: head/sys/arm/arm/pmu.c (contents, props changed) Modified: head/sys/boot/fdt/dts/arm/am335x.dtsi Added:

svn commit: r277737 - in head: etc/pam.d tools/build/mk

2015-01-26 Thread Garrett Cooper
Author: ngie Date: Mon Jan 26 08:50:12 2015 New Revision: 277737 URL: https://svnweb.freebsd.org/changeset/base/277737 Log: Honor MK_ACCT with etc/pam.d/atrun MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division Modified: head/etc/pam.d/Makefile

Re: svn commit: r277737 - in head: etc/pam.d tools/build/mk

2015-01-26 Thread Garrett Cooper
On Jan 26, 2015, at 0:50, Garrett Cooper n...@freebsd.org wrote: Author: ngie Date: Mon Jan 26 08:50:12 2015 New Revision: 277737 URL: https://svnweb.freebsd.org/changeset/base/277737 Log: Honor MK_ACCT with etc/pam.d/atrun MFC after: 2 weeks Sponsored by: EMC / Isilon Storage

svn commit: r277739 - in head: etc/rc.d tools/build/mk

2015-01-26 Thread Garrett Cooper
Author: ngie Date: Mon Jan 26 09:37:14 2015 New Revision: 277739 URL: https://svnweb.freebsd.org/changeset/base/277739 Log: Honor MK_JAIL with etc/rc.d/jail MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Modified: head/etc/rc.d/Makefile

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

2015-01-26 Thread Roger Pau Monné
Author: royger Date: Mon Jan 26 08:42:47 2015 New Revision: 277735 URL: https://svnweb.freebsd.org/changeset/base/277735 Log: amd64: allow base memory segment to start at address different than 0 Current code requires that the first physical memory segment starts at 0, but this is not

svn commit: r277736 - in head: etc/rc.d tools/build/mk

2015-01-26 Thread Garrett Cooper
Author: ngie Date: Mon Jan 26 08:46:26 2015 New Revision: 277736 URL: https://svnweb.freebsd.org/changeset/base/277736 Log: Honor MK_ACCT with etc/rc.d/accounting MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division Modified: head/etc/rc.d/Makefile

svn commit: r277738 - in head: etc/defaults tools/build/mk

2015-01-26 Thread Garrett Cooper
Author: ngie Date: Mon Jan 26 09:31:48 2015 New Revision: 277738 URL: https://svnweb.freebsd.org/changeset/base/277738 Log: Honor MK_BLUETOOTH with etc/defaults/bluetooth.device.conf MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Modified: head/etc/defaults/Makefile

svn commit: r277740 - in head: etc/rc.d tools/build/mk

2015-01-26 Thread Garrett Cooper
Author: ngie Date: Mon Jan 26 09:43:08 2015 New Revision: 277740 URL: https://svnweb.freebsd.org/changeset/base/277740 Log: Honor MK_WIRELESS with etc/rc.d/hostapd and etc/rc.d/wpa_supplicant MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Modified:

svn commit: r277731 - in head: etc/rc.d tools/build/mk

2015-01-26 Thread Garrett Cooper
Author: ngie Date: Mon Jan 26 08:20:51 2015 New Revision: 277731 URL: https://svnweb.freebsd.org/changeset/base/277731 Log: Honor MK_LPR with etc/rc.d/lpd MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Modified: head/etc/rc.d/Makefile

svn commit: r277730 - in head: etc/devd etc/rc.d tools/build/mk

2015-01-26 Thread Garrett Cooper
Author: ngie Date: Mon Jan 26 08:04:38 2015 New Revision: 277730 URL: https://svnweb.freebsd.org/changeset/base/277730 Log: Honor MK_ACPI in etc/devd and etc/rc.d MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Modified: head/etc/devd/Makefile head/etc/rc.d/Makefile

svn commit: r277732 - in head: etc/rc.d tools/build/mk

2015-01-26 Thread Garrett Cooper
Author: ngie Date: Mon Jan 26 08:23:36 2015 New Revision: 277732 URL: https://svnweb.freebsd.org/changeset/base/277732 Log: Honor MK_API in etc/rc.d MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Modified: head/etc/rc.d/Makefile

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

2015-01-26 Thread Garrett Cooper
Author: ngie Date: Mon Jan 26 08:30:24 2015 New Revision: 277734 URL: https://svnweb.freebsd.org/changeset/base/277734 Log: Remove explicit inclusion of lpd from FILES X-MFC with: 277731 MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Modified: head/etc/rc.d/Makefile

svn commit: r277733 - in head: etc/rc.d tools/build/mk

2015-01-26 Thread Garrett Cooper
Author: ngie Date: Mon Jan 26 08:28:51 2015 New Revision: 277733 URL: https://svnweb.freebsd.org/changeset/base/277733 Log: Honor MK_AMD with etc/rc.d/amd MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Modified: head/etc/rc.d/Makefile

Re: svn commit: r277714 - head/sbin/ipfw

2015-01-26 Thread Olivier Cochard-Labbé
On Mon, Jan 26, 2015 at 10:50 PM, Nick Hibma n...@van-laarhoven.org wrote: On 26 Jan 2015, at 22:24, John Baldwin j...@freebsd.org wrote: It might. What happened for me is that I was using nat over wlan0 for VM's on my laptop to reach the outside world, but wlan0 doesn't get an IP

Re: svn commit: r277678 - in head: etc/rc.d sbin share/man/man4 share/mk sys/conf sys/modules/geom tools/build/mk tools/build/options

2015-01-26 Thread Gleb Smirnoff
On Sun, Jan 25, 2015 at 04:52:49AM +, Garrett Cooper wrote: G Author: ngie G Date: Sun Jan 25 04:52:48 2015 G New Revision: 277678 G URL: https://svnweb.freebsd.org/changeset/base/277678 G G Log: G Add MK_CCD knob for building and installing ccd(4), ccdconfig, etc G G MFC after: 2

Re: svn commit: r277714 - head/sbin/ipfw

2015-01-26 Thread Olivier Cochard-Labbé
On Sun, Jan 25, 2015 at 9:37 PM, John Baldwin j...@freebsd.org wrote: Author: jhb Date: Sun Jan 25 20:37:32 2015 New Revision: 277714 URL: https://svnweb.freebsd.org/changeset/base/277714 Log: natd(8) will work with an unconfigured interface and effectively not do anything until the