svn commit: r302542 - head/usr.bin/mail

2016-07-10 Thread Xin LI
Author: delphij Date: Mon Jul 11 05:44:58 2016 New Revision: 302542 URL: https://svnweb.freebsd.org/changeset/base/302542 Log: Use _PATH_DEVNULL instead of hardcoding. MFC after:2 weeks Modified: head/usr.bin/mail/collect.c Modified: head/usr.bin/mail/collect.c

svn commit: r302541 - head/sys/dev/hyperv/storvsc

2016-07-10 Thread Sepherosa Ziehau
Author: sephe Date: Mon Jul 11 05:17:48 2016 New Revision: 302541 URL: https://svnweb.freebsd.org/changeset/base/302541 Log: hyperv/stor: Fix the INQUIRY checks Don't check the area that the host has not filled. PR: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209443

svn commit: r302540 - in head/sys/dev/hyperv: include vmbus

2016-07-10 Thread Sepherosa Ziehau
Author: sephe Date: Mon Jul 11 04:52:11 2016 New Revision: 302540 URL: https://svnweb.freebsd.org/changeset/base/302540 Log: hyperv/vmbus: Implement a new set of APIs for post message Hypercall And use this new APIs for Initial Contact post message Hypercall. More post message Hypercalls

svn commit: r302535 - head/usr.sbin/ypldap

2016-07-10 Thread Marcelo Araujo
Author: araujo Date: Mon Jul 11 03:34:32 2016 New Revision: 302535 URL: https://svnweb.freebsd.org/changeset/base/302535 Log: Do not allow whitespace in macro names. Obtained from:OpenBSD (r1.19). Modified: head/usr.sbin/ypldap/parse.y Modified: head/usr.sbin/ypldap/parse.y

svn commit: r302534 - head/usr.sbin/freebsd-update

2016-07-10 Thread Xin LI
Author: delphij Date: Mon Jul 11 03:31:12 2016 New Revision: 302534 URL: https://svnweb.freebsd.org/changeset/base/302534 Log: Allow - in distribution names. This is needed for freebsd-update to work with 11.0+, where the debugging symbols use a new naming scheme for release distribution

svn commit: r302533 - head/usr.bin/mail

2016-07-10 Thread Pedro F. Giffuni
Author: pfg Date: Mon Jul 11 00:03:39 2016 New Revision: 302533 URL: https://svnweb.freebsd.org/changeset/base/302533 Log: mail(1): Fix a comment. Obtained from:NetBSD (CVS Rev 1.29) Modified: head/usr.bin/mail/collect.c Modified: head/usr.bin/mail/collect.c

svn commit: r302532 - head

2016-07-10 Thread Garrett Cooper
Author: ngie Date: Sun Jul 10 20:42:18 2016 New Revision: 302532 URL: https://svnweb.freebsd.org/changeset/base/302532 Log: Correct OLD_LIBS change done in r298840 libkvm.so lives in /lib, not /usr/lib MFC after: 3 days X-MFC note: ^/stable/11 only X-MFC with: r298840 Submitted

Re: svn commit: r298840 - in head: . lib/libkvm

2016-07-10 Thread Ngie Cooper (yaneurabeya)
> On Jul 10, 2016, at 01:30, Herbert J. Skuhra wrote: > > Garrett Cooper skrev: >> >> Author: ngie >> Date: Sat Apr 30 09:21:13 2016 >> New Revision: 298840 >> URL: https://svnweb.freebsd.org/changeset/base/298840 >> >> Log: >> Remove kvm_getfiles(3) >> >> This libcall

svn commit: r302531 - head/sys/dev/ntb/ntb_hw

2016-07-10 Thread Alexander Motin
Author: mav Date: Sun Jul 10 20:22:04 2016 New Revision: 302531 URL: https://svnweb.freebsd.org/changeset/base/302531 Log: Revert odd change, setting limit registers before base. I don't know what errata is mentioned there, I was unable to find it, but setting limit before the base

svn commit: r302530 - head/sys/dev/ntb/ntb_hw

2016-07-10 Thread Alexander Motin
Author: mav Date: Sun Jul 10 19:52:26 2016 New Revision: 302530 URL: https://svnweb.freebsd.org/changeset/base/302530 Log: Fix wrong copy/paste in r302510. Modified: head/sys/dev/ntb/ntb_hw/ntb_hw.c Modified: head/sys/dev/ntb/ntb_hw/ntb_hw.c

svn commit: r302529 - head/sys/dev/ntb

2016-07-10 Thread Alexander Motin
Author: mav Date: Sun Jul 10 19:15:29 2016 New Revision: 302529 URL: https://svnweb.freebsd.org/changeset/base/302529 Log: Remove callout_reset(link_work) from ntb_transport_attach(). At that point link is quite likely not established yet, so messing with scratch registers is premature

svn commit: r302528 - in head/sys: arm/allwinner arm/allwinner/clk arm/nvidia arm/nvidia/tegra124 dev/dwc dev/extres/clk dev/extres/hwreset dev/extres/phy dev/extres/regulator dev/iicbus/twsi dev/u...

2016-07-10 Thread Michal Meloun
Author: mmel Date: Sun Jul 10 18:28:15 2016 New Revision: 302528 URL: https://svnweb.freebsd.org/changeset/base/302528 Log: EXTRES: Add OF node as argument to all _get_by_ofw_() functions. In some cases, the driver must handle given properties located in specific OF subnode. Instead of

svn commit: r302526 - head/sys/kern

2016-07-10 Thread Robert Watson
Author: rwatson Date: Sun Jul 10 14:17:36 2016 New Revision: 302526 URL: https://svnweb.freebsd.org/changeset/base/302526 Log: In process-descriptor close(2) and fstat(2), audit target process information. pgkill(2) already audits target process ID. MFC after:3 days Sponsored by:

svn commit: r302525 - in head/sys: kern sys

2016-07-10 Thread Robert Watson
Author: rwatson Date: Sun Jul 10 13:42:33 2016 New Revision: 302525 URL: https://svnweb.freebsd.org/changeset/base/302525 Log: Do allow auditing of read(2) and write(2) system calls, by assigning those system calls audit event identifiers AUE_READ and AUE_WRITE. While auditing

svn commit: r302524 - head/sys/vm

2016-07-10 Thread Robert Watson
Author: rwatson Date: Sun Jul 10 11:49:10 2016 New Revision: 302524 URL: https://svnweb.freebsd.org/changeset/base/302524 Log: When mmap(2) is used with a vnode, capture vnode attributes in the audit trail. This was not required for Common Criteria auditing (which requires only that the

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

2016-07-10 Thread Jared McNeill
Author: jmcneill Date: Sun Jul 10 10:53:50 2016 New Revision: 302523 URL: https://svnweb.freebsd.org/changeset/base/302523 Log: Add clk_get_by_ofw_node_index, which is like clk_get_by_ofw_index but operates on a specific OF node instead of the pass in device's OF node. Reviewed by:

svn commit: r302522 - head/sys/arm/allwinner

2016-07-10 Thread Jared McNeill
Author: jmcneill Date: Sun Jul 10 10:38:28 2016 New Revision: 302522 URL: https://svnweb.freebsd.org/changeset/base/302522 Log: Align descriptors and data buffers to 32 bits. This restriction is described in the A20 (and later) user manuals. Modified: head/sys/arm/allwinner/a10_mmc.c

svn commit: r302521 - head/sys/arm/allwinner

2016-07-10 Thread Jared McNeill
Author: jmcneill Date: Sun Jul 10 10:21:22 2016 New Revision: 302521 URL: https://svnweb.freebsd.org/changeset/base/302521 Log: In the absence of a bus-width property, default to 4-bit bus width instead of 1-bit. Modified: head/sys/arm/allwinner/a10_mmc.c Modified:

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

2016-07-10 Thread Alexander Motin
Author: mav Date: Sun Jul 10 10:17:38 2016 New Revision: 302520 URL: https://svnweb.freebsd.org/changeset/base/302520 Log: Replace NTB man page with more detailed and up to date. Sponsored by: iXsystems, Inc. Added: head/share/man/man4/if_ntb.4 (contents, props changed)

svn commit: r302519 - head/sys/kern

2016-07-10 Thread Robert Watson
Author: rwatson Date: Sun Jul 10 09:50:21 2016 New Revision: 302519 URL: https://svnweb.freebsd.org/changeset/base/302519 Log: Audit the file-descriptor number argument for openat(2). Remove a comment about the desirability of auditing the number, as it was in fact in the wrong place (in

Re: svn commit: r298627 - in head/sys: arm/allwinner arm/altera/socfpga arm/amlogic/aml8726 arm/annapurna/alpine arm/arm arm/at91 arm/broadcom/bcm2835 arm/cavium/cns11xx arm/freescale arm/freescale/im

2016-07-10 Thread Herbert J. Skuhra
Hei, Ruslan Bukin skrev: > > Author: br > Date: Tue Apr 26 11:53:37 2016 > New Revision: 298627 > URL: https://svnweb.freebsd.org/changeset/base/298627 > > Log: > Move arm's devmap to some generic place, so it can be used > by other architectures. > > Reviewed by:imp >

Re: svn commit: r302517 - in head/sys: amd64/linux amd64/linux32 compat/linux i386/linux modules/linux modules/linux_common

2016-07-10 Thread Chagin Dmitry
On Sun, Jul 10, 2016 at 11:30:17AM +0300, Konstantin Belousov wrote: > On Sun, Jul 10, 2016 at 08:22:04AM +, Dmitry Chagin wrote: > > Author: dchagin > > Date: Sun Jul 10 08:22:04 2016 > > New Revision: 302517 > > URL: https://svnweb.freebsd.org/changeset/base/302517 > > > > Log: > > Fix a

svn commit: r302518 - head/sys/conf

2016-07-10 Thread Dmitry Chagin
Author: dchagin Date: Sun Jul 10 08:38:10 2016 New Revision: 302518 URL: https://svnweb.freebsd.org/changeset/base/302518 Log: Add linux_mmap.c to the appropriate conf/files. Reported by: kib@ MFC after:1 week Modified: head/sys/conf/files.amd64 head/sys/conf/files.i386

Re: svn commit: r298840 - in head: . lib/libkvm

2016-07-10 Thread Herbert J. Skuhra
Garrett Cooper skrev: > > Author: ngie > Date: Sat Apr 30 09:21:13 2016 > New Revision: 298840 > URL: https://svnweb.freebsd.org/changeset/base/298840 > > Log: > Remove kvm_getfiles(3) > > This libcall has been broken since (at least) r174989/8.0-RELEASE. > > Bump SHLIB_MAJOR for the

Re: svn commit: r302517 - in head/sys: amd64/linux amd64/linux32 compat/linux i386/linux modules/linux modules/linux_common

2016-07-10 Thread Konstantin Belousov
On Sun, Jul 10, 2016 at 08:22:04AM +, Dmitry Chagin wrote: > Author: dchagin > Date: Sun Jul 10 08:22:04 2016 > New Revision: 302517 > URL: https://svnweb.freebsd.org/changeset/base/302517 > > Log: > Fix a copy/paste bug introduced during X86_64 Linuxulator work. > FreeBSD support NX bit

svn commit: r302517 - in head/sys: amd64/linux amd64/linux32 compat/linux i386/linux modules/linux modules/linux_common

2016-07-10 Thread Dmitry Chagin
Author: dchagin Date: Sun Jul 10 08:22:04 2016 New Revision: 302517 URL: https://svnweb.freebsd.org/changeset/base/302517 Log: Fix a copy/paste bug introduced during X86_64 Linuxulator work. FreeBSD support NX bit on X86_64 processors out of the box, for i386 emulation use READ_IMPLIES_EXEC

svn commit: r302516 - in head/sys: amd64/linux amd64/linux32 i386/linux

2016-07-10 Thread Dmitry Chagin
Author: dchagin Date: Sun Jul 10 08:17:16 2016 New Revision: 302516 URL: https://svnweb.freebsd.org/changeset/base/302516 Log: Regen for r302215 (Linux personality). Modified: head/sys/amd64/linux/linux_proto.h head/sys/amd64/linux/linux_syscall.h head/sys/amd64/linux/linux_syscalls.c

svn commit: r302515 - in head/sys: amd64/linux amd64/linux32 compat/linux i386/linux

2016-07-10 Thread Dmitry Chagin
Author: dchagin Date: Sun Jul 10 08:15:50 2016 New Revision: 302515 URL: https://svnweb.freebsd.org/changeset/base/302515 Log: Implement Linux personality() system call mainly due to READ_IMPLIES_EXEC flag. In Linux if this flag is set, PROT_READ implies PROT_EXEC for mmap(). Linux/i386

svn commit: r302514 - in head/sys: kern vm

2016-07-10 Thread Robert Watson
Author: rwatson Date: Sun Jul 10 08:04:02 2016 New Revision: 302514 URL: https://svnweb.freebsd.org/changeset/base/302514 Log: Audit file-descriptor arguments to I/O system calls such as read(2), write(2), dup(2), and mmap(2). This auditing is not required by the Common Criteria (and hence