svn commit: r254269 - head/sys/geom/raid

2013-08-13 Thread Alexander Motin
Author: mav Date: Tue Aug 13 06:21:36 2013 New Revision: 254269 URL: http://svnweb.freebsd.org/changeset/base/254269 Log: Fix reasonable but safe Clang warnings. Modified: head/sys/geom/raid/tr_raid5.c Modified: head/sys/geom/raid/tr_raid5.c

svn commit: r254271 - head/sys/geom/raid

2013-08-13 Thread Alexander Motin
Author: mav Date: Tue Aug 13 06:25:34 2013 New Revision: 254271 URL: http://svnweb.freebsd.org/changeset/base/254271 Log: Oops, wrong constant at r254269. Modified: head/sys/geom/raid/tr_raid5.c Modified: head/sys/geom/raid/tr_raid5.c

svn commit: r254273 - in head: . include lib lib/libc/iconv lib/libiconv_compat lib/libkiconv share/mk sys/sys tools/build/mk

2013-08-13 Thread Peter Wemm
' /etc/malloc.conf.) +20130813: + WITH_ICONV has been split into two feature sets. WITH_ICONV now + enables just the iconv* functionality and is now on by default. + WITH_LIBICONV_COMPAT enables the libiconv api and link time + compatability. Set WITHOUT_ICONV to build

svn commit: r254274 - head

2013-08-13 Thread Peter Wemm
Author: peter Date: Tue Aug 13 07:31:27 2013 New Revision: 254274 URL: http://svnweb.freebsd.org/changeset/base/254274 Log: Add a note that if you were WITH_ICONV before, you should turn on WITH_LIBICONV_COMPAT. Modified: head/UPDATING Modified: head/UPDATING

Re: svn commit: r254273 - in head: . include lib lib/libc/iconv lib/libiconv_compat lib/libkiconv share/mk sys/sys tools/build/mk

2013-08-13 Thread Gabor Kovesdan
Em 13-08-2013 09:15, Peter Wemm escreveu: Author: peter Date: Tue Aug 13 07:15:01 2013 New Revision: 254273 URL:http://svnweb.freebsd.org/changeset/base/254273 Log: The iconv in libc did two things - implement the standard APIs, the GNU extensions and also tried to be link time compatible

Re: svn commit: r254275 - head/sys/geom/raid

2013-08-13 Thread Peter Wemm
On Tue, Aug 13, 2013 at 12:56 AM, Alexander Motin m...@freebsd.org wrote: Log: Return error when opening read-only volumes (like RAID4/5/...) for writing. Previously opens succeeded, but actual write operations returned errors. Requested by: peter MFC after:2 weeks Thanks! The

Re: svn commit: r254275 - head/sys/geom/raid

2013-08-13 Thread Andriy Gapon
on 13/08/2013 10:56 Alexander Motin said the following: + /* Deny write opens for read-only volumes. */ + if (vol-v_read_only acw 0) { + error = EROFS; + goto out; + } I'd like to stir a small (hopefully) discussion (again, hopefully): is EROFS

svn commit: r254278 - head/crypto/openssh

2013-08-13 Thread Dag-Erling Smørgrav
Author: des Date: Tue Aug 13 09:06:18 2013 New Revision: 254278 URL: http://svnweb.freebsd.org/changeset/base/254278 Log: Apply upstream revision 1.151 (fix relative symlinks) MFC after:3 days Modified: head/crypto/openssh/sftp.c Directory Properties: head/crypto/openssh/ (props

svn commit: r254282 - head/sys/kern

2013-08-13 Thread Gleb Smirnoff
Author: glebius Date: Tue Aug 13 13:40:31 2013 New Revision: 254282 URL: http://svnweb.freebsd.org/changeset/base/254282 Log: - Minor style(9) fix. - Bring a comment up to date. Modified: head/sys/kern/uipc_syscalls.c Modified: head/sys/kern/uipc_syscalls.c

Re: svn commit: r254138 - in head: share/man/man9 sys/amd64/amd64 sys/arm/arm sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/dev/agp sys/dev/drm2/i915 sys/dev/drm2/ttm sys/dev/md sys/fs/fuse sys/f

2013-08-13 Thread Ulrich Spörlein
On Fri, 2013-08-09 at 11:11:12 +, Attilio Rao wrote: Author: attilio Date: Fri Aug 9 11:11:11 2013 New Revision: 254138 URL: http://svnweb.freebsd.org/changeset/base/254138 Log: The soft and hard busy mechanism rely on the vm object lock to work. Unify the 2 concept into a real,

Re: svn commit: r254217 - head/sys/conf

2013-08-13 Thread Ian Lepore
On Sun, 2013-08-11 at 13:57 +, Glen Barber wrote: Author: gjb Date: Sun Aug 11 13:57:14 2013 New Revision: 254217 URL: http://svnweb.freebsd.org/changeset/base/254217 Log: Use realpath(1) to determine the location of the newvers.sh script, since the current working directory might

Re: svn commit: r254217 - head/sys/conf

2013-08-13 Thread Glen Barber
On Tue, Aug 13, 2013 at 09:23:09AM -0600, Ian Lepore wrote: On Sun, 2013-08-11 at 13:57 +, Glen Barber wrote: Author: gjb Date: Sun Aug 11 13:57:14 2013 New Revision: 254217 URL: http://svnweb.freebsd.org/changeset/base/254217 Log: Use realpath(1) to determine the location of

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

2013-08-13 Thread Pedro F. Giffuni
Author: pfg Date: Tue Aug 13 15:40:43 2013 New Revision: 254283 URL: http://svnweb.freebsd.org/changeset/base/254283 Log: Define ext2fs local types and use them. Add definitions for e2fs_daddr_t, e4fs_daddr_t in addition to the already existing e2fs_lbn_t and adjust them for ext4.

Re: svn commit: r254138 - in head: share/man/man9 sys/amd64/amd64 sys/arm/arm sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/dev/agp sys/dev/drm2/i915 sys/dev/drm2/ttm sys/dev/md sys/fs/fuse sys/f

2013-08-13 Thread Ulrich Spörlein
2013/8/13 Attilio Rao atti...@freebsd.org: On Tue, Aug 13, 2013 at 4:22 PM, Ulrich Spörlein u...@freebsd.org wrote: On Fri, 2013-08-09 at 11:11:12 +, Attilio Rao wrote: Author: attilio Date: Fri Aug 9 11:11:11 2013 New Revision: 254138 URL:

Re: svn commit: r254217 - head/sys/conf

2013-08-13 Thread Ian Lepore
On Tue, 2013-08-13 at 11:32 -0400, Glen Barber wrote: On Tue, Aug 13, 2013 at 09:23:09AM -0600, Ian Lepore wrote: On Sun, 2013-08-11 at 13:57 +, Glen Barber wrote: Author: gjb Date: Sun Aug 11 13:57:14 2013 New Revision: 254217 URL:

Re: svn commit: r254283 - head/sys/fs/ext2fs

2013-08-13 Thread Sam Fourman Jr.
On Tue, Aug 13, 2013 at 11:40 AM, Pedro F. Giffuni p...@freebsd.org wrote: Author: pfg Date: Tue Aug 13 15:40:43 2013 New Revision: 254283 URL: http://svnweb.freebsd.org/changeset/base/254283 Log: Define ext2fs local types and use them. Add definitions for e2fs_daddr_t, e4fs_daddr_t

Re: svn commit: r254217 - head/sys/conf

2013-08-13 Thread Glen Barber
On Tue, Aug 13, 2013 at 11:02:17AM -0600, Ian Lepore wrote: It fails for me during buildworld (I haven't gotten to buildkernel yet). This is a cross-build of armv6 from i386, if that matters. It looks like the build is failing in sys/boot/fdt. === sys/boot/fdt (installincludes) 1 error ***

Re: svn commit: r254217 - head/sys/conf

2013-08-13 Thread Ian Lepore
On Tue, 2013-08-13 at 13:13 -0400, Glen Barber wrote: On Tue, Aug 13, 2013 at 11:02:17AM -0600, Ian Lepore wrote: It fails for me during buildworld (I haven't gotten to buildkernel yet). This is a cross-build of armv6 from i386, if that matters. It looks like the build is failing in

Re: svn commit: r254217 - head/sys/conf

2013-08-13 Thread Glen Barber
On Tue, Aug 13, 2013 at 11:31:52AM -0600, Ian Lepore wrote: I'm not even sure what $0 *should* expand to in a script that was sourced in. The manpage doesn't say anything meaningful to me about it. Maybe it's a kind of indeterminate results thing which is pretty much what we're seeing.

svn commit: r254285 - head/lib/libc/iconv

2013-08-13 Thread Peter Wemm
Author: peter Date: Tue Aug 13 18:14:53 2013 New Revision: 254285 URL: http://svnweb.freebsd.org/changeset/base/254285 Log: Expose _citrus_bcs_trunc_rws_len for libintl's use. Submitted by: Jan Beich jbe...@tormail.org Modified: head/lib/libc/iconv/Symbol.map Modified:

Re: svn commit: r254266 - in head: share/man/man9 sys/kern sys/sys

2013-08-13 Thread John Baldwin
On Monday, August 12, 2013 11:07:49 pm Mark Johnston wrote: Author: markj Date: Tue Aug 13 03:07:49 2013 New Revision: 254266 URL: http://svnweb.freebsd.org/changeset/base/254266 Log: Add event handlers for module load and unload events. The load handlers are called after the module

Re: svn commit: r254283 - head/sys/fs/ext2fs

2013-08-13 Thread Pedro Giffuni
On 13.08.2013 12:12, Sam Fourman Jr. wrote: I think this change broke the build. Thank you Sam! It's very strange it builds fine here. Can anyone confirm? Pedro. root@Border:/usr/src # svnlite info Path: . Working Copy Root Path: /usr/src URL: http://svn0.us-west.freebsd.org/base/head

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

2013-08-13 Thread Pedro F. Giffuni
Author: pfg Date: Tue Aug 13 18:39:36 2013 New Revision: 254286 URL: http://svnweb.freebsd.org/changeset/base/254286 Log: ext2fs: update format specifiers for ext4 type. Reported by: Sam Fourman Jr. MFC after:3 weeks Modified: head/sys/fs/ext2fs/ext2_subr.c Modified:

Re: svn commit: r254283 - head/sys/fs/ext2fs

2013-08-13 Thread Pedro Giffuni
On 13.08.2013 13:27, Pedro Giffuni wrote: On 13.08.2013 12:12, Sam Fourman Jr. wrote: I think this change broke the build. Thank you Sam! It's very strange it builds fine here. Can anyone confirm? Nevermind.. it's a format specifier issue I will fix. Thank you again! Pedro.

svn commit: r254287 - head/sys/kern

2013-08-13 Thread John Baldwin
Author: jhb Date: Tue Aug 13 18:45:58 2013 New Revision: 254287 URL: http://svnweb.freebsd.org/changeset/base/254287 Log: Some small cleanups to the fixes in r180340: - Set NOTE_TRACKERR before running filt_proc(). If the knote did not have NOTE_FORK set in fflags when registered, then

svn commit: r254288 - head/sbin/init

2013-08-13 Thread Jilles Tjoelker
Author: jilles Date: Tue Aug 13 18:51:26 2013 New Revision: 254288 URL: http://svnweb.freebsd.org/changeset/base/254288 Log: init: Set kernel login class and CPU mask on new processes. In particular, this makes the kernel login class on processes started from /etc/rc daemon instead of

svn commit: r254289 - in head/lib/libc/db: btree hash

2013-08-13 Thread Jilles Tjoelker
Author: jilles Date: Tue Aug 13 19:20:50 2013 New Revision: 254289 URL: http://svnweb.freebsd.org/changeset/base/254289 Log: db: Use O_CLOEXEC instead of separate fcntl() call. Modified: head/lib/libc/db/btree/bt_open.c head/lib/libc/db/hash/hash_page.c Modified:

Re: svn commit: r254217 - head/sys/conf

2013-08-13 Thread Hiroki Sato
Glen Barber g...@freebsd.org wrote in 20130813175335.gr2...@glenbarber.us: gj On Tue, Aug 13, 2013 at 11:31:52AM -0600, Ian Lepore wrote: gj I'm not even sure what $0 *should* expand to in a script that was gj sourced in. The manpage doesn't say anything meaningful to me about it. gj Maybe

Re: svn commit: r254224 - head/share/man/man7

2013-08-13 Thread Hiroki Sato
Glen Barber g...@freebsd.org wrote in 201308111857.r7bivrsq080...@svn.freebsd.org: gj +.It Va SVNROOT gj +The gj +.Xr svn 1 gj +host used to check out the various trees. gj Defaults to gj -.Pa svn://svn.freebsd.org . gj -.It Ev SVNROOTSRC gj -The URL of the FreeBSD SVN source repository. gj

Re: svn commit: r254224 - head/share/man/man7

2013-08-13 Thread Glen Barber
On Wed, Aug 14, 2013 at 04:25:57AM +0900, Hiroki Sato wrote: gj +.It Va SRCREVISION gj +The revision of the gj +.Li src/ gj +tree to use. gj +Defaults to the current top of tree revision. gj +.It Va DOCREVISION gj +The revision of the gj +.Li doc/ gj +tree to use. gj +Defaults to the

Re: svn commit: r254217 - head/sys/conf

2013-08-13 Thread Glen Barber
On Wed, Aug 14, 2013 at 04:36:25AM +0900, Hiroki Sato wrote: Glen Barber g...@freebsd.org wrote in 20130813175335.gr2...@glenbarber.us: gj On Tue, Aug 13, 2013 at 11:31:52AM -0600, Ian Lepore wrote: gj I'm not even sure what $0 *should* expand to in a script that was gj sourced in. The

svn commit: r254291 - head/usr.bin/kdump

2013-08-13 Thread Jilles Tjoelker
Author: jilles Date: Tue Aug 13 19:57:35 2013 New Revision: 254291 URL: http://svnweb.freebsd.org/changeset/base/254291 Log: kdump: Improve decoding of various *at calls: * Write AT_FDCWD where appropriate. * Decode the remaining arguments of openat() etc like open() etc. Modified:

svn commit: r254292 - head/sys/netinet

2013-08-13 Thread Mikolaj Golub
Author: trociny Date: Tue Aug 13 19:59:49 2013 New Revision: 254292 URL: http://svnweb.freebsd.org/changeset/base/254292 Log: Virtualize carp(4) variables to have per vnet control. Reviewed by: ae, glebius Modified: head/sys/netinet/ip_carp.c Modified: head/sys/netinet/ip_carp.c

Re: svn commit: r254217 - head/sys/conf

2013-08-13 Thread Ian Lepore
On Tue, 2013-08-13 at 13:53 -0400, Glen Barber wrote: On Tue, Aug 13, 2013 at 11:31:52AM -0600, Ian Lepore wrote: I'm not even sure what $0 *should* expand to in a script that was sourced in. The manpage doesn't say anything meaningful to me about it. Maybe it's a kind of indeterminate

svn commit: r254293 - head/release

2013-08-13 Thread Glen Barber
Author: gjb Date: Tue Aug 13 20:16:14 2013 New Revision: 254293 URL: http://svnweb.freebsd.org/changeset/base/254293 Log: - Only set ARCH_FLAGS (TARGET/TARGET_ARCH) if specified, otherwise allow the toolchain to detect the correct values. - Remove {SRC,DOC,PORT}REVISION variables, and

svn commit: r254294 - head/share/man/man7

2013-08-13 Thread Glen Barber
Author: gjb Date: Tue Aug 13 20:22:57 2013 New Revision: 254294 URL: http://svnweb.freebsd.org/changeset/base/254294 Log: - Remove the defaults for TARGET/TARGET_ARCH. - Note that WORLD_FLAGS and KERNEL_FLAGS set the number of make(1) jobs only on SMP-capable systems. MFC after:

svn commit: r254295 - head/gnu/lib/libstdc++

2013-08-13 Thread Pedro F. Giffuni
Author: pfg Date: Tue Aug 13 20:28:21 2013 New Revision: 254295 URL: http://svnweb.freebsd.org/changeset/base/254295 Log: Teach libstdc++ about logl(3). The logl(3) family of functions were implemented in r251292. Define them in libstdc++'s configuration so they can be used.

svn commit: r254296 - head/usr.bin/kdump

2013-08-13 Thread Jilles Tjoelker
Author: jilles Date: Tue Aug 13 20:33:50 2013 New Revision: 254296 URL: http://svnweb.freebsd.org/changeset/base/254296 Log: kdump: Decode AT_FDCWD in first argument of bindat() and connectat(). Modified: head/usr.bin/kdump/kdump.c Modified: head/usr.bin/kdump/kdump.c

svn commit: r254297 - head/lib/libc/stdlib

2013-08-13 Thread Peter Wemm
Author: peter Date: Tue Aug 13 20:38:55 2013 New Revision: 254297 URL: http://svnweb.freebsd.org/changeset/base/254297 Log: vfork(2) was listed as deprecated in 1994 (r1573) and was the false reports of its impending demise were removed in 2009 (r199257). However, in 1996 (r16117)

Re: svn commit: r254224 - head/share/man/man7

2013-08-13 Thread Hiroki Sato
Glen Barber g...@freebsd.org wrote in 20130813195257.ga2...@glenbarber.us: gj On Wed, Aug 14, 2013 at 04:25:57AM +0900, Hiroki Sato wrote: gj gj +.It Va SRCREVISION gj gj +The revision of the gj gj +.Li src/ gj gj +tree to use. gj gj +Defaults to the current top of tree revision. gj gj

Re: svn commit: r254275 - head/sys/geom/raid

2013-08-13 Thread Poul-Henning Kamp
In message 5209f968.4090...@freebsd.org, Alexander Motin writes: On 13.08.2013 11:48, Andriy Gapon wrote: I'd like to stir a small (hopefully) discussion (again, hopefully): is EROFS appropriate here or would ENODEV be better? EROFSRead-only filesystem ENODEV Operation not

Re: svn commit: r254224 - head/share/man/man7

2013-08-13 Thread Glen Barber
On Wed, Aug 14, 2013 at 05:35:54AM +0900, Hiroki Sato wrote: gj Why is get_rev_branch() redundant? Because variables in get_rev_branch() are already defined in src/release/Makefile, too. If one wants to use them in release.sh for some reason, make -VBRANCH is preferable instead of

Re: svn commit: r253802 - head/contrib/llvm/tools/clang/lib/Headers

2013-08-13 Thread Jilles Tjoelker
On Thu, Aug 08, 2013 at 09:37:02AM +0100, David Chisnall wrote: On 7 Aug 2013, at 21:56, Jilles Tjoelker jil...@stack.nl wrote: The code_model stuff is not for x32 support but for PIC/PIE code where code+data exceed 2GB so relative addressing cannot always be used. The ABI then prescribes

Re: svn commit: r254297 - head/lib/libc/stdlib

2013-08-13 Thread Jilles Tjoelker
On Tue, Aug 13, 2013 at 08:38:56PM +, Peter Wemm wrote: Author: peter Date: Tue Aug 13 20:38:55 2013 New Revision: 254297 URL: http://svnweb.freebsd.org/changeset/base/254297 Log: vfork(2) was listed as deprecated in 1994 (r1573) and was the false reports of its impending demise

svn commit: r254298 - head/release

2013-08-13 Thread Glen Barber
Author: gjb Date: Tue Aug 13 21:01:23 2013 New Revision: 254298 URL: http://svnweb.freebsd.org/changeset/base/254298 Log: Remove get_rev_branch(), functionality exists in the release/Makefile. Submitted by: hrs Modified: head/release/release.sh Modified: head/release/release.sh

svn commit: r254299 - head/sys/arm/freescale/imx

2013-08-13 Thread Ian Lepore
Author: ian Date: Tue Aug 13 21:12:28 2013 New Revision: 254299 URL: http://svnweb.freebsd.org/changeset/base/254299 Log: Rename imx_machdep.c to imx51_machdep.c, because it contains hardware addresses which are specific to the imx51 chips. Added: head/sys/arm/freescale/imx/imx51_machdep.c

svn commit: r254300 - in head/sys: amd64/include dev/acpica/Osd i386/include ia64/include

2013-08-13 Thread Jung-uk Kim
Author: jkim Date: Tue Aug 13 21:34:03 2013 New Revision: 254300 URL: http://svnweb.freebsd.org/changeset/base/254300 Log: Tidy up global locks for ACPICA. There is no functional change. Modified: head/sys/amd64/include/acpica_machdep.h head/sys/dev/acpica/Osd/OsdSynch.c

svn commit: r254301 - head/lib/libc/gmon

2013-08-13 Thread Jilles Tjoelker
Author: jilles Date: Tue Aug 13 21:45:48 2013 New Revision: 254301 URL: http://svnweb.freebsd.org/changeset/base/254301 Log: libc: Use O_CLOEXEC when writing gmon files (cc -pg). Modified: head/lib/libc/gmon/gmon.c Modified: head/lib/libc/gmon/gmon.c

svn commit: r254302 - head/sys/dev/nvme

2013-08-13 Thread Jim Harris
Author: jimharris Date: Tue Aug 13 21:47:08 2013 New Revision: 254302 URL: http://svnweb.freebsd.org/changeset/base/254302 Log: Send a shutdown notification in the driver unload path, to ensure notification gets sent in cases where system shuts down with driver unloaded. Sponsored by:

svn commit: r254303 - head/sys/dev/nvme

2013-08-13 Thread Jim Harris
Author: jimharris Date: Tue Aug 13 21:49:32 2013 New Revision: 254303 URL: http://svnweb.freebsd.org/changeset/base/254303 Log: If a controller fails to initialize, do not notify consumers (nvd) of its namespaces. Sponsoredy by:Intel Reviewed by: carl MFC after:3 days

svn commit: r254304 - in head/sys: sys vm

2013-08-13 Thread Jeff Roberson
Author: jeff Date: Tue Aug 13 21:56:16 2013 New Revision: 254304 URL: http://svnweb.freebsd.org/changeset/base/254304 Log: Improve pageout flow control to wakeup more frequently and do less work while maintaining better LRU of active pages. - Change v_free_target to include the quantity

svn commit: r254305 - in head/sys: amd64/include i386/include x86/include

2013-08-13 Thread Jung-uk Kim
Author: jkim Date: Tue Aug 13 22:05:10 2013 New Revision: 254305 URL: http://svnweb.freebsd.org/changeset/base/254305 Log: Merge acpica_machdep.h for amd64 and i386 and move to x86. In fact, these two files were functionally identical. Added: - copied unchanged from r254304,

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

2013-08-13 Thread Jeff Roberson
Author: jeff Date: Tue Aug 13 22:40:43 2013 New Revision: 254307 URL: http://svnweb.freebsd.org/changeset/base/254307 Log: - Add a statically allocated memguard arena since it is needed very early on. - Pass the appropriate flags to vmem_xalloc() when allocating space for the

svn commit: r254308 - head/sys/kern

2013-08-13 Thread Jeff Roberson
Author: jeff Date: Tue Aug 13 22:41:24 2013 New Revision: 254308 URL: http://svnweb.freebsd.org/changeset/base/254308 Log: - Disable quantum caches on the kmem_arena. This can make fragmentation worse on small KVA systems. I had intended to only enable it for debugging.

svn commit: r254309 - in head: share/man/man9 sys/cddl/contrib/opensolaris/uts/common/dtrace sys/cddl/dev/dtrace sys/cddl/dev/sdt sys/kern sys/sys

2013-08-13 Thread Mark Johnston
Author: markj Date: Wed Aug 14 00:42:21 2013 New Revision: 254309 URL: http://svnweb.freebsd.org/changeset/base/254309 Log: Use kld_{load,unload} instead of mod_{load,unload} for the linker file load and unload event handlers added in r254266. Reported by: jhb X-MFC with: r254266

svn commit: r254315 - head/sys/net80211

2013-08-13 Thread Rui Paulo
Author: rpaulo Date: Wed Aug 14 04:24:25 2013 New Revision: 254315 URL: http://svnweb.freebsd.org/changeset/base/254315 Log: Replace the homegrown implementation of nitems() with calls to nitems() (param.h). Operating systems that don't have nitems() can easily define it on their own