svn commit: r286390 - head/sys/vm

2015-08-06 Thread Alan Cox
Author: alc Date: Thu Aug 6 21:27:50 2015 New Revision: 286390 URL: https://svnweb.freebsd.org/changeset/base/286390 Log: Introduce a sysctl for reporting the number of fully populated reservations. Modified: head/sys/vm/vm_reserv.c Modified: head/sys/vm/vm_reserv.c

svn commit: r286385 - in head/sys/dev/usb: . serial

2015-08-06 Thread Ian Lepore
Author: ian Date: Thu Aug 6 19:47:04 2015 New Revision: 286385 URL: https://svnweb.freebsd.org/changeset/base/286385 Log: Return the current ftdi bitbang mode with the UFTDIIOC_GET_BITMODE ioctl. The ftdi chip itself has a get bitmode command that doesn't actually return the current

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

2015-08-06 Thread Ian Lepore
Author: ian Date: Thu Aug 6 20:59:03 2015 New Revision: 286389 URL: https://svnweb.freebsd.org/changeset/base/286389 Log: Document the recently added get-bitmode and eeprom read/write functionality. Modified: head/share/man/man4/uftdi.4 Modified: head/share/man/man4/uftdi.4

svn commit: r286360 - head/sbin/mdconfig

2015-08-06 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Aug 6 07:47:13 2015 New Revision: 286360 URL: https://svnweb.freebsd.org/changeset/base/286360 Log: Tweak mdconfig(8) manual page, in particular revise the EXAMPLES section. This removes stuff that doesn't really belong there, and simplifies examples for the basic

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

2015-08-06 Thread John Baldwin
Author: jhb Date: Thu Aug 6 19:36:47 2015 New Revision: 286383 URL: https://svnweb.freebsd.org/changeset/base/286383 Log: Whitespace fixes to consistently use spaces before }'s and wrap long lines. Modified: head/usr.bin/truss/syscalls.c Modified: head/usr.bin/truss/syscalls.c

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

2015-08-06 Thread John Baldwin
Author: jhb Date: Thu Aug 6 20:05:40 2015 New Revision: 286388 URL: https://svnweb.freebsd.org/changeset/base/286388 Log: Consistently use both leading and trailing spaces inside of the {}'s when pretty-printing structures. Most structures used both spaces, but some only used a trailing

Re: svn commit: r286395 - head/usr.bin/mkimg

2015-08-06 Thread Glen Barber
On Thu, Aug 06, 2015 at 09:45:45PM -0700, Marcel Moolenaar wrote: On Aug 6, 2015, at 9:31 PM, Glen Barber g...@freebsd.org wrote: On Fri, Aug 07, 2015 at 04:27:52AM +, Marcel Moolenaar wrote: Author: marcel Date: Fri Aug 7 04:27:51 2015 New Revision: 286395 URL:

Re: svn commit: r286395 - head/usr.bin/mkimg

2015-08-06 Thread Glen Barber
On Fri, Aug 07, 2015 at 04:27:52AM +, Marcel Moolenaar wrote: Author: marcel Date: Fri Aug 7 04:27:51 2015 New Revision: 286395 URL: https://svnweb.freebsd.org/changeset/base/286395 Log: Fix the dynamic VHD format to work with qemu. The size of the disk is taken to match the

svn commit: r286400 - head/contrib/sendmail

2015-08-06 Thread Gregory Neil Shapiro
Author: gshapiro Date: Fri Aug 7 04:58:35 2015 New Revision: 286400 URL: https://svnweb.freebsd.org/changeset/base/286400 Log: Reminder to check tools/build/mk/OptionalObsoleteFiles.inc on new version imports. Obtained from:garga@ Modified:

svn commit: r286395 - head/usr.bin/mkimg

2015-08-06 Thread Marcel Moolenaar
Author: marcel Date: Fri Aug 7 04:27:51 2015 New Revision: 286395 URL: https://svnweb.freebsd.org/changeset/base/286395 Log: Fix the dynamic VHD format to work with qemu. The size of the disk is taken to match the geometry and only when the geometry is max'd out, is the actual recorded

svn commit: r286394 - head/usr.bin/ypmatch

2015-08-06 Thread Marcelo Araujo
Author: araujo (ports committer) Date: Fri Aug 7 02:37:47 2015 New Revision: 286394 URL: https://svnweb.freebsd.org/changeset/base/286394 Log: Get closest as possible with style(9). No functional change. Differential Revision:D3295 Reviewed by: bapt Modified:

Re: svn commit: r286395 - head/usr.bin/mkimg

2015-08-06 Thread Marcel Moolenaar
On Aug 6, 2015, at 9:31 PM, Glen Barber g...@freebsd.org wrote: On Fri, Aug 07, 2015 at 04:27:52AM +, Marcel Moolenaar wrote: Author: marcel Date: Fri Aug 7 04:27:51 2015 New Revision: 286395 URL: https://svnweb.freebsd.org/changeset/base/286395 Log: Fix the dynamic VHD format

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

2015-08-06 Thread Kevin Lo
Author: kevlo Date: Fri Aug 7 02:05:16 2015 New Revision: 286393 URL: https://svnweb.freebsd.org/changeset/base/286393 Log: Add support for ASUS WL-100g. Modified: head/share/man/man4/bwi.4 Modified: head/share/man/man4/bwi.4

svn commit: r286392 - head/etc

2015-08-06 Thread Xin LI
Author: delphij Date: Thu Aug 6 23:44:46 2015 New Revision: 286392 URL: https://svnweb.freebsd.org/changeset/base/286392 Log: Now that the portsnap buildbox is generating the raw bits for INDEX-11, add it to the set of INDEX files built by portsnap. MFC after:2 weeks Modified:

svn commit: r286359 - head/sys/compat/cloudabi

2015-08-06 Thread Ed Schouten
Author: ed Date: Thu Aug 6 06:47:28 2015 New Revision: 286359 URL: https://svnweb.freebsd.org/changeset/base/286359 Log: Add file_open(): the underlying system call of openat(). CloudABI purely operates on file descriptor rights (CAP_*). File descriptor access modes (O_ACCMODE) are

Re: svn commit: r286337 - head/sys/contrib/dev/ath/ath_hal/ar9300

2015-08-06 Thread Oliver Pinter
Cool! Please send me the patch. :) Thank you! (My last sync was from 2014 August or November in my branch: https://github.com/opntr/pkg/commit/f6c84ecd8a30a77eeefd8106496e6692d6348190 ) On 8/6/15, Ermal Luçi ermal.l...@gmail.com wrote: I did the port for pfSense and the whole stack works from

Re: svn commit: r286337 - head/sys/contrib/dev/ath/ath_hal/ar9300

2015-08-06 Thread Adrian Chadd
Ermal - yes please. :) Or, just do the MFC yourself. :) -a On 6 August 2015 at 00:21, Ermal Luçi ermal.l...@gmail.com wrote: I did the port for pfSense and the whole stack works from HEAD into 10-STABLE. Just minor modifications were required. If you want i can try to send the diff. On

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

2015-08-06 Thread Konstantin Belousov
Author: kib Date: Thu Aug 6 18:02:54 2015 New Revision: 286374 URL: https://svnweb.freebsd.org/changeset/base/286374 Log: Formally pair store_rel(smp_started) with load_acq(smp_started). The expected semantic is to have misc. data, e.g. CPU bitmaps, visible in the BSP after smp_started is

svn commit: r286372 - in head/sys: amd64/include/xen dev/xen/balloon dev/xen/blkfront dev/xen/control dev/xen/netback dev/xen/netfront dev/xen/pcifront i386/include/xen x86/xen

2015-08-06 Thread John Baldwin
Author: jhb Date: Thu Aug 6 17:07:21 2015 New Revision: 286372 URL: https://svnweb.freebsd.org/changeset/base/286372 Log: Remove some more vestiges of the Xen PV domu support. Specifically, use vtophys() directly instead of vtomach() and retire the no-longer-used headers machine/xenfunc.h

svn commit: r286373 - head/sys/geom/eli

2015-08-06 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Aug 6 17:13:34 2015 New Revision: 286373 URL: https://svnweb.freebsd.org/changeset/base/286373 Log: After crypto_dispatch() bio might be already delivered and destroyed, so we cannot access it anymore. Setting an error later lead to memory corruption. Assert that

svn commit: r286375 - head/etc

2015-08-06 Thread Xin LI
Author: delphij Date: Thu Aug 6 18:15:56 2015 New Revision: 286375 URL: https://svnweb.freebsd.org/changeset/base/286375 Log: Now that stable/8 is EOL, stop building INDEX-8. MFC after:1 week Modified: head/etc/portsnap.conf Modified: head/etc/portsnap.conf

svn commit: r286371 - head/sys/fs/devfs

2015-08-06 Thread John Baldwin
Author: jhb Date: Thu Aug 6 16:50:37 2015 New Revision: 286371 URL: https://svnweb.freebsd.org/changeset/base/286371 Log: The changes that introduced fo_mmap() treated all character device mappings as if MAP_SHARED was always present since in general MAP_PRIVATE is not permitted for

svn commit: r286382 - in head/sys/dev/usb: . serial

2015-08-06 Thread Ian Lepore
Author: ian Date: Thu Aug 6 19:29:26 2015 New Revision: 286382 URL: https://svnweb.freebsd.org/changeset/base/286382 Log: Add support to the uftdi driver for reading and writing the serial eeprom that can be attached to the chips, via ioctl() calls. Modified:

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

2015-08-06 Thread John Baldwin
Author: jhb Date: Thu Aug 6 19:08:33 2015 New Revision: 286381 URL: https://svnweb.freebsd.org/changeset/base/286381 Log: Decode the arguments passed to the *at() family of system calls. This is especially useful now that libc's open() always calls openat(). While here, fix a few other

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

2015-08-06 Thread John Baldwin
Author: jhb Date: Thu Aug 6 18:32:32 2015 New Revision: 286380 URL: https://svnweb.freebsd.org/changeset/base/286380 Log: Decode the arguments to mkfifo() and fix an off-by-one error in the arguments to mknod(). Modified: head/usr.bin/truss/syscalls.c Modified:

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

2015-08-06 Thread John Baldwin
Author: jhb Date: Thu Aug 6 18:28:15 2015 New Revision: 286378 URL: https://svnweb.freebsd.org/changeset/base/286378 Log: Don't mark the fcntl flag argument as an output parameter so that it is always decoded. Previously the argument was not decoded if fcntl() failed. Modified:

svn commit: r286364 - head/release/doc/en_US.ISO8859-1/relnotes stable/10/release/doc/en_US.ISO8859-1/relnotes

2015-08-06 Thread Glen Barber
Author: gjb Date: Thu Aug 6 14:13:01 2015 New Revision: 286364 URL: https://svnweb.freebsd.org/changeset/base/286364 Log: Fix a typo. Submitted by: pkelsey Sponsored by: The FreeBSD Foundation Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml Changes in other areas

svn commit: r286363 - head/sys/dev/wtap

2015-08-06 Thread Gleb Smirnoff
Author: glebius Date: Thu Aug 6 14:05:17 2015 New Revision: 286363 URL: https://svnweb.freebsd.org/changeset/base/286363 Log: Make it compilable. No idea if it works. Modified: head/sys/dev/wtap/if_wtap.c head/sys/dev/wtap/if_wtapvar.h Modified: head/sys/dev/wtap/if_wtap.c

svn commit: r286361 - head/sbin/mdconfig

2015-08-06 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Aug 6 07:49:34 2015 New Revision: 286361 URL: https://svnweb.freebsd.org/changeset/base/286361 Log: Whoops, wrong flag. MFC after:1 month Sponsored by: The FreeBSD Foundation Modified: head/sbin/mdconfig/mdconfig.8 Modified: head/sbin/mdconfig/mdconfig.8

Re: svn commit: r286323 - head/sys/compat/cloudabi

2015-08-06 Thread Ed Schouten
Hi Pedro, 2015-08-05 18:49 GMT+02:00 Pedro Giffuni p...@freebsd.org: This just reminded me: Clang has support for type-safety attributes[1] for fcntl and ioctls. I gave them a try[2] but they broke compatibility. For a clean ABI you should consider them. That's interesting. That could also

Re: svn commit: r286337 - head/sys/contrib/dev/ath/ath_hal/ar9300

2015-08-06 Thread Ermal Luçi
I did the port for pfSense and the whole stack works from HEAD into 10-STABLE. Just minor modifications were required. If you want i can try to send the diff. On Wed, Aug 5, 2015 at 11:55 PM, Oliver Pinter oliver.pin...@hardenedbsd.org wrote: Yup. :) If you need testers with the backport,

Re: svn commit: r286329 - in head/etc: defaults rc.d

2015-08-06 Thread Dmitry Sivachenko
On 5 авг. 2015 г., at 20:38, Edward Tomasz Napierala tr...@freebsd.org wrote: Author: trasz Date: Wed Aug 5 17:38:02 2015 New Revision: 286329 URL: https://svnweb.freebsd.org/changeset/base/286329 Log: Make rctl_enable rc variable actually work. To avoid breaking existing setups

svn commit: r286366 - head/sys/arm64/arm64

2015-08-06 Thread Andrew Turner
Author: andrew Date: Thu Aug 6 14:49:23 2015 New Revision: 286366 URL: https://svnweb.freebsd.org/changeset/base/286366 Log: Fill in dump_avail based on the physical memory from EFI. Obtained from:ABT Systems Ltd Sponsored by: The FreeBSD Foundation Modified:

svn commit: r286369 - head/tests/sys/vm

2015-08-06 Thread John Baldwin
Author: jhb Date: Thu Aug 6 16:12:12 2015 New Revision: 286369 URL: https://svnweb.freebsd.org/changeset/base/286369 Log: Convert the map_at_zero test case to ATF. In particular, this will facilitate adding more mmap() tests. MFC after:2 weeks Differential Revision:

svn commit: r286370 - head/tests/sys/vm

2015-08-06 Thread John Baldwin
Author: jhb Date: Thu Aug 6 16:14:29 2015 New Revision: 286370 URL: https://svnweb.freebsd.org/changeset/base/286370 Log: Add various tests to ensure that invalid arguments passed to mmap() trigger failures. Reviewed by: kib Differential Revision:

svn commit: r286368 - in head: . sys/boot/forth sys/boot/i386/loader sys/boot/mips/beri/loader sys/boot/pc98/loader sys/boot/powerpc/kboot sys/boot/powerpc/ofw sys/boot/powerpc/ps3 sys/boot/sparc64...

2015-08-06 Thread Allan Jude
(r286368) @@ -31,6 +31,11 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 11 disable the most expensive debugging functionality run ln -s 'abort:false,junk:false' /etc/malloc.conf.) +20150806: + The menu.rc and loader.rc files will now be replaced during + upgrades

svn commit: r286367 - head/sys/geom/uzip

2015-08-06 Thread Garrett Cooper
Author: ngie Date: Thu Aug 6 15:30:14 2015 New Revision: 286367 URL: https://svnweb.freebsd.org/changeset/base/286367 Log: Make some debug printf's into DPRINTF's to reduce noise on attach/detach Differential Revision: https://reviews.freebsd.org/D3306 MFC after: 1 week Reviewed by: