svn commit: r314131 - head/sys/ofed/drivers/infiniband/core

2017-02-22 Thread Navdeep Parhar
Author: np Date: Thu Feb 23 07:48:58 2017 New Revision: 314131 URL: https://svnweb.freebsd.org/changeset/base/314131 Log: Avoid NULL dereference in a couple of sysctl handlers in ibcore. iw_cxgbe sets ib_device->dma_device to NULL (since r311880). Reviewed by: hselasky@ Sponsored by: C

svn commit: r314129 - stable/11/bin/ls

2017-02-22 Thread Konstantin Belousov
Author: kib Date: Thu Feb 23 07:42:49 2017 New Revision: 314129 URL: https://svnweb.freebsd.org/changeset/base/314129 Log: MFC r313798: Use uintmax_t to print st_nlink. Modified: stable/11/bin/ls/print.c Directory Properties: stable/11/ (props changed) Modified: stable/11/bin/ls/print.

svn commit: r314128 - stable/11/libexec/rtld-elf

2017-02-22 Thread Konstantin Belousov
Author: kib Date: Thu Feb 23 07:39:01 2017 New Revision: 314128 URL: https://svnweb.freebsd.org/changeset/base/314128 Log: MFC r313494: Handle protected symbols in rtld. Modified: stable/11/libexec/rtld-elf/rtld.c Directory Properties: stable/11/ (props changed) Modified: stable/11/lib

svn commit: r314127 - stable/11/sys/sys

2017-02-22 Thread Konstantin Belousov
Author: kib Date: Thu Feb 23 07:28:29 2017 New Revision: 314127 URL: https://svnweb.freebsd.org/changeset/base/314127 Log: MFC r313493: Define ELF_ST_VISIBILITY(). Modified: stable/11/sys/sys/elf_generic.h Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/sys/elf

svn commit: r314126 - in releng/10.3: . crypto/openssl/crypto/evp sys/conf

2017-02-22 Thread Xin LI
Author: delphij Date: Thu Feb 23 07:12:18 2017 New Revision: 314126 URL: https://svnweb.freebsd.org/changeset/base/314126 Log: Fix OpenSSL RC4_MD5 cipher vulnerability. Approved by: so Modified: releng/10.3/UPDATING releng/10.3/crypto/openssl/crypto/evp/e_rc4_hmac_md5.c releng/10.3/

svn commit: r314125 - in releng/11.0: . contrib/mdocml crypto/openssl crypto/openssl/apps crypto/openssl/crypto crypto/openssl/crypto/aes/asm crypto/openssl/crypto/asn1 crypto/openssl/crypto/bn cry...

2017-02-22 Thread Xin LI
Author: delphij Date: Thu Feb 23 07:11:48 2017 New Revision: 314125 URL: https://svnweb.freebsd.org/changeset/base/314125 Log: Fix multiple vulnerabilities of OpenSSL. [SA-17:02] Fix system hang when booting when PCI-express HotPlug is enabled. [EN-17:01] Fix NIS master updates are n

svn commit: r314124 - stable/10/sys/dev/hyperv/netvsc

2017-02-22 Thread Dexuan Cui
Author: dexuan Date: Thu Feb 23 07:07:21 2017 New Revision: 314124 URL: https://svnweb.freebsd.org/changeset/base/314124 Log: MFC r312689, r312690 Approved by: sephe (mentor) r312689 hyperv/hn: add a sysctl name for the VF interface This makes it easier for the userland

svn commit: r314123 - stable/10/sys/dev/hyperv/netvsc

2017-02-22 Thread Dexuan Cui
Author: dexuan Date: Thu Feb 23 07:04:17 2017 New Revision: 314123 URL: https://svnweb.freebsd.org/changeset/base/314123 Log: MFC: r312688 Approved by: sephe (mentor) r312688 hyperv/hn: add the support for VF drivers (SR-IOV) Hyper-V's NIC SR-IOV implementation needs a

svn commit: r314122 - stable/10/sys/net

2017-02-22 Thread Dexuan Cui
Author: dexuan Date: Thu Feb 23 06:57:18 2017 New Revision: 314122 URL: https://svnweb.freebsd.org/changeset/base/314122 Log: MFC: r312687, r312916 Approved by: sephe (mentor) r312687 ifnet: introduce event handlers for ifup/ifdown events Hyper-V's NIC SR-IOV implementa

svn commit: r314121 - stable/10/sys/dev/hyperv/netvsc

2017-02-22 Thread Dexuan Cui
Author: dexuan Date: Thu Feb 23 06:49:46 2017 New Revision: 314121 URL: https://svnweb.freebsd.org/changeset/base/314121 Log: MFC: r312685, r312686 Approved by: sephe (mentor) r312685 hyperv/hn: remember the channel pointer in struct hn_rx_ring This will be used by the

svn commit: r314120 - head/contrib/blacklist/bin

2017-02-22 Thread Kurt Lidl
Author: lidl Date: Thu Feb 23 05:40:59 2017 New Revision: 314120 URL: https://svnweb.freebsd.org/changeset/base/314120 Log: Reset failed login count to zero when removing a blocked address The blacklistd daemon keeps records of failed login attempts for each address:port that is flagged a

svn commit: r314119 - head/sys/dev/extres/clk

2017-02-22 Thread Emmanuel Vadot
Author: manu Date: Thu Feb 23 05:33:20 2017 New Revision: 314119 URL: https://svnweb.freebsd.org/changeset/base/314119 Log: Do not check divider length if we have a div table. Reviewed by: mmel Modified: head/sys/dev/extres/clk/clk_div.c Modified: head/sys/dev/extres/clk/clk_div.c

Re: svn commit: r314075 - head/tests/sys/kern

2017-02-22 Thread Eric Badger
On 02/22/2017 10:05 PM, Ian Lepore wrote: On Wed, 2017-02-22 at 04:35 +, Eric Badger wrote: Author: badger Date: Wed Feb 22 04:35:07 2017 New Revision: 314075 URL: https://svnweb.freebsd.org/changeset/base/314075 Log: Fix world build for archs where __builtin_debugtrap() does not work.

svn commit: r314118 - head/tests/sys/kern

2017-02-22 Thread Eric Badger
Author: badger Date: Thu Feb 23 04:26:17 2017 New Revision: 314118 URL: https://svnweb.freebsd.org/changeset/base/314118 Log: Actually fix buildworlds other than i386/amd64/sparc64 after r313992 Disable offending test for platforms without a userspace visible breakpoint(). Reported b

Re: svn commit: r314075 - head/tests/sys/kern

2017-02-22 Thread Ian Lepore
On Wed, 2017-02-22 at 04:35 +, Eric Badger wrote: > Author: badger > Date: Wed Feb 22 04:35:07 2017 > New Revision: 314075 > URL: https://svnweb.freebsd.org/changeset/base/314075 > > Log: >   Fix world build for archs where __builtin_debugtrap() does not > work. >    >   The offending code was

svn commit: r314117 - in head/usr.sbin/makefs: . cd9660

2017-02-22 Thread Ed Maste
Author: emaste Date: Thu Feb 23 02:28:08 2017 New Revision: 314117 URL: https://svnweb.freebsd.org/changeset/base/314117 Log: makefs: eliminate global cd9660 structure For diff reduction with NetBSD NetBSD file versions: cd9660.c 1.39 cd9660.h 1.19 cd9660/cd9660_debug.c 1.12 cd

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

2017-02-22 Thread Jonathan Looney
On Wed, Feb 22, 2017 at 8:18 PM, Jonathan T. Looney wrote: > Author: jtl > Date: Thu Feb 23 01:18:47 2017 > New Revision: 314116 > URL: https://svnweb.freebsd.org/changeset/base/314116 > > Log: > Fix a panic during boot caused by inadequate locking of some vt(4) driver > data structures. > >

svn commit: r314116 - head/sys/kern

2017-02-22 Thread Jonathan T. Looney
Author: jtl Date: Thu Feb 23 01:18:47 2017 New Revision: 314116 URL: https://svnweb.freebsd.org/changeset/base/314116 Log: Fix a panic during boot caused by inadequate locking of some vt(4) driver data structures. vt_change_font() calls vtbuf_grow() to change some vt driver data structu

Re: svn commit: r314114 - head/sys/boot/mips/beri/boot2

2017-02-22 Thread John Baldwin
On Wednesday, February 22, 2017 11:58:54 PM John Baldwin wrote: > Author: jhb > Date: Wed Feb 22 23:58:54 2017 > New Revision: 314114 > URL: https://svnweb.freebsd.org/changeset/base/314114 > > Log: > Use LDFLAGS with CC instead of _LDFLAGS. > > This is a followup to r311458. _LDFLAGS is f

svn commit: r314115 - head/libexec/rtld-elf/mips

2017-02-22 Thread John Baldwin
Author: jhb Date: Thu Feb 23 00:02:49 2017 New Revision: 314115 URL: https://svnweb.freebsd.org/changeset/base/314115 Log: Fully handle the special encoding of GOT[1] on mips64. The MIPS ABI does not require the second GOT entry to be reserved for use by the runtime linker as on other arc

svn commit: r314114 - head/sys/boot/mips/beri/boot2

2017-02-22 Thread John Baldwin
Author: jhb Date: Wed Feb 22 23:58:54 2017 New Revision: 314114 URL: https://svnweb.freebsd.org/changeset/base/314114 Log: Use LDFLAGS with CC instead of _LDFLAGS. This is a followup to r311458. _LDFLAGS is for use with LD, whereas LDFLAGS is for use with CC. Modified: head/sys/boot/m

svn commit: r314113 - head/tests/sys/netinet

2017-02-22 Thread Alan Somers
Author: asomers Date: Wed Feb 22 23:57:22 2017 New Revision: 314113 URL: https://svnweb.freebsd.org/changeset/base/314113 Log: Remove tests/sys/netinet/fibs_tests's dependency on net/socat Instead of bridging two tap interfaces with socat, just use an epair pair. MFC after:3 weeks

Re: svn commit: r314036 - head/usr.sbin/bsdinstall/scripts

2017-02-22 Thread Bryan Drewery
On 2/22/2017 3:10 PM, Allan Jude wrote: > On 2017-02-22 15:26, Bryan Drewery wrote: >> On 2/21/2017 11:07 PM, Joel Dahl wrote: >>> On Tue, Feb 21, 2017 at 02:40:02PM +, Alexey Dokuchaev wrote: On Tue, Feb 21, 2017 at 08:34:29AM -0600, Eric Badger wrote: > Thanks for working on making i

Re: svn commit: r314036 - head/usr.sbin/bsdinstall/scripts

2017-02-22 Thread Allan Jude
On 2017-02-22 15:26, Bryan Drewery wrote: > On 2/21/2017 11:07 PM, Joel Dahl wrote: >> On Tue, Feb 21, 2017 at 02:40:02PM +, Alexey Dokuchaev wrote: >>> On Tue, Feb 21, 2017 at 08:34:29AM -0600, Eric Badger wrote: Thanks for working on making it easier to harden FreeBSD. While default

Re: svn commit: r313996 - in head/sys: kern sys

2017-02-22 Thread Gleb Smirnoff
Mateusz, why do you __predict_false() the recursion scenario? I'm afraid that performance loss for mispredictions could outweight the gain due to predictions. AFAIK, mutex recursion is still a pretty common event in the kernel. On Mon, Feb 20, 2017 at 07:08:36PM +, Mateusz Guzik wrote: M>

Re: svn commit: r314036 - head/usr.sbin/bsdinstall/scripts

2017-02-22 Thread Ngie Cooper
On Wed, Feb 22, 2017 at 2:46 PM, Ngie Cooper wrote: ... > (Piggybacking on this thread) Silly question -- can all of these knobs > please default to off and have a global knob, like securelevel..? Fine > grained security is great, but it's really cumbersome tweaking > everything properly if you do

Re: svn commit: r314036 - head/usr.sbin/bsdinstall/scripts

2017-02-22 Thread Ngie Cooper
On Wed, Feb 22, 2017 at 12:26 PM, Bryan Drewery wrote: ... > I concur. > In the original review for adding this I predicted today would come, > https://reviews.freebsd.org/D6826. I still think that it is very > under-designed and under-thought out. > > I personally agree with hardening my system,

svn commit: r314112 - in head/sys: boot/zfs cddl/boot/zfs

2017-02-22 Thread Toomas Soome
Author: tsoome Date: Wed Feb 22 22:00:50 2017 New Revision: 314112 URL: https://svnweb.freebsd.org/changeset/base/314112 Log: loader: update symlink support in zfs reader As the current zfs file system is providing symlink via system attributes, need to update the code accordingly.

svn commit: r314111 - head/contrib/blacklist/libexec

2017-02-22 Thread Kurt Lidl
Author: lidl Date: Wed Feb 22 21:50:37 2017 New Revision: 314111 URL: https://svnweb.freebsd.org/changeset/base/314111 Log: Improve ipfw rule creation for blacklist-helper script When blocking an address, the blacklist-helper script needs to do the following things for the ipfw packet f

svn commit: r314110 - in head: etc share/man/man4 share/man/man4/man4.i386

2017-02-22 Thread Warner Losh
Author: imp Date: Wed Feb 22 20:47:25 2017 New Revision: 314110 URL: https://svnweb.freebsd.org/changeset/base/314110 Log: Remove more stray EISA refernces: ahb was removed. Remove the cross reference and replace, where appropiate, with ahd.4. Modified: head/etc/devd.conf head/share/man/m

Re: svn commit: r314109 - head/sys/compat/linuxkpi/common/include/linux

2017-02-22 Thread Conrad Meyer
Thanks! On Wed, Feb 22, 2017 at 12:24 PM, Hans Petter Selasky wrote: > Author: hselasky > Date: Wed Feb 22 20:24:09 2017 > New Revision: 314109 > URL: https://svnweb.freebsd.org/changeset/base/314109 > > Log: > Convert magic values into macros in the LinuxKPI scatterlist > implementation. > >

Re: svn commit: r314036 - head/usr.sbin/bsdinstall/scripts

2017-02-22 Thread Bryan Drewery
On 2/21/2017 11:07 PM, Joel Dahl wrote: > On Tue, Feb 21, 2017 at 02:40:02PM +, Alexey Dokuchaev wrote: >> On Tue, Feb 21, 2017 at 08:34:29AM -0600, Eric Badger wrote: >>> Thanks for working on making it easier to harden FreeBSD. While >>> defaulting some of these options to "on" seem pretty ha

Re: svn commit: r314105 - head/sys/compat/linuxkpi/common/include/linux

2017-02-22 Thread Hans Petter Selasky
Hi, On 02/22/17 20:42, Conrad Meyer wrote: On Wed, Feb 22, 2017 at 11:31 AM, Hans Petter Selasky Hi Hans, Thanks for all of the linuxkpi work you've done lately. i915 support is very important to me! You're welcome! It would be nice to have some named constants for these masks. The bare

svn commit: r314109 - head/sys/compat/linuxkpi/common/include/linux

2017-02-22 Thread Hans Petter Selasky
Author: hselasky Date: Wed Feb 22 20:24:09 2017 New Revision: 314109 URL: https://svnweb.freebsd.org/changeset/base/314109 Log: Convert magic values into macros in the LinuxKPI scatterlist implementation. Suggested by: cem @ MFC after:1 week Sponsored by: M

Re: svn commit: r314036 - head/usr.sbin/bsdinstall/scripts

2017-02-22 Thread Slawa Olhovchenkov
On Wed, Feb 22, 2017 at 10:13:41AM -0800, Conrad Meyer wrote: > On Wed, Feb 22, 2017 at 10:05 AM, Slawa Olhovchenkov wrote: > > On Wed, Feb 22, 2017 at 08:11:14AM -0800, Conrad Meyer wrote: > > > >> On Wed, Feb 22, 2017 at 3:23 AM, Joel Dahl wrote: > >> > On Wed, Feb 22, 2017 at 07:56:52AM +

svn commit: r314108 - stable/11

2017-02-22 Thread Dmitry Chagin
Author: dchagin Date: Wed Feb 22 20:11:21 2017 New Revision: 314108 URL: https://svnweb.freebsd.org/changeset/base/314108 Log: Record mergeinfo for r313284, r313285, r313684, r313912 missied in r314107. Modified: Directory Properties: stable/11/ (props changed) _

svn commit: r314107 - in stable/11/sys: amd64/linux amd64/linux32 compat/linux i386/linux

2017-02-22 Thread Dmitry Chagin
Author: dchagin Date: Wed Feb 22 19:57:59 2017 New Revision: 314107 URL: https://svnweb.freebsd.org/changeset/base/314107 Log: MFC r313284: Update syscall.master to 4.10-rc6. Also fix comments, a typo, and wrong numbering for a few unimplemented syscalls. For 32-bit Linuxulator

Re: svn commit: r314105 - head/sys/compat/linuxkpi/common/include/linux

2017-02-22 Thread Conrad Meyer
On Wed, Feb 22, 2017 at 11:31 AM, Hans Petter Selasky wrote: > Author: hselasky > Date: Wed Feb 22 19:31:02 2017 > New Revision: 314105 > URL: https://svnweb.freebsd.org/changeset/base/314105 > > Log: > Improve LinuxKPI scatter list support. > > The i915kms driver in Linux 4.9 reimplement part

svn commit: r314106 - in head/sys: compat/linuxkpi/common/include/linux compat/linuxkpi/common/src conf modules/linuxkpi

2017-02-22 Thread Hans Petter Selasky
Author: hselasky Date: Wed Feb 22 19:39:54 2017 New Revision: 314106 URL: https://svnweb.freebsd.org/changeset/base/314106 Log: Optimise unmapped LinuxKPI page allocations. When allocating unmapped pages, take advantage of the direct map on AMD64 to get the virtual address corresponding t

Re: svn commit: r314087 - head/sys/x86/x86

2017-02-22 Thread Bruce Evans
On Wed, 22 Feb 2017, Konstantin Belousov wrote: Log: More fixes for regression in r313898 on i386. Use long long constants where needed. The long long abomination is never needed, and is always a style bug. I removed almost all long long constants ~20 years ago, but there are now thousands

svn commit: r314105 - head/sys/compat/linuxkpi/common/include/linux

2017-02-22 Thread Hans Petter Selasky
Author: hselasky Date: Wed Feb 22 19:31:02 2017 New Revision: 314105 URL: https://svnweb.freebsd.org/changeset/base/314105 Log: Improve LinuxKPI scatter list support. The i915kms driver in Linux 4.9 reimplement parts of the scatter list functions with regards to performance. In other word

Re: svn commit: r314036 - head/usr.sbin/bsdinstall/scripts

2017-02-22 Thread Shawn Webb
On Wed, Feb 22, 2017 at 02:23:26PM -0500, Allan Jude wrote: > On 2017-02-22 13:13, Conrad Meyer wrote: > > On Wed, Feb 22, 2017 at 10:05 AM, Slawa Olhovchenkov > > wrote: > >> On Wed, Feb 22, 2017 at 08:11:14AM -0800, Conrad Meyer wrote: > >> > >>> On Wed, Feb 22, 2017 at 3:23 AM, Joel Dahl wrot

Re: svn commit: r314036 - head/usr.sbin/bsdinstall/scripts

2017-02-22 Thread Allan Jude
On 2017-02-22 13:13, Conrad Meyer wrote: > On Wed, Feb 22, 2017 at 10:05 AM, Slawa Olhovchenkov wrote: >> On Wed, Feb 22, 2017 at 08:11:14AM -0800, Conrad Meyer wrote: >> >>> On Wed, Feb 22, 2017 at 3:23 AM, Joel Dahl wrote: On Wed, Feb 22, 2017 at 07:56:52AM +, Bartłomiej Rutkowski wrot

svn commit: r314104 - head/lib/libcxxrt

2017-02-22 Thread Dimitry Andric
Author: dim Date: Wed Feb 22 18:44:57 2017 New Revision: 314104 URL: https://svnweb.freebsd.org/changeset/base/314104 Log: Surround any unmangled C++ names in libcxxrt's version map with 'extern "C++"', otherwise ld refuses to make the symbols global in the final library. This causes the __

Re: svn commit: r314036 - head/usr.sbin/bsdinstall/scripts

2017-02-22 Thread Conrad Meyer
On Wed, Feb 22, 2017 at 10:05 AM, Slawa Olhovchenkov wrote: > On Wed, Feb 22, 2017 at 08:11:14AM -0800, Conrad Meyer wrote: > >> On Wed, Feb 22, 2017 at 3:23 AM, Joel Dahl wrote: >> > On Wed, Feb 22, 2017 at 07:56:52AM +, Bartłomiej Rutkowski wrote: >> >> I strongly believe we should, by defa

Re: svn commit: r314036 - head/usr.sbin/bsdinstall/scripts

2017-02-22 Thread Slawa Olhovchenkov
On Wed, Feb 22, 2017 at 08:11:14AM -0800, Conrad Meyer wrote: > On Wed, Feb 22, 2017 at 3:23 AM, Joel Dahl wrote: > > On Wed, Feb 22, 2017 at 07:56:52AM +, Bartłomiej Rutkowski wrote: > >> I strongly believe we should, by default, ship as secured and hardened as > >> possible in order to impr

svn commit: r314103 - stable/10/sys/dev/e1000

2017-02-22 Thread Marius Strobl
Author: marius Date: Wed Feb 22 17:57:24 2017 New Revision: 314103 URL: https://svnweb.freebsd.org/changeset/base/314103 Log: MFC: r311979 Reset the EIAC register to include the LINK status bit and restore link up/down notifications. Modified: stable/10/sys/dev/e1000/if_em.c Directory

svn commit: r314102 - stable/11/sys/dev/e1000

2017-02-22 Thread Marius Strobl
Author: marius Date: Wed Feb 22 17:57:19 2017 New Revision: 314102 URL: https://svnweb.freebsd.org/changeset/base/314102 Log: MFC: r311979 Reset the EIAC register to include the LINK status bit and restore link up/down notifications. Modified: stable/11/sys/dev/e1000/if_em.c Directory

Re: svn commit: r314036 - head/usr.sbin/bsdinstall/scripts

2017-02-22 Thread John Baldwin
On Wednesday, February 22, 2017 07:52:45 AM Bartłomiej Rutkowski wrote: > On Tue, Feb 21, 2017 at 2:34 PM, Eric Badger wrote: > > > On 02/21/2017 03:37 AM, Bartek Rutkowski wrote: > > > >> Author: robak (ports committer) > >> Date: Tue Feb 21 09:37:33 2017 > >> New Revision: 314036 > >> URL: http

svn commit: r314101 - head/sys/sys

2017-02-22 Thread Andriy Gapon
Author: avg Date: Wed Feb 22 17:20:18 2017 New Revision: 314101 URL: https://svnweb.freebsd.org/changeset/base/314101 Log: don't use C99 static array indices with older GCC versions For example, the FreeBSD GCC (4.2.1) has a spotty support for that feature. If the static keyword is used

Re: svn commit: r314036 - head/usr.sbin/bsdinstall/scripts

2017-02-22 Thread Conrad Meyer
On Wed, Feb 22, 2017 at 3:23 AM, Joel Dahl wrote: > On Wed, Feb 22, 2017 at 07:56:52AM +, Bartłomiej Rutkowski wrote: >> I strongly believe we should, by default, ship as secured and hardened as >> possible in order to improve overall security of new users installations. >> Power users will an

svn commit: r314100 - head/sys/sys

2017-02-22 Thread Andriy Gapon
Author: avg Date: Wed Feb 22 17:13:00 2017 New Revision: 314100 URL: https://svnweb.freebsd.org/changeset/base/314100 Log: fix a typo in __STDC_VERSION__ in __min_size requirements MFC after:1 week Sponsored by: Panzura Modified: head/sys/sys/cdefs.h Modified: head/sys/sys/cdefs.h

svn commit: r314099 - head/usr.bin/lam

2017-02-22 Thread Baptiste Daroussin
Author: bapt Date: Wed Feb 22 16:37:45 2017 New Revision: 314099 URL: https://svnweb.freebsd.org/changeset/base/314099 Log: Better fix for r314098 The actual issue was the fact that if - was used then some restriction were already set to stdin when we were applying caph_limit_stdio which

Re: svn commit: r314043 - in head/sys: compat/linuxkpi/common/include/linux compat/linuxkpi/common/src conf modules/linuxkpi

2017-02-22 Thread Adrian Chadd
Sweet! Thanks! (God I'd like this for native FreeBSD drivers actually...) -adrian On 22 February 2017 at 01:22, Hans Petter Selasky wrote: > On 02/22/17 00:18, Adrian Chadd wrote: >> >> Hiya, >> >> My understanding of tasklets is that they run on the CPU that they >> were scheduled on, rather

svn commit: r314098 - head/usr.bin/lam

2017-02-22 Thread Allan Jude
Author: allanjude Date: Wed Feb 22 15:30:57 2017 New Revision: 314098 URL: https://svnweb.freebsd.org/changeset/base/314098 Log: lam(1): Failing to restrict stdin/stdout/stderr should not be fatal When fed from a pipe, lam(1) would sometimes fail: lam: unable to limit stdio: Capabilities

Re: svn commit: r313992 - in head: sys/kern sys/sys tests/sys/kern

2017-02-22 Thread Ravi Pokala
-Original Message- > From: on behalf of Eric Badger > > Date: 2017-02-21, Tuesday at 20:37 > To: Ravi Pokala , , > , > Subject: Re: svn commit: r313992 - in head: sys/kern sys/sys tests/sys/kern > > On 02/21/2017 05:45 PM, Ravi Pokala wrote: >> Hi Eric, >> >> This appears to break bu

Re: svn commit: r314036 - head/usr.sbin/bsdinstall/scripts

2017-02-22 Thread Slawa Olhovchenkov
On Tue, Feb 21, 2017 at 09:37:34AM +, Bartek Rutkowski wrote: > Author: robak (ports committer) > Date: Tue Feb 21 09:37:33 2017 > New Revision: 314036 > URL: https://svnweb.freebsd.org/changeset/base/314036 > > Log: > Enable bsdinstall hardening options by default. > > As discussed pr

Re: svn commit: r314036 - head/usr.sbin/bsdinstall/scripts

2017-02-22 Thread Joel Dahl
On Wed, Feb 22, 2017 at 07:56:52AM +, Bartłomiej Rutkowski wrote: > On Tue, Feb 21, 2017 at 2:40 PM, Alexey Dokuchaev wrote: > > > On Tue, Feb 21, 2017 at 08:34:29AM -0600, Eric Badger wrote: > > > Thanks for working on making it easier to harden FreeBSD. While > > > defaulting some of these

svn commit: r314097 - in head/sys: dev/bhnd/cores/chipc dev/fdt dev/nand geom modules/geom modules/geom/geom_flashmap powerpc/mikrotik sys

2017-02-22 Thread Marius Strobl
Author: marius Date: Wed Feb 22 10:21:39 2017 New Revision: 314097 URL: https://svnweb.freebsd.org/changeset/base/314097 Log: - Allow different slicers for different flash types to be registered with geom_flashmap(4) and teach it about MMC for slicing enhanced user data area partitions.

Re: svn commit: r313975 - in head: contrib/openpam contrib/openpam/bin contrib/openpam/bin/openpam_dump_policy contrib/openpam/bin/pamtest contrib/openpam/bin/su contrib/openpam/doc contrib/openpam/do

2017-02-22 Thread Dag-Erling Smørgrav
"Ngie Cooper (yaneurabeya)" writes: > I figured that you had good reasons for doing this after some of the > discussion we had off-list about testing in general, but I’ll see what > I can do to bring back coverage in lib/libpam. It has nothing to do with my opinion of Kyua. OpenPAM's unit tests

Re: svn commit: r314094 - head/sys/dev/xen/timer

2017-02-22 Thread Roger Pau Monné
On Wed, Feb 22, 2017 at 09:22:18AM +, Roger Pau Monné wrote: > Author: royger > Date: Wed Feb 22 09:22:17 2017 > New Revision: 314094 > URL: https://svnweb.freebsd.org/changeset/base/314094 > > Log: > xen/timer: mark the Xen PV timer as not safe for suspension > > Note that the timer it

svn commit: r314096 - vendor/mdocml/1.4.1

2017-02-22 Thread Baptiste Daroussin
Author: bapt Date: Wed Feb 22 09:39:15 2017 New Revision: 314096 URL: https://svnweb.freebsd.org/changeset/base/314096 Log: Tag import of mandoc 1.4.1 Added: vendor/mdocml/1.4.1/ - copied from r313954, vendor/mdocml/dist/ vendor/mdocml/1.4.1/catman.8 - copied unchanged from r31395

svn commit: r314095 - vendor/mdocml/dist

2017-02-22 Thread Baptiste Daroussin
Author: bapt Date: Wed Feb 22 09:33:50 2017 New Revision: 314095 URL: https://svnweb.freebsd.org/changeset/base/314095 Log: Import mandoc 1.14.1 Modified: vendor/mdocml/dist/LICENSE vendor/mdocml/dist/NEWS Modified: vendor/mdocml/dist/LICENSE ===

Re: svn commit: r314043 - in head/sys: compat/linuxkpi/common/include/linux compat/linuxkpi/common/src conf modules/linuxkpi

2017-02-22 Thread Hans Petter Selasky
On 02/22/17 00:18, Adrian Chadd wrote: Hiya, My understanding of tasklets is that they run on the CPU that they were scheduled on, rather than there being a single tasklet thread? Is that the direction you're thinking of heading in, or? Hi Adrian, The plan is to use grouptaskqueue in the en

svn commit: r314094 - head/sys/dev/xen/timer

2017-02-22 Thread Roger Pau Monné
Author: royger Date: Wed Feb 22 09:22:17 2017 New Revision: 314094 URL: https://svnweb.freebsd.org/changeset/base/314094 Log: xen/timer: mark the Xen PV timer as not safe for suspension Note that the timer itself fully supports suspension, but due to the lack of ordering during the resume

Re: svn commit: r314036 - head/usr.sbin/bsdinstall/scripts

2017-02-22 Thread Bartłomiej Rutkowski
On Wed, Feb 22, 2017 at 8:32 AM, Alexey Dokuchaev wrote: > On Wed, Feb 22, 2017 at 07:56:52AM +, Bart??omiej Rutkowski wrote: > > These options have been around forever, used by a lot of users (once they > > got to know those even exist) and seem to cause no issues. However, > despite > > tha

svn commit: r314093 - stable/11/sys/dev/bxe

2017-02-22 Thread Roger Pau Monné
Author: royger Date: Wed Feb 22 08:49:52 2017 New Revision: 314093 URL: https://svnweb.freebsd.org/changeset/base/314093 Log: MFC r313771 bxe: enable usage with NetXtreme II BCM57840 2x20GbE chip Sponsored by: Citrix Systems R&D Modified: stable/11/sys/dev/bxe/bxe.c Directory Prop

svn commit: r314092 - stable/11/sys/dev/hyperv/netvsc

2017-02-22 Thread Dexuan Cui
Author: dexuan Date: Wed Feb 22 08:37:51 2017 New Revision: 314092 URL: https://svnweb.freebsd.org/changeset/base/314092 Log: MFC 312689, 312690 Approved by: sephe (mentor) r312689 hyperv/hn: add a sysctl name for the VF interface This makes it easier for the userland s

Re: svn commit: r314036 - head/usr.sbin/bsdinstall/scripts

2017-02-22 Thread Alexey Dokuchaev
On Wed, Feb 22, 2017 at 07:56:52AM +, Bart??omiej Rutkowski wrote: > These options have been around forever, used by a lot of users (once they > got to know those even exist) and seem to cause no issues. However, despite > that, and numerous discussions and mail threads over the years, we've >

svn commit: r314091 - stable/11/sys/dev/hyperv/netvsc

2017-02-22 Thread Dexuan Cui
Author: dexuan Date: Wed Feb 22 08:26:51 2017 New Revision: 314091 URL: https://svnweb.freebsd.org/changeset/base/314091 Log: MFC 312688 Approved by: sephe (mentor) r312688 hyperv/hn: add the support for VF drivers (SR-IOV) Hyper-V's NIC SR-IOV implementation needs a Hy

svn commit: r314090 - stable/11/sys/net

2017-02-22 Thread Dexuan Cui
Author: dexuan Date: Wed Feb 22 08:02:24 2017 New Revision: 314090 URL: https://svnweb.freebsd.org/changeset/base/314090 Log: MFC: 312687, 312916 Approved by:sephe (mentor) r312687 ifnet: introduce event handlers for ifup/ifdown events Hyper-V's NIC SR-IOV implementa