svn commit: r250230 - head/lib/libkvm

2013-05-04 Thread Jilles Tjoelker
Author: jilles Date: Sat May 4 09:47:51 2013 New Revision: 250230 URL: http://svnweb.freebsd.org/changeset/base/250230 Log: libkvm: Use O_CLOEXEC instead of separate fcntl(F_SETFD) call. MFC after:1 week Modified: head/lib/libkvm/kvm.c Modified: head/lib/libkvm/kvm.c

svn commit: r250231 - head/lib/libkvm

2013-05-04 Thread Jilles Tjoelker
Author: jilles Date: Sat May 4 11:45:48 2013 New Revision: 250231 URL: http://svnweb.freebsd.org/changeset/base/250231 Log: libkvm: Make second /dev/null file descriptor close-on-exec as well. MFC after:1 week Modified: head/lib/libkvm/kvm.c Modified: head/lib/libkvm/kvm.c

Re: svn commit: r250226 - in head/usr.bin/m4: . TEST

2013-05-04 Thread Baptiste Daroussin
On Fri, May 03, 2013 at 11:29:38PM +, Jung-uk Kim wrote: Author: jkim Date: Fri May 3 23:29:38 2013 New Revision: 250226 URL: http://svnweb.freebsd.org/changeset/base/250226 Log: Reduce diff with upstream. Modified: head/usr.bin/m4/TEST/ack.m4 head/usr.bin/m4/TEST/hanoi.m4

svn commit: r250233 - head/lib/libprocstat

2013-05-04 Thread Sergey Kandaurov
Author: pluknet Date: Sat May 4 12:44:00 2013 New Revision: 250233 URL: http://svnweb.freebsd.org/changeset/base/250233 Log: Bump date. Modified: head/lib/libprocstat/libprocstat.3 Modified: head/lib/libprocstat/libprocstat.3

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

2013-05-04 Thread Bruce Evans
Log: Fix FIONREAD on regular files. The computed result was being ignored and it was being passed down to VOP_IOCTL() where it promptly resulted in ENOTTY due to a missing else for the past 8 years. While here, use a shared vnode lock while fetching the current file's size. In another

svn commit: r250234 - head/lib/libc/nls

2013-05-04 Thread Sergey Kandaurov
Author: pluknet Date: Sat May 4 12:57:21 2013 New Revision: 250234 URL: http://svnweb.freebsd.org/changeset/base/250234 Log: Add entry for errno ECAPMODE. MFC after:3 days Modified: head/lib/libc/nls/C.msg Modified: head/lib/libc/nls/C.msg

svn commit: r250235 - in head: etc/rc.d sbin/mount

2013-05-04 Thread Chris Rees
Author: crees (ports committer) Date: Sat May 4 14:00:16 2013 New Revision: 250235 URL: http://svnweb.freebsd.org/changeset/base/250235 Log: Introduce and use new flag -L to mount for mounting only late filesystems. Previously, rc.d/mountlate mounted *all* filesystems, causing problems

svn commit: r250236 - in head: contrib/smbfs/lib/smb contrib/smbfs/mount_smbfs sys/fs/smbfs sys/netsmb

2013-05-04 Thread Davide Italiano
Author: davide Date: Sat May 4 14:03:18 2013 New Revision: 250236 URL: http://svnweb.freebsd.org/changeset/base/250236 Log: Completely rewrite the interface to smbdev switching from dev_clone to cdevpriv(9). This commit changes the semantic of mount_smbfs in userland as well, which now

svn commit: r250237 - in head/sys: fs/smbfs netsmb

2013-05-04 Thread Davide Italiano
Author: davide Date: Sat May 4 14:18:10 2013 New Revision: 250237 URL: http://svnweb.freebsd.org/changeset/base/250237 Log: Overhaul locking in netsmb, getting rid of the obsolete lockmgr() primitive. This solves a long standing LOR between smb_conn and smb_vc. Tested by:martymac,

svn commit: r250238 - head/sys/fs/smbfs

2013-05-04 Thread Davide Italiano
Author: davide Date: Sat May 4 14:27:28 2013 New Revision: 250238 URL: http://svnweb.freebsd.org/changeset/base/250238 Log: Change VM_OBJECT_LOCK/UNLOCK() - VM_OBJECT_WLOCK/WUNLOCK() to reflect the recent switch of the vm object lock to a rwlock. Reported by: attilio Modified:

svn commit: r250239 - head/share/man/man4/man4.i386

2013-05-04 Thread Gavin Atkinson
Author: gavin Date: Sat May 4 15:10:01 2013 New Revision: 250239 URL: http://svnweb.freebsd.org/changeset/base/250239 Log: Kill yet another reference to UserConfig Modified: head/share/man/man4/man4.i386/npx.4 Modified: head/share/man/man4/man4.i386/npx.4

svn commit: r250240 - head/etc/rc.d

2013-05-04 Thread Hiroki Sato
Author: hrs Date: Sat May 4 15:42:55 2013 New Revision: 250240 URL: http://svnweb.freebsd.org/changeset/base/250240 Log: - Fix exit status when ip6addrctl_verbose=yes [*] - Use the absolute pathname for ip6addrctl. - Use install instead of add to reduce the number of invocations.

svn commit: r250242 - head/tools/regression/usr.bin/xargs

2013-05-04 Thread Stefan Farfeleder
Author: stefanf Date: Sat May 4 16:41:14 2013 New Revision: 250242 URL: http://svnweb.freebsd.org/changeset/base/250242 Log: Add a few xargs tests related to -0, -n and quoting. Added: head/tools/regression/usr.bin/xargs/regress.0.in (contents, props changed)

svn commit: r250243 - head/sys/netsmb

2013-05-04 Thread Davide Italiano
Author: davide Date: Sat May 4 16:55:48 2013 New Revision: 250243 URL: http://svnweb.freebsd.org/changeset/base/250243 Log: If the kernel is compiled with VMIMAGE support, the first attempt of mounting smbfs share will cause a panic. Fix setting setting/restoring vnet context when needed.

Re: svn commit: r250237 - in head/sys: fs/smbfs netsmb

2013-05-04 Thread Attilio Rao
On Sat, May 4, 2013 at 4:18 PM, Davide Italiano dav...@freebsd.org wrote: Author: davide Date: Sat May 4 14:18:10 2013 New Revision: 250237 URL: http://svnweb.freebsd.org/changeset/base/250237 Log: Overhaul locking in netsmb, getting rid of the obsolete lockmgr() primitive. This

svn commit: r250244 - head/lib/libc/locale

2013-05-04 Thread Sergey Kandaurov
Author: pluknet Date: Sat May 4 17:06:47 2013 New Revision: 250244 URL: http://svnweb.freebsd.org/changeset/base/250244 Log: mdoc: missing comma in .Dd macro. Modified: head/lib/libc/locale/duplocale.3 head/lib/libc/locale/freelocale.3 head/lib/libc/locale/newlocale.3

svn commit: r250245 - head/lib/libc/locale

2013-05-04 Thread Sergey Kandaurov
Author: pluknet Date: Sat May 4 17:21:44 2013 New Revision: 250245 URL: http://svnweb.freebsd.org/changeset/base/250245 Log: Document that the return type is different from 1003.1-2008. MFC after:1 week Modified: head/lib/libc/locale/freelocale.3 Modified:

svn commit: r250246 - head/sys/netpfil/ipfw

2013-05-04 Thread Alexander V. Chernikov
Author: melifaro Date: Sat May 4 18:24:30 2013 New Revision: 250246 URL: http://svnweb.freebsd.org/changeset/base/250246 Log: Use unified method for accessing / updating cached rule pointers. MFC after:2 weeks Modified: head/sys/netpfil/ipfw/ip_fw2.c Modified:

svn commit: r250247 - head/sys/kern

2013-05-04 Thread Matthew D Fleming
Author: mdf Date: Sat May 4 18:38:16 2013 New Revision: 250247 URL: http://svnweb.freebsd.org/changeset/base/250247 Log: Add missing vdrop() in error case. Submitted by: Fahad (mohd.fahadul...@isilon.com) MFC after:1 week Modified: head/sys/kern/vfs_subr.c Modified:

Re: svn commit: r250223 - in head: lib/libprocstat sys/kern sys/sys usr.bin/fstat

2013-05-04 Thread Mikolaj Golub
On Fri, May 03, 2013 at 09:11:57PM +, John Baldwin wrote: +static int +procstat_get_sem_info_kvm(kvm_t *kd, struct filestat *fst, +struct semstat *sem, char *errbuf) +{ + struct ksem ksem; + void *ksemp; + char *path; + int i; + + assert(kd); +

svn commit: r250250 - in head: lib/libc/gen lib/libc/nls lib/libc/sys sys/sys

2013-05-04 Thread Sergey Kandaurov
Author: pluknet Date: Sat May 4 19:07:22 2013 New Revision: 250250 URL: http://svnweb.freebsd.org/changeset/base/250250 Log: POSIX 1003.1-2008: add ENOTRECOVERABLE, EOWNERDEAD errnos. Modified: head/lib/libc/gen/errlst.c head/lib/libc/nls/C.msg head/lib/libc/sys/intro.2

svn commit: r250251 - in head: sbin/ping6 sys/netinet sys/netinet6

2013-05-04 Thread Hiroki Sato
Author: hrs Date: Sat May 4 19:16:26 2013 New Revision: 250251 URL: http://svnweb.freebsd.org/changeset/base/250251 Log: Use FF02:0:0:0:0:2:FF00::/104 prefix for IPv6 Node Information Group Address. Although KAME implementation used FF02:0:0:0:0:2::/96 based on older versions of

svn commit: r250252 - head/sys/arm/arm

2013-05-04 Thread Ian Lepore
Author: ian Date: Sat May 4 19:50:50 2013 New Revision: 250252 URL: http://svnweb.freebsd.org/changeset/base/250252 Log: EABI unwinder enhancements... When it's time to stop unwinding, don't exit the loop until after printing info about the current frame. Also, if executing the unwind

svn commit: r250253 - head/sys/arm/arm

2013-05-04 Thread Ian Lepore
Author: ian Date: Sat May 4 19:59:35 2013 New Revision: 250253 URL: http://svnweb.freebsd.org/changeset/base/250253 Log: Insert STOP_UNWINDING directives in the _start (kernel entry point) and fork_trampoline (thread entry point) assembler routines, because it's not possible to unwind

svn commit: r250254 - head/sys/arm/arm

2013-05-04 Thread Ian Lepore
Author: ian Date: Sat May 4 20:02:34 2013 New Revision: 250254 URL: http://svnweb.freebsd.org/changeset/base/250254 Log: Fix comment block formatting. Modified: head/sys/arm/arm/db_trace.c Modified: head/sys/arm/arm/db_trace.c

svn commit: r250255 - head/sys/arm/arm

2013-05-04 Thread Tim Kientzle
Author: kientzle Date: Sat May 4 21:26:11 2013 New Revision: 250255 URL: http://svnweb.freebsd.org/changeset/base/250255 Log: Make a debugging printf a little more useful. Modified: head/sys/arm/arm/trap.c Modified: head/sys/arm/arm/trap.c

svn commit: r250259 - head/sys/vm

2013-05-04 Thread Alan Cox
Author: alc Date: Sat May 4 22:50:15 2013 New Revision: 250259 URL: http://svnweb.freebsd.org/changeset/base/250259 Log: Optimize vm_radix_lookup_ge() and vm_radix_lookup_le(). Specifically, change the way that these functions ascend the tree when the search for a matching leaf fails at