svn commit: r241242 - head/usr.sbin/sysrc

2012-10-06 Thread Joel Dahl
Author: joel (doc committer) Date: Sat Oct 6 06:02:29 2012 New Revision: 241242 URL: http://svn.freebsd.org/changeset/base/241242 Log: Minor mdoc fix. Modified: head/usr.sbin/sysrc/sysrc.8 Modified: head/usr.sbin/sysrc/sysrc.8

svn commit: r241243 - head/usr.sbin/sysrc

2012-10-06 Thread Joel Dahl
Author: joel (doc committer) Date: Sat Oct 6 06:07:33 2012 New Revision: 241243 URL: http://svn.freebsd.org/changeset/base/241243 Log: mdoc: begin sentences on a new line. Modified: head/usr.sbin/sysrc/sysrc.8 Modified: head/usr.sbin/sysrc/sysrc.8

svn commit: r241244 - head/sys/netpfil/pf

2012-10-06 Thread Gleb Smirnoff
Author: glebius Date: Sat Oct 6 07:06:57 2012 New Revision: 241244 URL: http://svn.freebsd.org/changeset/base/241244 Log: The pfil(9) layer guarantees us presence of the protocol header, so remove extra check, that is always false. P.S. Also, goto there lead to unlocking a not locked

svn commit: r241245 - in head: . share/man/man9 sys/contrib/ipfilter/netinet sys/net sys/netinet sys/netpfil/ipfw sys/netpfil/pf sys/sys

2012-10-06 Thread Gleb Smirnoff
ln -s 'abort:false,junk:false' /etc/malloc.conf.) +20121006: + The pfil(9) API/ABI for AF_INET family has been changed. Packet + filtering modules: pf(4), ipfw(4), ipfilter(4) need to be recompiled + with new kernel. + 20121001: The net80211(4) ABI has been changed

svn commit: r241255 - head/lib/libpmc

2012-10-06 Thread Tim Kientzle
Author: kientzle Date: Sat Oct 6 17:54:42 2012 New Revision: 241255 URL: http://svn.freebsd.org/changeset/base/241255 Log: Fix make install Also make arm the same as other platforms: Install man pages for all CPUs in the family. Modified: head/lib/libpmc/Makefile Modified:

svn commit: r241276 - head/sys/mips/mips

2012-10-06 Thread Alan Cox
Author: alc Date: Sat Oct 6 19:05:50 2012 New Revision: 241276 URL: http://svn.freebsd.org/changeset/base/241276 Log: Correct two pessimizations in pmap_extract_and_hold(). Test the PTE for having PTE_RO set instead of PTE_D. This avoids some unnecessary failures by

svn commit: r241279 - in head: share/mk tools/build/options usr.bin usr.bin/bmake usr.bin/bmake/unit-tests

2012-10-06 Thread Marcel Moolenaar
Author: marcel Date: Sat Oct 6 19:19:21 2012 New Revision: 241279 URL: http://svn.freebsd.org/changeset/base/241279 Log: Add bmake to the build and allow it to be installed as make(1) instead of FreeBSD's make by setting WITH_BMAKE. The WITH_BMAKE build makes it easy for people to switch

svn commit: r241280 - head/usr.bin/make

2012-10-06 Thread Andriy Gapon
Author: avg Date: Sat Oct 6 19:19:32 2012 New Revision: 241280 URL: http://svn.freebsd.org/changeset/base/241280 Log: make: report :M or :N pattern in debug mode MFC after:12 days Modified: head/usr.bin/make/var.c Modified: head/usr.bin/make/var.c

svn commit: r241281 - head/sys/kern

2012-10-06 Thread Andriy Gapon
Author: avg Date: Sat Oct 6 19:23:44 2012 New Revision: 241281 URL: http://svn.freebsd.org/changeset/base/241281 Log: ktrace/kern_exec: check p_tracecred instead of p_cred .. when deciding whether to continue tracing across suid/sgid exec. Otherwise if root ktrace-d an unprivileged

svn commit: r241282 - head/sys/boot/zfs

2012-10-06 Thread Andriy Gapon
Author: avg Date: Sat Oct 6 19:25:40 2012 New Revision: 241282 URL: http://svn.freebsd.org/changeset/base/241282 Log: zfs boot: chose a first pool if none is explicitly requested MFC after:8 days Modified: head/sys/boot/zfs/zfs.c Modified: head/sys/boot/zfs/zfs.c

svn commit: r241283 - head/sys/boot/zfs

2012-10-06 Thread Andriy Gapon
Author: avg Date: Sat Oct 6 19:27:04 2012 New Revision: 241283 URL: http://svn.freebsd.org/changeset/base/241283 Log: zfs boot: add code for listing child datasets of a given dataset - only filesystem datasets are supported - children names are printed to stdout To do: allow to

svn commit: r241284 - head/sys/boot/i386/loader

2012-10-06 Thread Andriy Gapon
Author: avg Date: Sat Oct 6 19:27:54 2012 New Revision: 241284 URL: http://svn.freebsd.org/changeset/base/241284 Log: zfs boot: add lszfs command to i386 loader ... to list child datasets of a specified dataset. Dataset name should be provided in poolname/dsname format. MFC after:

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

2012-10-06 Thread Marcel Moolenaar
Author: marcel Date: Sat Oct 6 19:28:19 2012 New Revision: 241285 URL: http://svn.freebsd.org/changeset/base/241285 Log: Update to include WITH_BMAKE. Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5

svn commit: r241287 - head/sys/mips/mips

2012-10-06 Thread Alan Cox
Author: alc Date: Sat Oct 6 19:33:52 2012 New Revision: 241287 URL: http://svn.freebsd.org/changeset/base/241287 Log: In general pmap implementations do not set the wired attribute on the temporary mappings that are used to implement operations like pmap_zero_page(). There is no reason

svn commit: r241286 - in head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs: . sys

2012-10-06 Thread Andriy Gapon
Author: avg Date: Sat Oct 6 19:33:47 2012 New Revision: 241286 URL: http://svn.freebsd.org/changeset/base/241286 Log: zfs_mount: taste geom providers for root pool config This should allow to mount a dataset as a root filesystem even if it belongs to a pool that is not described in

svn commit: r241288 - head/sys/boot/i386/zfsboot

2012-10-06 Thread Andriy Gapon
Author: avg Date: Sat Oct 6 19:38:33 2012 New Revision: 241288 URL: http://svn.freebsd.org/changeset/base/241288 Log: zfsboot: use the same zfs dataset naming format as loader Also, pool name alone now names a root dataset of the pool regardless of bootfs property value. MFC after:

svn commit: r241289 - head/sys/boot/zfs

2012-10-06 Thread Andriy Gapon
Author: avg Date: Sat Oct 6 19:40:12 2012 New Revision: 241289 URL: http://svn.freebsd.org/changeset/base/241289 Log: boot/zfs: call zfs_spa_init for all found pools ... and drop those for which it fails. Also, add more sanity checking to the function. MFC after:16 days

svn commit: r241290 - head/sys/boot/zfs

2012-10-06 Thread Andriy Gapon
Author: avg Date: Sat Oct 6 19:41:11 2012 New Revision: 241290 URL: http://svn.freebsd.org/changeset/base/241290 Log: boot/zfs: a small whitespace cleanup MFC after:5 days Modified: head/sys/boot/zfs/zfs.c Modified: head/sys/boot/zfs/zfs.c

svn commit: r241291 - head/sys/boot/zfs

2012-10-06 Thread Andriy Gapon
Author: avg Date: Sat Oct 6 19:42:05 2012 New Revision: 241291 URL: http://svn.freebsd.org/changeset/base/241291 Log: zfs boot spa_status: print bootfs for each reported pool MFC after:9 days Modified: head/sys/boot/zfs/zfsimpl.c Modified: head/sys/boot/zfs/zfsimpl.c

svn commit: r241292 - head/sys/boot/zfs

2012-10-06 Thread Andriy Gapon
Author: avg Date: Sat Oct 6 19:42:50 2012 New Revision: 241292 URL: http://svn.freebsd.org/changeset/base/241292 Log: zfs loader: treat plain pool name as a name of its root dataset ... as opposed to the previous behavior of treating it as boot dataset (specified by bootfs or default)

svn commit: r241293 - in head/sys/boot: i386/loader i386/zfsboot zfs

2012-10-06 Thread Andriy Gapon
Author: avg Date: Sat Oct 6 19:47:24 2012 New Revision: 241293 URL: http://svn.freebsd.org/changeset/base/241293 Log: zfs boot: export boot/primary pool and vdev guid all the way to kenv This is work in progress to for znextboot and it also provides some convenient infrastructure.

svn commit: r241294 - head/sys/boot/i386/zfsboot

2012-10-06 Thread Andriy Gapon
Author: avg Date: Sat Oct 6 19:48:15 2012 New Revision: 241294 URL: http://svn.freebsd.org/changeset/base/241294 Log: zfsboot: simplify probe_drive() a little bit The first discovered pool, whether it covers the whole boot disk or not, is going to be first in zfs_pools list. So there

svn commit: r241295 - head/sys/kern

2012-10-06 Thread Andriy Gapon
Author: avg Date: Sat Oct 6 19:50:23 2012 New Revision: 241295 URL: http://svn.freebsd.org/changeset/base/241295 Log: cngetc: use cpu_spinwait to ease the cncheckc loop a tiny bit Reviewed by: julian MFC after:10 days Modified: head/sys/kern/kern_cons.c Modified:

svn commit: r241296 - head/sys/geom/part

2012-10-06 Thread Andriy Gapon
Author: avg Date: Sat Oct 6 19:52:50 2012 New Revision: 241296 URL: http://svn.freebsd.org/changeset/base/241296 Log: g_part_taste: directly destroy consumer and geom here, no need for withering Besides withered but still alive consumers may interfere with re-tatsing. MFC after:

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

2012-10-06 Thread Andriy Gapon
Author: avg Date: Sat Oct 6 19:57:27 2012 New Revision: 241297 URL: http://svn.freebsd.org/changeset/base/241297 Log: zvol: set mediasize in geom provider right upon its creation ... instead of deferring the action until first open. Unlike upstream this has no benefit on FreeBSD. We

svn commit: r241298 - in head: . gnu/usr.bin/cc/cc_int gnu/usr.bin/cc/include kerberos5 kerberos5/tools/asn1_compile kerberos5/tools/slc lib/clang/include share/mk tools/build/make_check usr.sbin/c...

2012-10-06 Thread Marcel Moolenaar
Author: marcel Date: Sat Oct 6 20:01:05 2012 New Revision: 241298 URL: http://svn.freebsd.org/changeset/base/241298 Log: Add support for bmake. This includes: 1. Don't do upgrade_checks when using bmake. As long as we have WITH_BMAKE, there's a bootstrap complication in ths respect.

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

2012-10-06 Thread Andriy Gapon
Author: avg Date: Sat Oct 6 20:01:17 2012 New Revision: 241299 URL: http://svn.freebsd.org/changeset/base/241299 Log: boot/console: handle consoles that fail to probe - clarify meaning of console flags - perform i/o via a console only if both of the following conditions are met: o

svn commit: r241300 - head/sys/boot/i386/libi386

2012-10-06 Thread Andriy Gapon
Author: avg Date: Sat Oct 6 20:04:51 2012 New Revision: 241300 URL: http://svn.freebsd.org/changeset/base/241300 Log: i386 comconsole: don't loop forever if hardware doesn't respond - clear capability flags when hw timeouts - retire comc_started status variable and directly use c_flags

svn commit: r241301 - in head/sys/boot/i386: boot2 btx/btx gptboot zfsboot

2012-10-06 Thread Andriy Gapon
Author: avg Date: Sat Oct 6 20:08:29 2012 New Revision: 241301 URL: http://svn.freebsd.org/changeset/base/241301 Log: add detection of serial console presence to btx and boot2-like blocks Note that this commit slightly increases size of boot blocks. Reviewed by: jhb Tested by:

svn commit: r241302 - head/lib/libkvm

2012-10-06 Thread Andriy Gapon
Author: avg Date: Sat Oct 6 20:12:24 2012 New Revision: 241302 URL: http://svn.freebsd.org/changeset/base/241302 Log: kvm_proclist: ignore processes in larvae state Reviewed by: jhb MFC after:8 days Modified: head/lib/libkvm/kvm_proc.c Modified: head/lib/libkvm/kvm_proc.c

svn commit: r241303 - head/lib/libkvm

2012-10-06 Thread Andriy Gapon
Author: avg Date: Sat Oct 6 20:16:04 2012 New Revision: 241303 URL: http://svn.freebsd.org/changeset/base/241303 Log: kvm_getprocs: gracefully handle errors from kvm_deadprocs and don't confuse callers with incorrect return value MFC after:9 days Modified:

svn commit: r241304 - head/lib/libprocstat

2012-10-06 Thread Andriy Gapon
Author: avg Date: Sat Oct 6 20:17:28 2012 New Revision: 241304 URL: http://svn.freebsd.org/changeset/base/241304 Log: procstat_getprocs: honor kvm_getprocs interface - cnt is signed MFC after:10 days Modified: head/lib/libprocstat/libprocstat.c Modified:

Re: svn commit: r241298 - in head: . gnu/usr.bin/cc/cc_int gnu/usr.bin/cc/include kerberos5 kerberos5/tools/asn1_compile kerberos5/tools/slc lib/clang/include share/mk tools/build/make_check usr.sbin/

2012-10-06 Thread Dimitry Andric
On 2012-10-06 22:01, Marcel Moolenaar wrote: 2. Remove the use of -E. It's not needed in our build because we use ?= for the respective variables, which means that we'll take the environment value (if any) anyway. No, this will break builds of 32-bit libraries on amd64, at

svn commit: r241305 - head/sys/cam/ata

2012-10-06 Thread Andriy Gapon
Author: avg Date: Sat Oct 6 21:42:07 2012 New Revision: 241305 URL: http://svn.freebsd.org/changeset/base/241305 Log: ata_da: set disk::d_ident from serial number MFC after:10 days Modified: head/sys/cam/ata/ata_da.c Modified: head/sys/cam/ata/ata_da.c

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

2012-10-06 Thread Pawel Jakub Dawidek
On Sat, Oct 06, 2012 at 07:50:23PM +, Andriy Gapon wrote: Author: avg Date: Sat Oct 6 19:50:23 2012 New Revision: 241295 URL: http://svn.freebsd.org/changeset/base/241295 Log: cngetc: use cpu_spinwait to ease the cncheckc loop a tiny bit This doesn't really help me. On machine that

Re: svn commit: r241298 - in head: . gnu/usr.bin/cc/cc_int gnu/usr.bin/cc/include kerberos5 kerberos5/tools/asn1_compile kerberos5/tools/slc lib/clang/include share/mk tools/build/make_check usr.sbin/

2012-10-06 Thread Marcel Moolenaar
On Oct 6, 2012, at 2:39 PM, Dimitry Andric d...@freebsd.org wrote: On 2012-10-06 22:01, Marcel Moolenaar wrote: 2. Remove the use of -E. It's not needed in our build because we use ?= for the respective variables, which means that we'll take the environment value (if any)

svn commit: r241307 - head/sys/arm/at91

2012-10-06 Thread Warner Losh
Author: imp Date: Sun Oct 7 01:58:32 2012 New Revision: 241307 URL: http://svn.freebsd.org/changeset/base/241307 Log: Use the RTC unit to get the time. This works on all known AT91SAM9* processors, either on reboot or after power down with battery backup. However, the AT91RM9200 RTC

Re: svn commit: r241298 - in head: . gnu/usr.bin/cc/cc_int gnu/usr.bin/cc/include kerberos5 kerberos5/tools/asn1_compile kerberos5/tools/slc lib/clang/include share/mk tools/build/make_check usr.sbin/

2012-10-06 Thread Bruce Evans
On Sat, 6 Oct 2012, Marcel Moolenaar wrote: Log: Add support for bmake. This includes: Modified: head/share/mk/bsd.dep.mk == --- head/share/mk/bsd.dep.mkSat Oct 6 19:57:27 2012(r241297) +++