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

2017-02-21 Thread Bartłomiej Rutkowski
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 options to "on" seem pretty harmless (e.g. > > random_pid), others are likely to

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

2017-02-21 Thread Bartłomiej Rutkowski
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: https://svnweb.freebsd.org/changeset/base/314036 >> >> Log: >> Enable bsdinstall hardening

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

2017-02-21 Thread Bartłomiej Rutkowski
On Wed, Feb 22, 2017 at 7:07 AM, 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 "o

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

2017-02-21 Thread Dexuan Cui
Author: dexuan Date: Wed Feb 22 07:42:28 2017 New Revision: 314089 URL: https://svnweb.freebsd.org/changeset/base/314089 Log: revert the MFC r314085 Sorry, I generated a wrong commit log for r314085 due to a copy&pasate mistake. Let me revert it and I'll redo the MFC. Modified: stable

svn commit: r314088 - head/sys/dev/isp

2017-02-21 Thread Alexander Motin
Author: mav Date: Wed Feb 22 07:12:20 2017 New Revision: 314088 URL: https://svnweb.freebsd.org/changeset/base/314088 Log: Slightly polish isp_dump_atpd(). MFC after:2 weeks Modified: head/sys/dev/isp/isp_freebsd.c Modified: head/sys/dev/isp/isp_freebsd.c ===

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

2017-02-21 Thread Joel Dahl
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 harmless (e.g. > > random_pid), others are li

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

2017-02-21 Thread Konstantin Belousov
Author: kib Date: Wed Feb 22 07:07:05 2017 New Revision: 314087 URL: https://svnweb.freebsd.org/changeset/base/314087 Log: More fixes for regression in r313898 on i386. Use long long constants where needed. Reported and tested by: kargl Sponsored by: The FreeBSD Foundation MFC a

svn commit: r314086 - head/sys/dev/isp

2017-02-21 Thread Alexander Motin
Author: mav Date: Wed Feb 22 06:43:49 2017 New Revision: 314086 URL: https://svnweb.freebsd.org/changeset/base/314086 Log: Fix multiple problems around LUN disable under load. - Move private data about ATIOs/INOTs from per-LUN to per-channel data. This allows active commands to continue

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

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

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

2017-02-21 Thread Dexuan Cui
Author: dexuan Date: Wed Feb 22 06:12:33 2017 New Revision: 314084 URL: https://svnweb.freebsd.org/changeset/base/314084 Log: MFC: 312686 Approved by: sephe (mentor) r312686 hyperv/hn: remove the MTU and IFF_DRV_RUNNING checking in hn_rxpkt() It's unnecessary because th

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

2017-02-21 Thread Dexuan Cui
Author: dexuan Date: Wed Feb 22 06:06:58 2017 New Revision: 314083 URL: https://svnweb.freebsd.org/changeset/base/314083 Log: MFC: 312685 Approved by: sephe(mentor) r312685 hyperv/hn: remember the channel pointer in struct hn_rx_ring This will be used by the coming NIC

svn commit: r314082 - head/sys/dev/iwm

2017-02-21 Thread Adrian Chadd
Author: adrian Date: Wed Feb 22 05:11:24 2017 New Revision: 314082 URL: https://svnweb.freebsd.org/changeset/base/314082 Log: [iwm] Move iwm_dma_contig_alloc/_free functions to if_iwm_util.c. Obtained from:dragonflybsd.git 83a1185edeede081051a6c00417d4c5a8f5988eb Modified: head/

svn commit: r314081 - head/sys/dev/iwm

2017-02-21 Thread Adrian Chadd
Author: adrian Date: Wed Feb 22 04:53:33 2017 New Revision: 314081 URL: https://svnweb.freebsd.org/changeset/base/314081 Log: [iwm] Switch 7265D and 3165 devices to 7265D firmware. Obtained from:dragonflybsd.git 0cb0a810cb4e04b30937cb4260e779f717a86492 Modified: head/sys/dev/iwm

svn commit: r314080 - head/share/man/man4

2017-02-21 Thread Adrian Chadd
Author: adrian Date: Wed Feb 22 04:51:37 2017 New Revision: 314080 URL: https://svnweb.freebsd.org/changeset/base/314080 Log: add 7265D firmware mention in the iwmfw manpage. Modified: head/share/man/man4/iwmfw.4 Modified: head/share/man/man4/iwmfw.4 =

svn commit: r314079 - in head/sys/modules/iwmfw: . iwm7265Dfw

2017-02-21 Thread Adrian Chadd
Author: adrian Date: Wed Feb 22 04:50:52 2017 New Revision: 314079 URL: https://svnweb.freebsd.org/changeset/base/314079 Log: [iwmfw] add 7265D firmware. Added: head/sys/modules/iwmfw/iwm7265Dfw/ head/sys/modules/iwmfw/iwm7265Dfw/Makefile (contents, props changed) Modified: head/sys/mod

svn commit: r314078 - head/sys/conf

2017-02-21 Thread Adrian Chadd
Author: adrian Date: Wed Feb 22 04:44:08 2017 New Revision: 314078 URL: https://svnweb.freebsd.org/changeset/base/314078 Log: add 7265D firmware. Modified: head/sys/conf/files Modified: head/sys/conf/files == --- hea

svn commit: r314077 - head/sys/contrib/dev/iwm

2017-02-21 Thread Adrian Chadd
Author: adrian Date: Wed Feb 22 04:42:02 2017 New Revision: 314077 URL: https://svnweb.freebsd.org/changeset/base/314077 Log: Add 7265D firmware. Added: head/sys/contrib/dev/iwm/iwm-7265D-17.fw.uu Added: head/sys/contrib/dev/iwm/iwm-7265D-17.fw.uu

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

2017-02-21 Thread Eric Badger
On 02/21/2017 05:45 PM, Ravi Pokala wrote: Hi Eric, This appears to break buildworld for a bunch of platforms -- possibly all the ones that use gcc rather than clang? A representative example from sparc64: /usr/home/rpokala/freebsd/clean/base/head/tests/sys/kern/ptrace_test.c: In functio

svn commit: r314076 - in head/sys: conf dev/iwm

2017-02-21 Thread Adrian Chadd
Author: adrian Date: Wed Feb 22 04:35:53 2017 New Revision: 314076 URL: https://svnweb.freebsd.org/changeset/base/314076 Log: [iwm] Move struct iwm_cfg chipset configs to if_iwm_7000.c and _8000.c * This is more similar to how code/definitions are distributed in Linux's iwlwifi. *

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

2017-02-21 Thread Eric Badger
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 introduced in r313992. Reported by: rpokala Approved by: kib (me

svn commit: r314074 - head/sys/dev/iwm

2017-02-21 Thread Adrian Chadd
Author: adrian Date: Wed Feb 22 04:28:10 2017 New Revision: 314074 URL: https://svnweb.freebsd.org/changeset/base/314074 Log: [iwm] Simplify device id matching code a bit. * Just add the struct iwm_cfg pointers to the iwm_devices array, to get rid of the large switch clause. Obtain

svn commit: r314073 - head/sys/dev/iwm

2017-02-21 Thread Adrian Chadd
Author: adrian Date: Wed Feb 22 04:27:07 2017 New Revision: 314073 URL: https://svnweb.freebsd.org/changeset/base/314073 Log: [iwm] Remove OpenBSD-specific comment. Beautify pci cfg space accesses. Obtained from:dragonflybsd.git 710fdd011c30a1bd9f53b87c843fb8907c4a6cfd Modified:

svn commit: r314072 - stable/11/crypto/openssh

2017-02-21 Thread Kurt Lidl
Author: lidl Date: Wed Feb 22 04:15:39 2017 New Revision: 314072 URL: https://svnweb.freebsd.org/changeset/base/314072 Log: MFC r313965: Only notify blacklistd for successful logins in auth.c Before this change, every pass through auth.c resulted in a call to blacklist_notify().

svn commit: r314071 - head/sys/arm/ti

2017-02-21 Thread Ian Lepore
Author: ian Date: Wed Feb 22 03:49:46 2017 New Revision: 314071 URL: https://svnweb.freebsd.org/changeset/base/314071 Log: Revert to this driver's historic behavior: assume an sd card is writable if the fdt data doesn't provide a gpio pin for reading the write protect switch and also doesn't

svn commit: r314070 - head/sys/dev/iwm

2017-02-21 Thread Adrian Chadd
Author: adrian Date: Wed Feb 22 02:51:30 2017 New Revision: 314070 URL: https://svnweb.freebsd.org/changeset/base/314070 Log: [iwm] Fix typo in commit a7697ea01c11fd493aec52260a02f31df680eb91. * The sc->sc_uc.uc_error_event_table value is now at sc->error_event_table, and not sc->umac_e

svn commit: r314069 - head/sys/dev/iwm

2017-02-21 Thread Adrian Chadd
Author: adrian Date: Wed Feb 22 02:49:57 2017 New Revision: 314069 URL: https://svnweb.freebsd.org/changeset/base/314069 Log: [iwm] Get rid of unneeded IWM_FWDMASEGSZ and IWM_FWMAXSIZE constants * We only need IWM_FH_MEM_TB_MAX_LENGTH bytes for the fw_dma memory. Obtained from:

svn commit: r314068 - in head/sys: amd64/amd64 boot/common boot/efi/libefi boot/fdt boot/ficl boot/kshim boot/ofw/libofw boot/sparc64/loader boot/userboot/userboot boot/zfs libkern mips/atheros/ar5...

2017-02-21 Thread Pedro F. Giffuni
Author: pfg Date: Wed Feb 22 02:35:59 2017 New Revision: 314068 URL: https://svnweb.freebsd.org/changeset/base/314068 Log: sys: Replace zero with NULL for pointers. Found with: devel/coccinelle MFC after:3 weeks Differential Revision:https://reviews.freebsd.org/D9694 Modi

svn commit: r314067 - head/sys/dev/iwm

2017-02-21 Thread Adrian Chadd
Author: adrian Date: Wed Feb 22 02:24:42 2017 New Revision: 314067 URL: https://svnweb.freebsd.org/changeset/base/314067 Log: [iwm] With the previous commits, this DELAY no longer seems to be needed. Obtained from:dragonflybsd.git 516272d3d02c821ace16a91cfdeb28540ac74ecc Modified:

svn commit: r314066 - head/sys/dev/iwm

2017-02-21 Thread Adrian Chadd
Author: adrian Date: Wed Feb 22 02:23:14 2017 New Revision: 314066 URL: https://svnweb.freebsd.org/changeset/base/314066 Log: [iwm] Sync IWM_MVM_ALIVE waiting and start_fw handling with iwlwifi. * Use the notification wait API, like it's done in the Linux iwlwifi code, to wait for the I

svn commit: r314065 - head/sys/dev/iwm

2017-02-21 Thread Adrian Chadd
Author: adrian Date: Wed Feb 22 02:18:04 2017 New Revision: 314065 URL: https://svnweb.freebsd.org/changeset/base/314065 Log: [iwm] Synchronize firmware loading code with Linux iwlwifi. * While there, rename some functions to match the names and functionality of the similarly named func

svn commit: r314064 - head/sys/arm/ti

2017-02-21 Thread Ian Lepore
Author: ian Date: Wed Feb 22 01:07:04 2017 New Revision: 314064 URL: https://svnweb.freebsd.org/changeset/base/314064 Log: Remove a variable that has been unused since r311735 (it should have been removed as part of those changes). Modified: head/sys/arm/ti/ti_sdhci.c Modified: head/sys/ar

svn commit: r314063 - stable/11/sys/kern

2017-02-21 Thread Mark Johnston
Author: markj Date: Wed Feb 22 00:50:36 2017 New Revision: 314063 URL: https://svnweb.freebsd.org/changeset/base/314063 Log: MFC r313261: Make witness_warn() always print to the console. Modified: stable/11/sys/kern/subr_witness.c Directory Properties: stable/11/ (props changed) Modifi

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

2017-02-21 Thread Ravi Pokala
Hi Eric, This appears to break buildworld for a bunch of platforms -- possibly all the ones that use gcc rather than clang? A representative example from sparc64: /usr/home/rpokala/freebsd/clean/base/head/tests/sys/kern/ptrace_test.c: In function 'atfu_ptrace__PT_KILL_breakpoint_body':

svn commit: r314062 - head/sys/dev/qlxgbe

2017-02-21 Thread David C Somayajulu
Author: davidcs Date: Tue Feb 21 23:32:27 2017 New Revision: 314062 URL: https://svnweb.freebsd.org/changeset/base/314062 Log: add bus_dmamap_unload in ql_free_dmabuf() MFC after:5 days Modified: head/sys/dev/qlxgbe/ql_os.c Modified: head/sys/dev/qlxgbe/ql_os.c =

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

2017-02-21 Thread Adrian Chadd
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? -adrian ___ svn-src-all@freebsd.org mailing list htt

svn commit: r314061 - head/lib/libcxxrt

2017-02-21 Thread Dimitry Andric
Author: dim Date: Tue Feb 21 21:48:45 2017 New Revision: 314061 URL: https://svnweb.freebsd.org/changeset/base/314061 Log: Add __int128-related symbols to libcxxrt's version map. Put these into the same CXXABI verions as recent libstdc++. Note that __int128 types are only available on ar

Re: svn commit: r313982 - in head/sys/dev: agp al_eth an arcmsr bce beri/virtio bhnd/cores/usb buslogic ce cm cp ctau cx de ed fatm fe firewire hptiop hptmv iicbus isp le md ncr netmap ofw patm pccard

2017-02-21 Thread Piotr P. Stefaniak
On 2017-02-21 21:59:47, Piotr P. Stefaniak wrote: $ tcc -Wt,f ./test.c -o test Oops, of course it's "-Wt,-f". signature.asc Description: PGP signature

Re: svn commit: r313850 - in head/sys/cddl/dev/dtrace: amd64 i386

2017-02-21 Thread Mark Johnston
On Fri, Feb 17, 2017 at 05:05:54PM +1100, Bruce Evans wrote: > On Fri, 17 Feb 2017, Mark Johnston wrote: > > > Log: > > Directly include needed headers rather than relying on pollution. > > > > We get machine/cpu.h via kmem.h -> proc.h -> _vm_domain.h -> seq.h. > > machine/cpu.h is not added he

svn commit: r314060 - head/sys/dev/sdhci

2017-02-21 Thread Ian Lepore
Author: ian Date: Tue Feb 21 21:21:58 2017 New Revision: 314060 URL: https://svnweb.freebsd.org/changeset/base/314060 Log: Fix typos in bootverbose printfs... display the write-protect pin info, not the card-detect pin info. Modified: head/sys/dev/sdhci/sdhci_fdt_gpio.c Modified: head/sys/

svn commit: r314059 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2017-02-21 Thread Andriy Gapon
Author: avg Date: Tue Feb 21 21:11:58 2017 New Revision: 314059 URL: https://svnweb.freebsd.org/changeset/base/314059 Log: zfs: move zio_taskq_basedc under SYSDC That knob is useless without SDC (or alike) scheduling class support. That is, it's unused on FreeBSD. MFC after:4 day

svn commit: r314058 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2017-02-21 Thread Andriy Gapon
Author: avg Date: Tue Feb 21 21:09:21 2017 New Revision: 314058 URL: https://svnweb.freebsd.org/changeset/base/314058 Log: zfs: lower priority of zio_write_issue threads by four The difference of one was insignificant because zio_write_issue threads ended up on the same run queues as othe

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

2017-02-21 Thread Mark Johnston
Author: markj Date: Tue Feb 21 21:06:12 2017 New Revision: 314057 URL: https://svnweb.freebsd.org/changeset/base/314057 Log: ddb show pte: use pmap of kdb_thread show pte from the pmap of the process of the current DDB thread, instead of necessarily the PCPU pmap. Submitted by: Ryan

svn commit: r314056 - in head: share/doc/pjdfstest tests/sys/pjdfstest/tests

2017-02-21 Thread Alan Somers
Author: asomers Date: Tue Feb 21 21:01:01 2017 New Revision: 314056 URL: https://svnweb.freebsd.org/changeset/base/314056 Log: Improve pjdfstest run instructions In the Kyua era, it's no longer necessary to set PJDFSTEST_TEST_PATH. Just use TMPDIR instead. Reviewed by: ngie MFC a

Re: svn commit: r313982 - in head/sys/dev: agp al_eth an arcmsr bce beri/virtio bhnd/cores/usb buslogic ce cm cp ctau cx de ed fatm fe firewire hptiop hptmv iicbus isp le md ncr netmap ofw patm pccard

2017-02-21 Thread Piotr P. Stefaniak
On 2017-02-22 00:46:31, Bruce Evans wrote: On Mon, 20 Feb 2017, Conrad Meyer wrote: Maybe this is moot. I don't believe any architecture FreeBSD actually supports has non-zero bitpattern NULL, but something weird like CHERI might. Compilers should do portability checks on it. In fact, the co

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

2017-02-21 Thread Eric van Gyzen
Author: vangyzen Date: Tue Feb 21 19:51:41 2017 New Revision: 314055 URL: https://svnweb.freebsd.org/changeset/base/314055 Log: Make several improvements and corrections in the kenv(2) man page MFC after:3 days Sponsored by: Dell EMC Modified: head/lib/libc/sys/kenv.2 Modified: he

svn commit: r314054 - in head/sys: conf modules/linux modules/linux64 modules/svr4 modules/vmm

2017-02-21 Thread Ed Maste
Author: emaste Date: Tue Feb 21 18:59:17 2017 New Revision: 314054 URL: https://svnweb.freebsd.org/changeset/base/314054 Log: Exclude -flto when building *genassym.o The build process generates *assym.h using nm from *genassym.o (which is in turn created from *genassym.c). When compi

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-21 Thread Ngie Cooper (yaneurabeya)
> On Feb 21, 2017, at 05:41, Dag-Erling Smørgrav wrote: > > Bryan Drewery writes: >> Did you intend to delete the tests? > > Yes. It just occurred to me that they should probably be added to > ObsoleteFiles.inc… Already done :). I figured that you had good reasons for doing this aft

svn commit: r314053 - head/sys/kern

2017-02-21 Thread Warner Losh
Author: imp Date: Tue Feb 21 18:56:06 2017 New Revision: 314053 URL: https://svnweb.freebsd.org/changeset/base/314053 Log: Make the code match the comments: If we have ANY buf's that failed then return EAGAIN. The current code just returns that if the LAST buf failed. Reviewed by: kib@,

Re: svn commit: r313938 - head/usr.bin/lam

2017-02-21 Thread Ngie Cooper (yaneurabeya)
> On Feb 18, 2017, at 22:02, Allan Jude wrote: > > Author: allanjude > Date: Sun Feb 19 06:02:41 2017 > New Revision: 313938 > URL: https://svnweb.freebsd.org/changeset/base/313938 > > Log: > Capsicum-ize lam(1) > > lam(1) is used in portsnap(8), so lock it down > > Reviewed by: emaste, ce

svn commit: r314051 - head

2017-02-21 Thread Warner Losh
Author: imp Date: Tue Feb 21 18:49:30 2017 New Revision: 314051 URL: https://svnweb.freebsd.org/changeset/base/314051 Log: Document why cat is a bootstrap tool. Modified: head/Makefile.inc1 Modified: head/Makefile.inc1 =

svn commit: r314052 - head/sys/sys

2017-02-21 Thread Warner Losh
Author: imp Date: Tue Feb 21 18:49:51 2017 New Revision: 314052 URL: https://svnweb.freebsd.org/changeset/base/314052 Log: Document what the different flags mean for locking. Modified: head/sys/sys/bufobj.h Modified: head/sys/sys/bufobj.h =

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

2017-02-21 Thread Hans Petter Selasky
Author: hselasky Date: Tue Feb 21 18:04:21 2017 New Revision: 314050 URL: https://svnweb.freebsd.org/changeset/base/314050 Log: Replace dummy implementation of RCU in the LinuxKPI with one based on the in-kernel concurrency kit's ck_epoch API. Factor RCU hlist_xxx() functions into own rculis

svn commit: r314049 - head

2017-02-21 Thread Andriy Gapon
== --- head/UPDATING Tue Feb 21 17:47:08 2017(r314048) +++ head/UPDATING Tue Feb 21 17:54:38 2017(r314049) @@ -51,6 +51,12 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 12 ** SPECIAL WARNING: ** +20170221

svn commit: r314048 - in head/sys/cddl: compat/opensolaris/kern contrib/opensolaris/uts/common/fs/zfs contrib/opensolaris/uts/common/fs/zfs/sys

2017-02-21 Thread Andriy Gapon
Author: avg Date: Tue Feb 21 17:47:08 2017 New Revision: 314048 URL: https://svnweb.freebsd.org/changeset/base/314048 Log: reimplement zfsctl (.zfs) support The current code is written on top of GFS, a library with the generic support for writing filesystems, which was ported from illumos

svn commit: r314047 - head/sys/mips/conf

2017-02-21 Thread Brooks Davis
Author: brooks Date: Tue Feb 21 17:34:27 2017 New Revision: 314047 URL: https://svnweb.freebsd.org/changeset/base/314047 Log: Rename BERI_TEMPLATE to std.BERI to be more like other configs. Sponsored by: DARPA, AFRL Added: head/sys/mips/conf/std.BERI - copied, changed from r314046,

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

2017-02-21 Thread Bryan Drewery
On 2/17/2017 9:07 PM, Bryan Drewery wrote: > Author: bdrewery > Date: Sat Feb 18 05:07:53 2017 > New Revision: 313909 > URL: https://svnweb.freebsd.org/changeset/base/313909 > > Log: > Fix panic with unlocked vnode to vrecycle(). > > MFC after: 2 weeks > > Modified: > head/sys/kern/uipc

svn commit: r314046 - head/sys/compat/linux

2017-02-21 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Feb 21 15:57:01 2017 New Revision: 314046 URL: https://svnweb.freebsd.org/changeset/base/314046 Log: Get rid of foo_sys() in linuxulator code. It was commented out, and it would be useless anyway - there is no point in pretending to have block devices; our "block" de

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

2017-02-21 Thread Ryan Stone
On Tue, Feb 21, 2017 at 10:07 AM, Pedro Giffuni wrote: > Good point: it doesn't. > > The change gets ignored but it doesn't break the converter. At least not > immediately, the github converter in AOO breaks frequently but it is > probably unrelated. > It wouldn't "break" the converter but it wo

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

2017-02-21 Thread Pedro Giffuni
On 2/21/2017 2:11 AM, Andriy Gapon wrote: On 21/02/2017 02:42, Pedro Giffuni wrote: FWIW, On 2/20/2017 7:24 PM, Bryan Drewery wrote: On 2/17/2017 7:40 AM, Mateusz Guzik wrote: Author: mjg Date: Fri Feb 17 15:40:24 2017 New Revision: 313878 URL: https://svnweb.freebsd.org/changeset/base/313

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

2017-02-21 Thread Alexey Dokuchaev
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 harmless (e.g. > random_pid), others are likely to cause confusion for new and > experienced users alike (e.g. proc_d

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

2017-02-21 Thread Kyle Evans
On Tue, Feb 21, 2017 at 1:11 AM, Andriy Gapon wrote: > On 21/02/2017 02:42, Pedro Giffuni wrote: >> [...] >> >> As I mentioned in another thread, other svn configurations (ASF, for example) >> permit editing the log message: >> >> http://help.collab.net/index.jsp?topic=/faq/changelog.html > > How

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

2017-02-21 Thread Eric Badger
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: https://svnweb.freebsd.org/changeset/base/314036 Log: Enable bsdinstall hardening options by default. As discussed previously, in order to introduce new O

svn commit: r314045 - head/sys/dev/isp

2017-02-21 Thread Alexander Motin
Author: mav Date: Tue Feb 21 14:31:58 2017 New Revision: 314045 URL: https://svnweb.freebsd.org/changeset/base/314045 Log: Remove duplicate INOT allocation. For some reason isp_handle_platform_notify_fc() allocated INOT just before calling isp_handle_platform_target_tmf(), which also allo

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

2017-02-21 Thread Hans Petter Selasky
Author: hselasky Date: Tue Feb 21 14:22:14 2017 New Revision: 314044 URL: https://svnweb.freebsd.org/changeset/base/314044 Log: Streamline the LinuxKPI spinlock wrappers. 1) Add better spinlock debug names when WITNESS_ALL is defined. 2) Make sure that the calling thread gets bound to

Re: svn commit: r313982 - in head/sys/dev: agp al_eth an arcmsr bce beri/virtio bhnd/cores/usb buslogic ce cm cp ctau cx de ed fatm fe firewire hptiop hptmv iicbus isp le md ncr netmap ofw patm pccard

2017-02-21 Thread Bruce Evans
On Mon, 20 Feb 2017, Conrad Meyer wrote: On Sun, Feb 19, 2017 at 7:43 PM, Pedro F. Giffuni wrote: ... Log: sys/dev: Replace zero with NULL for pointers. Makes things easier to read, plus architectures may set NULL to something different than zero. ... I like the change for style reason

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-21 Thread Dag-Erling Smørgrav
Bryan Drewery writes: > Did you intend to delete the tests? Yes. It just occurred to me that they should probably be added to ObsoleteFiles.inc... DES -- Dag-Erling Smørgrav - d...@des.no ___ svn-src-all@freebsd.org mailing list https://lists.freebsd

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

2017-02-21 Thread Hans Petter Selasky
Author: hselasky Date: Tue Feb 21 13:23:53 2017 New Revision: 314043 URL: https://svnweb.freebsd.org/changeset/base/314043 Log: Add support for LinuxKPI tasklets. Tasklets are implemented using a taskqueue and a small statemachine on top. The additional statemachine is required to ensure

svn commit: r314042 - stable/11/sbin/fsck_ffs

2017-02-21 Thread Renato Botelho
Author: garga (ports committer) Date: Tue Feb 21 12:51:45 2017 New Revision: 314042 URL: https://svnweb.freebsd.org/changeset/base/314042 Log: MFC r313745: * Add missing parameters to usage() * Add missing parameters to manpage synopsis * Add missing description of -d flag * Sort flag

svn commit: r314041 - stable/11/usr.sbin/ndp

2017-02-21 Thread Renato Botelho
Author: garga (ports committer) Date: Tue Feb 21 12:45:56 2017 New Revision: 314041 URL: https://svnweb.freebsd.org/changeset/base/314041 Log: MFC r313737: Fix style(9) Reviewed by: allanjude, vangyzen Approved by: allanjude MFC after:1 week Sponsored by: Rubicon Communicat

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

2017-02-21 Thread Hans Petter Selasky
Author: hselasky Date: Tue Feb 21 12:43:02 2017 New Revision: 314040 URL: https://svnweb.freebsd.org/changeset/base/314040 Log: Make the LinuxKPI task struct persistent accross system calls. A set of helper functions have been added to manage the life of the LinuxKPI task struct. When an

svn commit: r314039 - head/usr.bin/sockstat

2017-02-21 Thread Renato Botelho
Author: garga (ports committer) Date: Tue Feb 21 12:37:59 2017 New Revision: 314039 URL: https://svnweb.freebsd.org/changeset/base/314039 Log: Fix style(9) Reviewed by: ngie, tuexen, vangyzen, allanjude Approved by: allanjude MFC after:1 week Sponsored by: Rubicon Communications

svn commit: r314038 - head/sys/dev/isp

2017-02-21 Thread Alexander Motin
Author: mav Date: Tue Feb 21 12:29:07 2017 New Revision: 314038 URL: https://svnweb.freebsd.org/changeset/base/314038 Log: Remove ancient __FreeBSD_version checks. MFC after:2 weeks Modified: head/sys/dev/isp/isp_freebsd.c head/sys/dev/isp/isp_freebsd.h Modified: head/sys/dev/isp/

svn commit: r314037 - head/sys/dev/jedec_ts

2017-02-21 Thread Andriy Gapon
Author: avg Date: Tue Feb 21 12:24:31 2017 New Revision: 314037 URL: https://svnweb.freebsd.org/changeset/base/314037 Log: jedec_ts: fix slave address check The mask should cover all bits that can not vary. MFC after:3 days Modified: head/sys/dev/jedec_ts/jedec_ts.c Modified: h

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

2017-02-21 Thread Bartek Rutkowski
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 previously, in order to introduce new OS hardening defaults, we've added them to bsdi

svn commit: r314035 - head/sys/x86/x86

2017-02-21 Thread Andriy Gapon
Author: avg Date: Tue Feb 21 09:33:21 2017 New Revision: 314035 URL: https://svnweb.freebsd.org/changeset/base/314035 Log: mca: change type of last_intr to time_t for consinstency time_uptime is time_t MFC after:1 day X-MFC with: r313752 Modified: head/sys/x86/x86/mca.c Mod

svn commit: r314034 - in stable/10/sys: fs/nfsserver rpc

2017-02-21 Thread Andriy Gapon
Author: avg Date: Tue Feb 21 09:29:46 2017 New Revision: 314034 URL: https://svnweb.freebsd.org/changeset/base/314034 Log: MFC r313735: add svcpool_close to handle killed nfsd threads PR: 204340 Reported by: Panzura Reviewed by: rmacklem Approved by: rmacklem Modified:

svn commit: r314033 - in stable/11/sys: fs/nfsserver rpc

2017-02-21 Thread Andriy Gapon
Author: avg Date: Tue Feb 21 09:29:11 2017 New Revision: 314033 URL: https://svnweb.freebsd.org/changeset/base/314033 Log: MFC r313735: add svcpool_close to handle killed nfsd threads PR: 204340 Reported by: Panzura Approved by: rmacklem Obtained from:rmacklem Mod

svn commit: r314031 - stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2017-02-21 Thread Andriy Gapon
Author: avg Date: Tue Feb 21 09:13:34 2017 New Revision: 314031 URL: https://svnweb.freebsd.org/changeset/base/314031 Log: MFC r313687: remove l2_padding_needed statistic from zfs arc Modified: stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c Directory Properties: stable/11/

svn commit: r314032 - stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2017-02-21 Thread Andriy Gapon
Author: avg Date: Tue Feb 21 09:13:38 2017 New Revision: 314032 URL: https://svnweb.freebsd.org/changeset/base/314032 Log: MFC r313687: remove l2_padding_needed statistic from zfs arc Modified: stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c Directory Properties: stable/10/

svn commit: r314029 - stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2017-02-21 Thread Andriy Gapon
Author: avg Date: Tue Feb 21 08:57:27 2017 New Revision: 314029 URL: https://svnweb.freebsd.org/changeset/base/314029 Log: MFC r313686: check remaining space in zfs implementations of vptocnp PR: 216939 Modified: stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ctld

svn commit: r314030 - stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2017-02-21 Thread Andriy Gapon
Author: avg Date: Tue Feb 21 08:57:28 2017 New Revision: 314030 URL: https://svnweb.freebsd.org/changeset/base/314030 Log: MFC r313686: check remaining space in zfs implementations of vptocnp PR: 216939 Modified: stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ctld