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

2017-05-28 Thread Andriy Gapon
Author: avg Date: Mon May 29 06:30:34 2017 New Revision: 319096 URL: https://svnweb.freebsd.org/changeset/base/319096 Log: zfs_lookup: fix bogus arguments to lookup of "snapshot" directory When a parent directory lookup is done at the root of a snapshot mounted under .zfs/snapshot directo

Re: svn commit: r319080 - head/share/man/man5

2017-05-28 Thread Rodney W. Grimes
[ Charset UTF-8 unsupported, converting... ] > Author: trasz > Date: Sun May 28 18:09:49 2017 > New Revision: 319080 > URL: https://svnweb.freebsd.org/changeset/base/319080 > > Log: > Fix Xrs; they were pointing to the wrong section. > > MFC after: 2 weeks > > Modified: > head/share/man

Re: svn commit: r319075 - head/usr.bin/rctl

2017-05-28 Thread Rodney W. Grimes
[ Charset UTF-8 unsupported, converting... ] > Author: trasz > Date: Sun May 28 17:13:38 2017 > New Revision: 319075 > URL: https://svnweb.freebsd.org/changeset/base/319075 > > Log: > Random tweaks to rctl(8). Please try to be descriptive of what it is your tweaking, think about having to come

svn commit: r319088 - head/sys/dev/rtwn

2017-05-28 Thread Andriy Voskoboinyk
Author: avos Date: Sun May 28 22:51:06 2017 New Revision: 319088 URL: https://svnweb.freebsd.org/changeset/base/319088 Log: rtwn: fix connection problems with 'options RTWN_WITHOUT_UCODE' sc_set_media_status() callback may involve some generic code in addition to firmware-specific part (e

svn commit: r319087 - head/sys/dev/rtwn/rtl8192e/usb

2017-05-28 Thread Andriy Voskoboinyk
Author: avos Date: Sun May 28 22:38:19 2017 New Revision: 319087 URL: https://svnweb.freebsd.org/changeset/base/319087 Log: rtwn_usb: fix build with 'options RTWN_WITHOUT_UCODE' Modified: head/sys/dev/rtwn/rtl8192e/usb/r92eu_attach.c Modified: head/sys/dev/rtwn/rtl8192e/usb/r92eu_attach.c ==

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

2017-05-28 Thread Konstantin Belousov
Author: kib Date: Sun May 28 21:42:47 2017 New Revision: 319086 URL: https://svnweb.freebsd.org/changeset/base/319086 Log: Mention that the basep argument to getdirentries(2) can be NULL. Noted by: dim Reviewed by: emaste Sponsored by: The FreeBSD Foundation MFC after:3 days

svn commit: r319085 - head/lib/libstand

2017-05-28 Thread Toomas Soome
Author: tsoome Date: Sun May 28 21:30:01 2017 New Revision: 319085 URL: https://svnweb.freebsd.org/changeset/base/319085 Log: use the same option list for dhcp discovery and request The DHCP client is supposed to use the same option request list for both DHCP discovery and request. T

svn commit: r319084 - head/sys/boot/common

2017-05-28 Thread Toomas Soome
Author: tsoome Date: Sun May 28 21:20:55 2017 New Revision: 319084 URL: https://svnweb.freebsd.org/changeset/base/319084 Log: Small cleanup in dev_net.c The variable servip is unused. One leftover printf and small cstyle nit. Reviewed by: bapt Differential Revision:https://r

svn commit: r319083 - head/sys/boot/i386/pxeldr

2017-05-28 Thread Baptiste Daroussin
Author: bapt Date: Sun May 28 18:31:13 2017 New Revision: 319083 URL: https://svnweb.freebsd.org/changeset/base/319083 Log: Followup on the user-class changes Reported by: Jose Luis Duran (via github) Modified: head/sys/boot/i386/pxeldr/pxeboot.8 Modified: head/sys/boot/i386/pxeldr/pxe

svn commit: r319081 - head/sbin/reboot

2017-05-28 Thread Edward Tomasz Napierala
Author: trasz Date: Sun May 28 18:13:44 2017 New Revision: 319081 URL: https://svnweb.freebsd.org/changeset/base/319081 Log: .Xr mount.conf(5) from boot(8). MFC after:2 weeks Modified: head/sbin/reboot/boot_i386.8 Modified: head/sbin/reboot/boot_i386.8 ==

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

2017-05-28 Thread Edward Tomasz Napierala
Author: trasz Date: Sun May 28 18:09:49 2017 New Revision: 319080 URL: https://svnweb.freebsd.org/changeset/base/319080 Log: Fix Xrs; they were pointing to the wrong section. MFC after:2 weeks Modified: head/share/man/man5/mount.conf.5 Modified: head/share/man/man5/mount.conf.5

svn commit: r319079 - in head: . sbin/mount share/man/man5

2017-05-28 Thread Edward Tomasz Napierala
Author: trasz Date: Sun May 28 18:07:53 2017 New Revision: 319079 URL: https://svnweb.freebsd.org/changeset/base/319079 Log: Move mount.conf(8) to mount.conf(5); it's a kernel configuration file and not an administrative utility. MFC after:2 weeks Added: head/share/man/man5/mount.c

svn commit: r319078 - head/tests/sys/file

2017-05-28 Thread Ngie Cooper
Author: ngie Date: Sun May 28 17:50:29 2017 New Revision: 319078 URL: https://svnweb.freebsd.org/changeset/base/319078 Log: Tweak r319058 slightly - Specify an explicit mode when using O_CREAT per open(2). - Fix the error message (add missing enclosing parentheses). Submitted by: jil

svn commit: r319077 - head/sys/fs/ext2fs

2017-05-28 Thread Pedro F. Giffuni
Author: pfg Date: Sun May 28 17:48:54 2017 New Revision: 319077 URL: https://svnweb.freebsd.org/changeset/base/319077 Log: Fix potential memory leak. Moving the allocation forward, just before it's actually needed, seems sensible. Add newline character at the last line while here.

svn commit: r319076 - in head: share/man/man4 usr.bin/rctl

2017-05-28 Thread Edward Tomasz Napierala
Author: trasz Date: Sun May 28 17:25:47 2017 New Revision: 319076 URL: https://svnweb.freebsd.org/changeset/base/319076 Log: Declutter rctl(8) by moving kernel build instructions into newly created rctl(4). MFC after:2 weeks Added: head/share/man/man4/rctl.4 (contents, props chan

svn commit: r319075 - head/usr.bin/rctl

2017-05-28 Thread Edward Tomasz Napierala
Author: trasz Date: Sun May 28 17:13:38 2017 New Revision: 319075 URL: https://svnweb.freebsd.org/changeset/base/319075 Log: Random tweaks to rctl(8). MFC after:2 weeks Modified: head/usr.bin/rctl/rctl.8 Modified: head/usr.bin/rctl/rctl.8

svn commit: r319074 - in head: share/man/man4 usr.sbin/iscsid

2017-05-28 Thread Edward Tomasz Napierala
Author: trasz Date: Sun May 28 17:02:29 2017 New Revision: 319074 URL: https://svnweb.freebsd.org/changeset/base/319074 Log: Minor tweaks to iscsi(4) and iscsid(8). MFC after:2 weeks Modified: head/share/man/man4/iscsi.4 head/usr.sbin/iscsid/iscsid.8 Modified: head/share/man/man4/

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

2017-05-28 Thread Edward Tomasz Napierala
Author: trasz Date: Sun May 28 16:53:21 2017 New Revision: 319073 URL: https://svnweb.freebsd.org/changeset/base/319073 Log: Random tweaks to cfiscsi(4) man page. MFC after:2 weeks Modified: head/share/man/man4/cfiscsi.4 Modified: head/share/man/man4/cfiscsi.4 ==

svn commit: r319072 - head/usr.sbin/ctld

2017-05-28 Thread Edward Tomasz Napierala
Author: trasz Date: Sun May 28 16:41:42 2017 New Revision: 319072 URL: https://svnweb.freebsd.org/changeset/base/319072 Log: Make ctld(8) mention cfiscsi(4). MFC after:2 weeks Modified: head/usr.sbin/ctld/ctld.8 Modified: head/usr.sbin/ctld/ctld.8 ===

svn commit: r319071 - in head/sys: conf fs/ext2fs modules/ext2fs

2017-05-28 Thread Pedro F. Giffuni
Author: pfg Date: Sun May 28 15:39:11 2017 New Revision: 319071 URL: https://svnweb.freebsd.org/changeset/base/319071 Log: Support for linux ext2fs posix-draft ACLs. This is closely tied to the Extended Attribute implementation. Submitted by: Fedor Uporov Reviewed by: kevlo, pfg

svn commit: r319070 - head/sys/dev/etherswitch/rtl8366

2017-05-28 Thread Michael Zhilin
Author: mizhka Date: Sun May 28 12:14:33 2017 New Revision: 319070 URL: https://svnweb.freebsd.org/changeset/base/319070 Log: [etherswitch] [rtl8366] add phy4cpu setting and support mdioproxy Tested on WZR-HP-G301NH(RTL8366RB) and WZR-HP-G300NH(RTL8366SR). Submitted by: Hiroki Mori

svn commit: r319069 - in head/sys: dev/bhnd/cores/chipc dev/bhnd/cores/chipc/pwrctl mips/broadcom

2017-05-28 Thread Michael Zhilin
Author: mizhka Date: Sun May 28 12:05:16 2017 New Revision: 319069 URL: https://svnweb.freebsd.org/changeset/base/319069 Log: [mips] [bhnd] Support of old PMU for BMIPS and siba SoC - Fix typo of PLL Type 4 - Don't panic of frequency getters Submitted by: Hiroki Mori Differentia

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

2017-05-28 Thread Konstantin Belousov
Author: kib Date: Sun May 28 09:29:53 2017 New Revision: 319064 URL: https://svnweb.freebsd.org/changeset/base/319064 Log: Update getdirentries(2) page for new struct dirent layout. Sponsored by: The FreeBSD Foundation Modified: head/lib/libc/sys/getdirentries.2 Modified: head/lib/libc/

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

2017-05-28 Thread Ngie Cooper
Author: ngie Date: Sun May 28 09:21:28 2017 New Revision: 319063 URL: https://svnweb.freebsd.org/changeset/base/319063 Log: Send all of `data`, not just a portion of it It was sending only a long's worth (4 or 8 bytes) of data previously (instead of the entire buffer) via send(2). MF

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

2017-05-28 Thread Ngie Cooper
Author: ngie Date: Sun May 28 09:08:30 2017 New Revision: 319062 URL: https://svnweb.freebsd.org/changeset/base/319062 Log: Initial `srv` before using it in bind(2) MFC after:3 days Reported by: Coverity CID: 1357526 Sponsored by: Dell EMC Isilon Modified: head/tests/

svn commit: r319061 - head/tests/sys/file

2017-05-28 Thread Ngie Cooper
Author: ngie Date: Sun May 28 09:01:58 2017 New Revision: 319061 URL: https://svnweb.freebsd.org/changeset/base/319061 Log: Don't leak accept_fd on thread completion MFC after:3 days Reported by: Coverity CID: 1296068 Sponsored by: Dell EMC Isilon Modified: head/tests

Re: svn commit: r319059 - head/tests/sys/file

2017-05-28 Thread Ngie Cooper (yaneurabeya)
> On May 28, 2017, at 01:55, Ngie Cooper wrote: > > Author: ngie > Date: Sun May 28 08:55:32 2017 > New Revision: 319059 > URL: https://svnweb.freebsd.org/changeset/base/319059 > > Log: > Use an exit code of 1 instead of -1 for reasons noted in r319056 > > MFC after: 3 days > Sponsored by

svn commit: r319060 - head/tests/sys/file

2017-05-28 Thread Ngie Cooper
Author: ngie Date: Sun May 28 08:57:08 2017 New Revision: 319060 URL: https://svnweb.freebsd.org/changeset/base/319060 Log: Use main(void) instead of main(argc __unused, argv __unused) MFC after:3 days Sponsored by: Dell EMC Isilon Modified: head/tests/sys/file/newfileops_on_fork_t

svn commit: r319059 - head/tests/sys/file

2017-05-28 Thread Ngie Cooper
Author: ngie Date: Sun May 28 08:55:32 2017 New Revision: 319059 URL: https://svnweb.freebsd.org/changeset/base/319059 Log: Use an exit code of 1 instead of -1 for reasons noted in r319056 MFC after:3 days Sponsored by: Dell EMC Isilon Modified: head/tests/sys/file/newfileops_on_fo

svn commit: r319058 - head/tests/sys/file

2017-05-28 Thread Ngie Cooper
Author: ngie Date: Sun May 28 08:52:12 2017 New Revision: 319058 URL: https://svnweb.freebsd.org/changeset/base/319058 Log: Create a deterministic file in the kyua sandbox, instead of a temporary file outside the kyua sandbox This helps ensure that the file is removed at test exit, and as

svn commit: r319056 - head/tests/sys/file

2017-05-28 Thread Ngie Cooper
Author: ngie Date: Sun May 28 08:46:41 2017 New Revision: 319056 URL: https://svnweb.freebsd.org/changeset/base/319056 Log: tests/sys/file/ftruncate_test: use an exit code of 1 instead of -1 with err*(3). An exit code of -1 is implementation defined -- it's best to stick with something

svn commit: r319057 - head/sys/amd64/linux

2017-05-28 Thread Dmitry Chagin
Author: dchagin Date: Sun May 28 08:46:57 2017 New Revision: 319057 URL: https://svnweb.freebsd.org/changeset/base/319057 Log: In r246085 some bits that are MI movied out into headers in compat/linux, but I missed that when I commited x86_64 Linuxulator. So remove the duplicates. MFC aft

Re: svn commit: r319052 - in head/sys/modules: linux linux64

2017-05-28 Thread Bruce Evans
On Sun, 28 May 2017, Dmitry Chagin wrote: Log: Strip _binary_linux_locore_o_size from ${VDSO}.so as it is a low absolute symbol, and this breaks symbol lookup in ddb. Requested by: bde@ Thanks. This works because the symbol is auto-generated by the linker from the name of a file and not

svn commit: r319055 - head/sys/mips/atheros

2017-05-28 Thread Adrian Chadd
Author: adrian Date: Sun May 28 07:44:55 2017 New Revision: 319055 URL: https://svnweb.freebsd.org/changeset/base/319055 Log: [ar71xx] undo read-after-write to flush; some bus devices dislike this. This broke the PCI fixup on at least the AR7240 + AR9280 reference design board that I have

svn commit: r319054 - head/lib/libc/tests/nss

2017-05-28 Thread Ngie Cooper
Author: ngie Date: Sun May 28 07:40:42 2017 New Revision: 319054 URL: https://svnweb.freebsd.org/changeset/base/319054 Log: hostent_test_getaddrinfo_eq(..): call freeaddrinfo on `ai` when done This plugs a leak of memory allocated via getaddrinfo. MFC after:1 week Reported by: C

svn commit: r319053 - in head/sys: compat/linux conf modules/linux modules/linux64

2017-05-28 Thread Dmitry Chagin
Author: dchagin Date: Sun May 28 07:40:09 2017 New Revision: 319053 URL: https://svnweb.freebsd.org/changeset/base/319053 Log: On success, getrandom() Linux system call returns the number of bytes that were copied to the buffer supplied by the user. Also fix getrandom() if Linuxulator mod

svn commit: r319052 - in head/sys/modules: linux linux64

2017-05-28 Thread Dmitry Chagin
Author: dchagin Date: Sun May 28 07:37:40 2017 New Revision: 319052 URL: https://svnweb.freebsd.org/changeset/base/319052 Log: Strip _binary_linux_locore_o_size from ${VDSO}.so as it is a low absolute symbol, and this breaks symbol lookup in ddb. Requested by: bde@ MFC after:1 we

svn commit: r319051 - head/lib/libc/tests/nss

2017-05-28 Thread Ngie Cooper
Author: ngie Date: Sun May 28 07:04:50 2017 New Revision: 319051 URL: https://svnweb.freebsd.org/changeset/base/319051 Log: hostent_test_getnameinfo_eq(..): initialize found_a_host to false MFC after:1 week Reported by: Coverity CID: 1368943 Sponsored by: Dell EMC Isilon