Re: svn commit: r240135 - in head/sys: amd64/conf conf dev/random i386/conf modules/random

2012-09-11 Thread Konstantin Belousov
On Tue, Sep 11, 2012 at 01:53:45PM -0700, Arthur Mesh wrote: > Funny, I've also implemented RdRand backing for /dev/random over the > weekend, w/o being aware of kib@'s work. Oh well. > > One comment I have: IVY_RNG is potentially not the best name. RdRand > will be available on future architectur

svn commit: r240380 - stable/9/sys/dev/ixgbe

2012-09-11 Thread Kevin Lo
Author: kevlo Date: Wed Sep 12 04:29:11 2012 New Revision: 240380 URL: http://svn.freebsd.org/changeset/base/240380 Log: MFC r240155: Add missing braces Obtained from:DragonFly Modified: stable/9/sys/dev/ixgbe/ixgbe_82599.c Directory Properties: stable/9/sys/dev/ixgbe/ (pro

svn commit: r240379 - in head/sys: fs/ntfs gnu/fs/xfs/FreeBSD

2012-09-11 Thread Kevin Lo
Author: kevlo Date: Wed Sep 12 03:42:52 2012 New Revision: 240379 URL: http://svn.freebsd.org/changeset/base/240379 Log: Add VFCF_READONLY flag that indicates ntfs and xfs file systems are only supported as read-only. Modified: head/sys/fs/ntfs/ntfs_vfsops.c head/sys/gnu/fs/xfs/FreeBSD/xf

svn commit: r240378 - head/share/man/man9

2012-09-11 Thread Kevin Lo
Author: kevlo Date: Wed Sep 12 03:39:32 2012 New Revision: 240378 URL: http://svn.freebsd.org/changeset/base/240378 Log: Add references to VFS_SET(9) and VOP_VPTOFH(9) Modified: head/share/man/man9/VFS.9 Modified: head/share/man/man9/VFS.9

svn commit: r240377 - in head: lib/libmagic tools/build

2012-09-11 Thread David E. O'Brien
Author: obrien Date: Tue Sep 11 22:38:33 2012 New Revision: 240377 URL: http://svn.freebsd.org/changeset/base/240377 Log: r235638 is not the clean way to add support for building on ancient FreeBSD versions. Instead use Imp's good work on "legacy" and follow the outcome of the previous TRB

svn commit: r240376 - head/sys/arm/broadcom/bcm2835

2012-09-11 Thread Hans Petter Selasky
Author: hselasky Date: Tue Sep 11 22:13:37 2012 New Revision: 240376 URL: http://svn.freebsd.org/changeset/base/240376 Log: Add device entry for DWC OTG. Modified: head/sys/arm/broadcom/bcm2835/files.bcm2835 Modified: head/sys/arm/broadcom/bcm2835/files.bcm2835 ==

svn commit: r240375 - head/sys/conf

2012-09-11 Thread Hans Petter Selasky
Author: hselasky Date: Tue Sep 11 22:10:36 2012 New Revision: 240375 URL: http://svn.freebsd.org/changeset/base/240375 Log: Add device entry for DWC OTG. Modified: head/sys/conf/files Modified: head/sys/conf/files ==

svn commit: r240374 - head/sys/dev/usb/controller

2012-09-11 Thread Hans Petter Selasky
Author: hselasky Date: Tue Sep 11 22:08:19 2012 New Revision: 240374 URL: http://svn.freebsd.org/changeset/base/240374 Log: Fix missing parts of DWC OTG host mode support. The host mode support of the DWC OTG is very simple in PIO mode, and we need to re-transmit data when NAK is received am

svn commit: r240373 - head/contrib/bzip2

2012-09-11 Thread Xin LI
Author: delphij Date: Tue Sep 11 21:16:22 2012 New Revision: 240373 URL: http://svn.freebsd.org/changeset/base/240373 Log: Remove a few files that are not needed for FreeBSD. PR: bin/171555 Approved by: obrien Deleted: head/contrib/bzip2/Makefile head/contrib/bzip2/Makefil

svn commit: r240372 - head/usr.bin/stdbuf

2012-09-11 Thread Xin LI
Author: delphij Date: Tue Sep 11 21:13:18 2012 New Revision: 240372 URL: http://svn.freebsd.org/changeset/base/240372 Log: WARNS is now default to 6. Modified: head/usr.bin/stdbuf/Makefile Modified: head/usr.bin/stdbuf/Makefile

RE: svn commit: r240135 - in head/sys: amd64/conf conf dev/random i386/conf modules/random

2012-09-11 Thread Arthur Mesh
Funny, I've also implemented RdRand backing for /dev/random over the weekend, w/o being aware of kib@'s work. Oh well. One comment I have: IVY_RNG is potentially not the best name. RdRand will be available on future architectures, such as Haswell. Perhaps RDRAND_RNG would make a better name? Th

svn commit: r240371 - in head/sys/geom: mirror raid3

2012-09-11 Thread Gleb Smirnoff
Author: glebius Date: Tue Sep 11 20:20:13 2012 New Revision: 240371 URL: http://svn.freebsd.org/changeset/base/240371 Log: When synchronizing, include in the config dump amount of bytes syncronized. The rationale behind this is the following: for large disks the percent synchronisation

svn commit: r240370 - head/usr.bin/chat

2012-09-11 Thread Joel Dahl
Author: joel (doc committer) Date: Tue Sep 11 19:25:59 2012 New Revision: 240370 URL: http://svn.freebsd.org/changeset/base/240370 Log: Minor mdoc fix. Modified: head/usr.bin/chat/chat.8 Modified: head/usr.bin/chat/chat.8 ==

Re: svn commit: r240116 - in vendor/atf: . atf-0.16 atf-0.16/admin atf-0.16/atf-c atf-0.16/atf-c++ atf-0.16/atf-c++/detail atf-0.16/atf-c/detail atf-0.16/atf-config atf-0.16/atf-report atf-0.16/atf-ru

2012-09-11 Thread David O'Brien
On Tue, Sep 04, 2012 at 11:07:34PM +, Marcel Moolenaar wrote: > Author: marcel > Date: Tue Sep 4 23:07:32 2012 > New Revision: 240116 > URL: http://svn.freebsd.org/changeset/base/240116 > Log: > Import ATF version 0,16 Please back this out. I already had it imported in r236635. > Discus

svn commit: r240369 - head/bin/sh

2012-09-11 Thread Joel Dahl
Author: joel (doc committer) Date: Tue Sep 11 17:57:03 2012 New Revision: 240369 URL: http://svn.freebsd.org/changeset/base/240369 Log: Minor mdoc fix. Modified: head/bin/sh/sh.1 Modified: head/bin/sh/sh.1 == --- hea

svn commit: r240368 - head/lib/msun/man

2012-09-11 Thread Joel Dahl
Author: joel (doc committer) Date: Tue Sep 11 17:40:06 2012 New Revision: 240368 URL: http://svn.freebsd.org/changeset/base/240368 Log: Minor mdoc fix. Modified: head/lib/msun/man/cexp.3 Modified: head/lib/msun/man/cexp.3 ==

svn commit: r240367 - head/sys/dev/acpica

2012-09-11 Thread Andriy Gapon
Author: avg Date: Tue Sep 11 17:21:25 2012 New Revision: 240367 URL: http://svn.freebsd.org/changeset/base/240367 Log: revert r240344: cpu_devices[] is used in other functions and must be kept Reported by: gjb, glebius Pointyhat to: avg MFC after:1 day X-MFC note: fake MFC, rem

svn commit: r240366 - head/sys/dev/ixgbe

2012-09-11 Thread Scott Long
Author: scottl Date: Tue Sep 11 16:59:04 2012 New Revision: 240366 URL: http://svn.freebsd.org/changeset/base/240366 Log: Remove a prefetch() directive that, after careful testing, does more harm than good. Submitted by: Fabien Thomas Reviewed by: jfv Modified: head/sys/dev/ixgbe/ix

svn commit: r240365 - in head/usr.bin: mkcsmapper mkesdb

2012-09-11 Thread Dimitry Andric
Author: dim Date: Tue Sep 11 16:32:31 2012 New Revision: 240365 URL: http://svn.freebsd.org/changeset/base/240365 Log: Ensure mkcsmapper and mkesdb compile with clang, if WITH_ICONV is defined. Submitted by: zeising PR: bin/167481 MFC after:3 days X-MFC-With: r238197

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

2012-09-11 Thread Andrey Zonov
Author: zont Date: Tue Sep 11 16:30:26 2012 New Revision: 240364 URL: http://svn.freebsd.org/changeset/base/240364 Log: - Remove unused variables. - Remove redundant return after err(3) call. Approved by: kib (mentor) Modified: head/usr.bin/truss/setup.c Modified: head/usr.bin/truss/

svn commit: r240363 - releng/9.1/sys/modules/zfs

2012-09-11 Thread Pawel Jakub Dawidek
Author: pjd Date: Tue Sep 11 13:58:03 2012 New Revision: 240363 URL: http://svn.freebsd.org/changeset/base/240363 Log: MFC r226738: Don't look for includes in userland directories. There is no need for it and it breaks building the kernel without userland sources. Reported by: andre

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

2012-09-11 Thread Jason E. Hale
Author: jhale (ports committer) Date: Tue Sep 11 13:29:50 2012 New Revision: 240362 URL: http://svn.freebsd.org/changeset/base/240362 Log: - Add myself to calendar.freebsd - Add my mentor relationships to committers-ports.dot Approved by: makc (mentor) Modified: head/share/misc/commit

svn commit: r240361 - in head/lib/libc: gen stdlib

2012-09-11 Thread Dag-Erling Sm�rgrav
Author: des Date: Tue Sep 11 12:55:15 2012 New Revision: 240361 URL: http://svn.freebsd.org/changeset/base/240361 Log: Add the same warning to rand48(3) as to rand(3) and random(3). MFC after:3 days Modified: head/lib/libc/gen/rand48.3 head/lib/libc/stdlib/random.3 Modified: head/

svn commit: r240360 - releng/9.1/lib/libc/stdlib

2012-09-11 Thread Dag-Erling Sm�rgrav
Author: des Date: Tue Sep 11 11:05:32 2012 New Revision: 240360 URL: http://svn.freebsd.org/changeset/base/240360 Log: MFH (r240107, r240111): warn against using these for cryptographic purposes. Approved by: re (kib) Modified: releng/9.1/lib/libc/stdlib/rand.3 releng/9.1/lib/libc/std

svn commit: r240359 - stable/9/sys/modules/zfs

2012-09-11 Thread Pawel Jakub Dawidek
Author: pjd Date: Tue Sep 11 10:07:55 2012 New Revision: 240359 URL: http://svn.freebsd.org/changeset/base/240359 Log: MFC r226738: Don't look for includes in userland directories. There is no need for it and it breaks building the kernel without userland sources. Reported by: andre

svn commit: r240358 - head/sys/fs/nandfs

2012-09-11 Thread Kevin Lo
Author: kevlo Date: Tue Sep 11 09:38:32 2012 New Revision: 240358 URL: http://svn.freebsd.org/changeset/base/240358 Log: Prevent nump NULL pointer dereference in bmap_getlbns() Modified: head/sys/fs/nandfs/bmap.c Modified: head/sys/fs/nandfs/bmap.c ===

svn commit: r240357 - vendor/illumos/dist/cmd/zpool

2012-09-11 Thread Martin Matuska
Author: mm Date: Tue Sep 11 08:49:22 2012 New Revision: 240357 URL: http://svn.freebsd.org/changeset/base/240357 Log: Update vendor/illumos/dist to illumos-gate 13811:4dadf1a8e003 (zfs, illumos issue #3064) Modified: vendor/illumos/dist/cmd/zpool/zpool_main.c Modified: vendor/illumos/dist/

svn commit: r240356 - head/sys/cddl/boot/zfs

2012-09-11 Thread Andriy Gapon
Author: avg Date: Tue Sep 11 08:45:49 2012 New Revision: 240356 URL: http://svn.freebsd.org/changeset/base/240356 Log: forgotten file from r240346 Pointyhat to: avg MFC after:10 days X-MFC with: r240346 Modified: head/sys/cddl/boot/zfs/zfsimpl.h Modified: head/sys/cddl/boot/zf

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

2012-09-11 Thread Kevin Lo
Author: kevlo Date: Tue Sep 11 08:36:41 2012 New Revision: 240355 URL: http://svn.freebsd.org/changeset/base/240355 Log: Fix style nit Modified: head/sys/fs/ext2fs/ext2_inode.c Modified: head/sys/fs/ext2fs/ext2_inode.c =

svn commit: r240354 - head/usr.sbin/bsnmpd/modules/snmp_hostres

2012-09-11 Thread Gleb Smirnoff
Author: glebius Date: Tue Sep 11 08:33:16 2012 New Revision: 240354 URL: http://svn.freebsd.org/changeset/base/240354 Log: Do not count kernel threads as processes for hrSystemProcesses OID. PR: bin/160494 Submitted by: Jeremy Chadwick Modified: head/usr.sbin/bsnmpd/modules/

svn commit: r240353 - stable/9/lib/libc/stdlib

2012-09-11 Thread Dag-Erling Sm�rgrav
Author: des Date: Tue Sep 11 08:30:48 2012 New Revision: 240353 URL: http://svn.freebsd.org/changeset/base/240353 Log: MFH (r240107, r240111): warn against using these for cryptographic purposes. Modified: stable/9/lib/libc/stdlib/rand.3 stable/9/lib/libc/stdlib/random.3 Directory Propertie

svn commit: r240352 - head/usr.sbin/bsnmpd/modules/snmp_hostres

2012-09-11 Thread Gleb Smirnoff
Author: glebius Date: Tue Sep 11 08:28:58 2012 New Revision: 240352 URL: http://svn.freebsd.org/changeset/base/240352 Log: Spelling. Modified: head/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_swrun_tbl.c Modified: head/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_swrun_tbl.c ===

svn commit: r240351 - in head: sbin/ipfw usr.sbin/lpr/lpd

2012-09-11 Thread Kevin Lo
Author: kevlo Date: Tue Sep 11 07:54:41 2012 New Revision: 240351 URL: http://svn.freebsd.org/changeset/base/240351 Log: Remove unused values Modified: head/sbin/ipfw/nat.c head/usr.sbin/lpr/lpd/printjob.c Modified: head/sbin/ipfw/nat.c =

svn commit: r240350 - head/usr.sbin/rpc.lockd

2012-09-11 Thread Kevin Lo
Author: kevlo Date: Tue Sep 11 07:35:24 2012 New Revision: 240350 URL: http://svn.freebsd.org/changeset/base/240350 Log: Remove dead return code Modified: head/usr.sbin/rpc.lockd/lockd_lock.c Modified: head/usr.sbin/rpc.lockd/lockd_lock.c =

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

2012-09-11 Thread Andriy Gapon
Author: avg Date: Tue Sep 11 07:15:11 2012 New Revision: 240349 URL: http://svn.freebsd.org/changeset/base/240349 Log: zfs boot: add a size check for a value in fzap_lookup MFC after:25 days Modified: head/sys/boot/zfs/zfsimpl.c Modified: head/sys/boot/zfs/zfsimpl.c

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

2012-09-11 Thread Andriy Gapon
Author: avg Date: Tue Sep 11 07:13:58 2012 New Revision: 240348 URL: http://svn.freebsd.org/changeset/base/240348 Log: zfs boot: print only an attribute name in fzap_list ... this matches mzap_list behavior MFC after:12 days Modified: head/sys/boot/zfs/zfsimpl.c Modified: head/

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

2012-09-11 Thread Andriy Gapon
Author: avg Date: Tue Sep 11 07:12:48 2012 New Revision: 240347 URL: http://svn.freebsd.org/changeset/base/240347 Log: zfs boot: fix/replace fzap_rlookup implementation The previous one was totally bogus as it used hash value of _output_ variable as an index for searching... The only re

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

2012-09-11 Thread Andriy Gapon
Author: avg Date: Tue Sep 11 07:11:32 2012 New Revision: 240346 URL: http://svn.freebsd.org/changeset/base/240346 Log: zfs boot: bring zap_leaf_chunk field names in sync with kernel code This change is cosmetic. MFC after:10 days Modified: head/sys/boot/zfs/zfs.c head/sys/boot

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

2012-09-11 Thread Andriy Gapon
Author: avg Date: Tue Sep 11 07:07:52 2012 New Revision: 240345 URL: http://svn.freebsd.org/changeset/base/240345 Log: zfs: fix sa_modify_attrs handling of variable-sized attributes - skip length_idx index for a replaced variable-sized attribute - skip length_idx index for a removed varia