svn commit: r319687 - head/sys/netinet

2017-06-07 Thread Gleb Smirnoff
Author: glebius Date: Thu Jun 8 06:37:11 2017 New Revision: 319687 URL: https://svnweb.freebsd.org/changeset/base/319687 Log: This code was missing socket unlock and socket buffer lock, but it worked since right now these two locks are the same. Modified: head/sys/netinet/sctputil.c Modif

svn commit: r319686 - head/sys/netinet

2017-06-07 Thread Gleb Smirnoff
Author: glebius Date: Thu Jun 8 06:34:09 2017 New Revision: 319686 URL: https://svnweb.freebsd.org/changeset/base/319686 Log: The desired lock here is socket buffer, not socket. Right now they match, but won't in future. Modified: head/sys/netinet/sctp_pcb.c Modified: head/sys/netinet/

svn commit: r319685 - head/sys/kern

2017-06-07 Thread Gleb Smirnoff
Author: glebius Date: Thu Jun 8 06:16:47 2017 New Revision: 319685 URL: https://svnweb.freebsd.org/changeset/base/319685 Log: Fix a degenerate case when soisdisconnected() would call soisconnected(). This happens when closing a socket with upcall, and trace is: soclose()-> ... protocol .

svn commit: r319684 - head/tools/regression/sockets/accf_data_attach

2017-06-07 Thread Gleb Smirnoff
Author: glebius Date: Thu Jun 8 06:13:53 2017 New Revision: 319684 URL: https://svnweb.freebsd.org/changeset/base/319684 Log: Make the test to leave one connection on the incomplete queue before exiting. This examines some race conditions in kernel. Modified: head/tools/regression/sockets

svn commit: r319683 - head/tools/regression/sockets/accf_data_attach

2017-06-07 Thread Gleb Smirnoff
Author: glebius Date: Thu Jun 8 05:12:11 2017 New Revision: 319683 URL: https://svnweb.freebsd.org/changeset/base/319683 Log: Improve this unit test: make sure that the accept filter actually works. Before this test just checked scenario of setting and removing the accept filter at diffe

svn commit: r319682 - head/usr.sbin/bhyve

2017-06-07 Thread Marcelo Araujo
Author: araujo Date: Thu Jun 8 04:54:15 2017 New Revision: 319682 URL: https://svnweb.freebsd.org/changeset/base/319682 Log: Make the VNC authentication build with LibreSSL on HardenedBSD and TrueOS. PR: 219790 Submitted by: Shirkdog Reviewed by: grehan and rgrimes MFC af

svn commit: r319681 - head/usr.bin/truss

2017-06-07 Thread John Baldwin
Author: jhb Date: Thu Jun 8 04:50:50 2017 New Revision: 319681 URL: https://svnweb.freebsd.org/changeset/base/319681 Log: Decode arguments to mlock(), mlockall(), and munlock(). Modified: head/usr.bin/truss/syscall.h head/usr.bin/truss/syscalls.c Modified: head/usr.bin/truss/syscall.h ===

svn commit: r319680 - head/usr.bin/truss

2017-06-07 Thread John Baldwin
Author: jhb Date: Thu Jun 8 04:45:13 2017 New Revision: 319680 URL: https://svnweb.freebsd.org/changeset/base/319680 Log: Decode arguments to minherit(). Modified: head/usr.bin/truss/syscall.h head/usr.bin/truss/syscalls.c Modified: head/usr.bin/truss/syscall.h ===

svn commit: r319679 - head/usr.bin/truss

2017-06-07 Thread John Baldwin
Author: jhb Date: Thu Jun 8 04:31:15 2017 New Revision: 319679 URL: https://svnweb.freebsd.org/changeset/base/319679 Log: Decode arguments passed to extended attribute related system calls. The cmd argument passed to extattrctl() is not decoded as a string constant but is just printed in

svn commit: r319678 - in head/sys: kern sys x86/x86

2017-06-07 Thread Marcelo Araujo
Author: araujo Date: Thu Jun 8 04:02:14 2017 New Revision: 319678 URL: https://svnweb.freebsd.org/changeset/base/319678 Log: Allow sysctl kern.vm_guest to return bhyve when running under bhyve. Submitted by: Sean Fagan Reviewed by: grehan MFH: 4 weeks. Sponsored by: iXsyst

Re: svn commit: r317512 - in head: sys/conf sys/libkern sys/libkern/arm64 sys/sys tests/sys/kern

2017-06-07 Thread Ed Maste
On 7 June 2017 at 18:18, Ed Maste wrote: > On 27 April 2017 at 13:53, Michael Tuexen wrote: >> Author: tuexen >> Date: Thu Apr 27 17:53:05 2017 >> New Revision: 317512 >> URL: https://svnweb.freebsd.org/changeset/base/317512 > > FYI when compiling this with the clang500-import branch I see: > > /

svn commit: r319677 - head/usr.bin/truss

2017-06-07 Thread John Baldwin
Author: jhb Date: Thu Jun 8 03:51:17 2017 New Revision: 319677 URL: https://svnweb.freebsd.org/changeset/base/319677 Log: Decode arguments to ACL related system calls. This only decodes the raw arguments but not the contents of the struct acl objects. Modified: head/usr.bin/truss/sysc

svn commit: r319676 - head/usr.bin/patch

2017-06-07 Thread Pedro F. Giffuni
Author: pfg Date: Thu Jun 8 03:15:08 2017 New Revision: 319676 URL: https://svnweb.freebsd.org/changeset/base/319676 Log: patch: if reading fails, do not go into infinite loop asking for a filename. This can happen if no tty is available. Obtained from:OpenBSD (CVS rev 1.54)

Re: svn commit: r319675 - in head/sys/compat/linuxkpi/common: include/linux src

2017-06-07 Thread Justin Hibbits
On Wednesday, June 7, 2017, Justin Hibbits wrote: > Author: jhibbits > Date: Thu Jun 8 02:44:34 2017 > New Revision: 319675 > URL: https://svnweb.freebsd.org/changeset/base/319675 > > Log: > Remove ARM and MIPS from linuxkpi ioremap_attr definition > > ARM and MIPS fail universe builds. > >

svn commit: r319675 - in head/sys/compat/linuxkpi/common: include/linux src

2017-06-07 Thread Justin Hibbits
Author: jhibbits Date: Thu Jun 8 02:44:34 2017 New Revision: 319675 URL: https://svnweb.freebsd.org/changeset/base/319675 Log: Remove ARM and MIPS from linuxkpi ioremap_attr definition ARM and MIPS fail universe builds. ARM and MIPS are missing the following: * VM_MEMATTR_WRITE_THRO

svn commit: r319674 - in head: share/misc usr.bin/calendar/calendars

2017-06-07 Thread Richard Gallamore
Author: ultima (ports committer) Date: Thu Jun 8 01:42:32 2017 New Revision: 319674 URL: https://svnweb.freebsd.org/changeset/base/319674 Log: Add myself (ultima) as a new port committer. Reviewed by: matthew (mentor), lifanov (mentor) Approved by: matthew (mentor), lifanov (mentor)

svn commit: r319673 - in head: . etc/mtree

2017-06-07 Thread Baptiste Daroussin
Author: bapt Date: Thu Jun 8 01:41:20 2017 New Revision: 319673 URL: https://svnweb.freebsd.org/changeset/base/319673 Log: Remove directories for the roff documentations which is built and installed anymore Reported by: trasz Modified: head/ObsoleteFiles.inc head/etc/mtree/BSD.usr.

svn commit: r319672 - head/cddl/contrib/opensolaris/cmd/zpool

2017-06-07 Thread Allan Jude
Author: allanjude Date: Thu Jun 8 01:39:17 2017 New Revision: 319672 URL: https://svnweb.freebsd.org/changeset/base/319672 Log: New sentences start on new lines, fix two violations Reviewed by: bcr Sponsored by: BSDCan Dev Summit Modified: head/cddl/contrib/opensolaris/cmd/zpool/zpoo

svn commit: r319671 - head/cddl/contrib/opensolaris/cmd/zpool

2017-06-07 Thread Allan Jude
Author: allanjude Date: Thu Jun 8 01:29:24 2017 New Revision: 319671 URL: https://svnweb.freebsd.org/changeset/base/319671 Log: SHA-512 and Skein have been supported by the boot loader for some time. Submitted by: lifanov Reviewed by: bcr Sponsored by: BSDCan Dev Summit Modified: h

Re: svn commit: r319664 - in head: . contrib/groff etc etc/mtree gnu/usr.bin gnu/usr.bin/groff release share share/me share/mk tools/build/mk tools/build/options usr.bin usr.bin/checknr usr.bin/colcrt

2017-06-07 Thread Ravi Pokala
+OLD_FILES+=usr/share/tmac/trace.tmac +OLD_FILES+=usr/share/tmac/troffrc +OLD_FILES+=usr/share/tmac/troffrc-end +OLD_FILES+=usr/share/tmac/tty-char.tmac +OLD_FILES+=usr/share/tmac/tty.tmac +OLD_FILES+=usr/share/tmac/unicode.tmac +OLD_FILES+=usr/share/tmac/www.tmac +OLD_DIRS+=usr/share/tmac # 20170

svn commit: r319670 - head/contrib/smbfs/lib/smb

2017-06-07 Thread Josh Paetzel
Author: jpaetzel Date: Thu Jun 8 00:48:26 2017 New Revision: 319670 URL: https://svnweb.freebsd.org/changeset/base/319670 Log: Fix SMBFS when saved passwords are greater than 18 characters PR: 132302 Submitted by: dhorn2...@gmail.com g...@unixarea.de MFC after:1 week Modified:

svn commit: r319669 - head

2017-06-07 Thread Baptiste Daroussin
Author: bapt Date: Thu Jun 8 00:41:25 2017 New Revision: 319669 URL: https://svnweb.freebsd.org/changeset/base/319669 Log: Fix src.conf.5 generation When makeman is generating src.conf(5) it tries to test all variation of options including WITH_DIRDEPS_BUILD. it results in an error when

svn commit: r319668 - head/share/man/man5

2017-06-07 Thread Baptiste Daroussin
Author: bapt Date: Thu Jun 8 00:36:58 2017 New Revision: 319668 URL: https://svnweb.freebsd.org/changeset/base/319668 Log: Regenerate src.conf.5 after removal of groff Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5 =

Re: svn commit: r319664 - in head: . contrib/groff etc etc/mtree gnu/usr.bin gnu/usr.bin/groff release share share/me share/mk tools/build/mk tools/build/options usr.bin usr.bin/checknr usr.bin/colcrt

2017-06-07 Thread Ravi Pokala
+OLD_FILES+=usr/share/tmac/www.tmac +OLD_DIRS+=usr/share/tmac # 20170607: remove incorrect atf_check(1) manpage link OLD_FILES+=usr/share/man/man1/atf_check.1.gz # 20170601: remove stale manpage Modified: head/UPDATING

svn commit: r319667 - head/tools/build/options

2017-06-07 Thread Baptiste Daroussin
Author: bapt Date: Wed Jun 7 23:42:37 2017 New Revision: 319667 URL: https://svnweb.freebsd.org/changeset/base/319667 Log: Remove some workaround for an option that does not exists anymore. Modified: head/tools/build/options/makeman Modified: head/tools/build/options/makeman ===

svn commit: r319666 - head/usr.bin

2017-06-07 Thread Baptiste Daroussin
Author: bapt Date: Wed Jun 7 23:41:33 2017 New Revision: 319666 URL: https://svnweb.freebsd.org/changeset/base/319666 Log: Remove leftovers from groff removal Reported by: rpokala Modified: head/usr.bin/Makefile Modified: head/usr.bin/Makefile =

svn commit: r319665 - in head: share/mk tools/build/options

2017-06-07 Thread Baptiste Daroussin
Author: bapt Date: Wed Jun 7 23:26:28 2017 New Revision: 319665 URL: https://svnweb.freebsd.org/changeset/base/319665 Log: Finish removal of groff Deleted: head/tools/build/options/WITH_GROFF Modified: head/share/mk/src.opts.mk Modified: head/share/mk/src.opts.mk =

svn commit: r319664 - in head: . contrib/groff etc etc/mtree gnu/usr.bin gnu/usr.bin/groff release share share/me share/mk tools/build/mk tools/build/options usr.bin usr.bin/checknr usr.bin/colcrt

2017-06-07 Thread Baptiste Daroussin
-char.tmac +OLD_FILES+=usr/share/tmac/tty.tmac +OLD_FILES+=usr/share/tmac/unicode.tmac +OLD_FILES+=usr/share/tmac/www.tmac +OLD_DIRS+=usr/share/tmac # 20170607: remove incorrect atf_check(1) manpage link OLD_FILES+=usr/share/man/man1/atf_check.1.gz # 20170601: remove stale manpage Modified: head

Re: svn commit: r317512 - in head: sys/conf sys/libkern sys/libkern/arm64 sys/sys tests/sys/kern

2017-06-07 Thread Ed Maste
On 27 April 2017 at 13:53, Michael Tuexen wrote: > Author: tuexen > Date: Thu Apr 27 17:53:05 2017 > New Revision: 317512 > URL: https://svnweb.freebsd.org/changeset/base/317512 FYI when compiling this with the clang500-import branch I see: /scratch/tmp/emaste/freebsd/sys/libkern/arm64/crc32c_ar

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

2017-06-07 Thread Jilles Tjoelker
Author: jilles Date: Wed Jun 7 21:21:14 2017 New Revision: 319663 URL: https://svnweb.freebsd.org/changeset/base/319663 Log: libc: Remove futimens() and utimensat() compat stubs. The futimens() and utimensat() compat stubs allowed using these functions on kernels that did not have the sy

svn commit: r319662 - head/libexec/atf/atf-sh

2017-06-07 Thread Ngie Cooper
Author: ngie Date: Wed Jun 7 21:18:28 2017 New Revision: 319662 URL: https://svnweb.freebsd.org/changeset/base/319662 Log: Add MLINKS for atf-sh(3) to each of the functions it implements This hopefully will make atf-sh(3) easier to understand for newcomers, without having to go through t

svn commit: r319661 - head

2017-06-07 Thread Ngie Cooper
-n1 | sort | uniq -d; # done +# 20170607: remove incorrect atf_check(1) manpage link +OLD_FILES+=usr/share/man/man1/atf_check.1.gz # 20170601: remove stale manpage OLD_FILES+=usr/share/man/man2/cap_rights_get.2.gz # 20170601: old libifconfig and libifc

svn commit: r319660 - head/libexec/atf/atf-check

2017-06-07 Thread Ngie Cooper
Author: ngie Date: Wed Jun 7 21:11:32 2017 New Revision: 319660 URL: https://svnweb.freebsd.org/changeset/base/319660 Log: Revert r319659 I missed the fact that atf-sh(3) already documents atf_check(3). I'll be adding an manpage link for that instead in the next commit. MFC after:

svn commit: r319659 - head/libexec/atf/atf-check

2017-06-07 Thread Ngie Cooper
Author: ngie Date: Wed Jun 7 21:03:27 2017 New Revision: 319659 URL: https://svnweb.freebsd.org/changeset/base/319659 Log: Add an MLINK for atf_check(1) -> atf-check(1) This is being done to make the documentation for atf-check(1) easier to find/more intuitive for new users, because atf

svn commit: r319658 - head/tools/tools/sysdoc

2017-06-07 Thread Bryan Drewery
Author: bdrewery Date: Wed Jun 7 19:42:17 2017 New Revision: 319658 URL: https://svnweb.freebsd.org/changeset/base/319658 Log: vm.defer_swapspace_pageouts was removed in r308474. Reported by: pstef Modified: head/tools/tools/sysdoc/tunables.mdoc Modified: head/tools/tools/sysdoc/tunab

svn commit: r319657 - head/sys/conf

2017-06-07 Thread Bryan Drewery
Author: bdrewery Date: Wed Jun 7 19:36:17 2017 New Revision: 319657 URL: https://svnweb.freebsd.org/changeset/base/319657 Log: vm.defer_swapspace_pageouts was removed in r308474. Modified: head/sys/conf/NOTES Modified: head/sys/conf/NOTES

svn commit: r319656 - in head/sys/compat/linuxkpi/common: include/asm include/linux src

2017-06-07 Thread Justin Hibbits
Author: jhibbits Date: Wed Jun 7 18:08:11 2017 New Revision: 319656 URL: https://svnweb.freebsd.org/changeset/base/319656 Log: Add more #ifdef arch checks to the linuxkpi arm, mips, and powerpc all implement pmap_mapdev_attr() and pmap_unmapdev(), so add those archs to the checks. power

svn commit: r319655 - head/sys/kern

2017-06-07 Thread Alan Cox
Author: alc Date: Wed Jun 7 16:04:34 2017 New Revision: 319655 URL: https://svnweb.freebsd.org/changeset/base/319655 Log: Originally, this file could be compiled as a user-space application for testing purposes. However, over the years, various changes to the kernel have broken this featur

Re: svn commit: r319611 - in head: sys/kern sys/sys usr.sbin/jail

2017-06-07 Thread Allan Jude
On June 7, 2017 4:20:33 AM EDT, Alexander Leidinger wrote: > >Quoting Allan Jude (from Tue, 6 Jun 2017 >02:15:01 + (UTC)): > >> Author: allanjude >> Date: Tue Jun 6 02:15:00 2017 >> New Revision: 319611 >> URL: https://svnweb.freebsd.org/changeset/base/319611 >> >> Log: >> Jails: Option

svn commit: r319649 - head/sys/dev/rtwn/rtl8188e

2017-06-07 Thread Kevin Lo
Author: kevlo Date: Wed Jun 7 09:10:24 2017 New Revision: 319649 URL: https://svnweb.freebsd.org/changeset/base/319649 Log: Change R88E_EFUSE_MAX_LEN to use the same value as the vendor's driver that contains the length of the efuse content. Reviewed by: avos Modified: head/sys/dev/r

Re: svn commit: r319611 - in head: sys/kern sys/sys usr.sbin/jail

2017-06-07 Thread Alexander Leidinger
Quoting Allan Jude (from Tue, 6 Jun 2017 02:15:01 + (UTC)): Author: allanjude Date: Tue Jun 6 02:15:00 2017 New Revision: 319611 URL: https://svnweb.freebsd.org/changeset/base/319611 Log: Jails: Optionally prevent jailed root from binding to privileged ports You may now optionall