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

2013-05-06 Thread John Baldwin
On Saturday, May 04, 2013 02:54:20 PM Mikolaj Golub wrote: 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

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

2013-05-06 Thread Andrey Chernov
On 06.05.2013 1:03, David Chisnall wrote: On 5 May 2013, at 19:31, Andrey Chernov a...@freebsd.org wrote: It is better to fix this function return type to match POSIX standard rather than to document its non-standard behavior. We try to follow POSIX when possible and this is the case. We

svn commit: r250291 - in head/sys: arm/mv boot/fdt/dts dev/cesa

2013-05-06 Thread Grzegorz Bernacki
Author: gber Date: Mon May 6 13:34:36 2013 New Revision: 250291 URL: http://svnweb.freebsd.org/changeset/base/250291 Log: Move initialization of CESA decoding windows from common section to driver specific files. - window initialization is done during device attach - CESA TDMA

svn commit: r250292 - in head/sys/arm/mv: . armadaxp

2013-05-06 Thread Grzegorz Bernacki
Author: gber Date: Mon May 6 13:52:49 2013 New Revision: 250292 URL: http://svnweb.freebsd.org/changeset/base/250292 Log: Initialize L2 cache for Armada XP. Obtained from:Semihalf Modified: head/sys/arm/mv/armadaxp/armadaxp.c head/sys/arm/mv/armadaxp/std.armadaxp

svn commit: r250293 - in head/sys/arm: arm mv mv/armadaxp

2013-05-06 Thread Grzegorz Bernacki
Author: gber Date: Mon May 6 14:12:36 2013 New Revision: 250293 URL: http://svnweb.freebsd.org/changeset/base/250293 Log: Properly initialize Armada XP MP subsystem. - correct setting of Auxiliary Control Register for MP mode - correct setting of Auxiliarty Debug registers - cleanup

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

2013-05-06 Thread Grzegorz Bernacki
Author: gber Date: Mon May 6 14:27:46 2013 New Revision: 250294 URL: http://svnweb.freebsd.org/changeset/base/250294 Log: Avoid calling pcpu_init() simultaneously. pcpu_init() updates queue, so cannot be called by multiple cores at the same time Obtained from:Semihalf

svn commit: r250295 - head/sys/arm/mv

2013-05-06 Thread Grzegorz Bernacki
Author: gber Date: Mon May 6 14:54:17 2013 New Revision: 250295 URL: http://svnweb.freebsd.org/changeset/base/250295 Log: Disable decoding windows with no FDT entry. - On ARMADAXP B0 (GP development board) we are not able to use PCI due to whole 32-bit address space used by 4GB of

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

2013-05-06 Thread Grzegorz Bernacki
Author: gber Date: Mon May 6 14:57:02 2013 New Revision: 250296 URL: http://svnweb.freebsd.org/changeset/base/250296 Log: Correct comment about initial VA=PA mapping Modified: head/sys/arm/arm/locore.S Modified: head/sys/arm/arm/locore.S

svn commit: r250297 - in head/sys/arm: arm include

2013-05-06 Thread Grzegorz Bernacki
Author: gber Date: Mon May 6 15:30:34 2013 New Revision: 250297 URL: http://svnweb.freebsd.org/changeset/base/250297 Log: Fix L2 PTE access permissions management. Keep following access permissions: APX AP Kernel User 1 01 R N 1 10 R

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

2013-05-06 Thread Alexander Motin
Author: mav Date: Mon May 6 15:58:53 2013 New Revision: 250298 URL: http://svnweb.freebsd.org/changeset/base/250298 Log: Fix byte order of ATA WWN when converting it to SCSI LUN ID. Modified: head/sys/cam/ata/ata_xpt.c Modified: head/sys/cam/ata/ata_xpt.c

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

2013-05-06 Thread Grzegorz Bernacki
Author: gber Date: Mon May 6 16:11:53 2013 New Revision: 250299 URL: http://svnweb.freebsd.org/changeset/base/250299 Log: Fix page reference emulation on ARMv6 and v7 Submitted by: Zbigniew Bodek Obtained from: Semihalf Modified: head/sys/arm/arm/pmap-v6.c Modified:

Re: svn commit: r250298 - head/sys/cam/ata

2013-05-06 Thread Ian Lepore
On Mon, 2013-05-06 at 15:58 +, Alexander Motin wrote: Author: mav Date: Mon May 6 15:58:53 2013 New Revision: 250298 URL: http://svnweb.freebsd.org/changeset/base/250298 Log: Fix byte order of ATA WWN when converting it to SCSI LUN ID. Modified: head/sys/cam/ata/ata_xpt.c

svn commit: r250300 - in head/sys: kern net netinet sys

2013-05-06 Thread Andre Oppermann
Author: andre Date: Mon May 6 16:42:18 2013 New Revision: 250300 URL: http://svnweb.freebsd.org/changeset/base/250300 Log: Back out r249318, r249320 and r249327 due to a heisenbug most likely related to a race condition in the ipi_hash_lock with the exact cause currently unknown but under

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

2013-05-06 Thread Alexander Motin
Author: mav Date: Mon May 6 16:50:39 2013 New Revision: 250301 URL: http://svnweb.freebsd.org/changeset/base/250301 Log: Rework r250298 in more correct way. Modified: head/sys/cam/ata/ata_xpt.c Modified: head/sys/cam/ata/ata_xpt.c

Re: svn commit: r250298 - head/sys/cam/ata

2013-05-06 Thread Alexander Motin
On 06.05.2013 19:16, Ian Lepore wrote: On Mon, 2013-05-06 at 15:58 +, Alexander Motin wrote: Author: mav Date: Mon May 6 15:58:53 2013 New Revision: 250298 URL: http://svnweb.freebsd.org/changeset/base/250298 Log: Fix byte order of ATA WWN when converting it to SCSI LUN ID. Modified:

svn commit: r250302 - head/usr.sbin/rtadvd

2013-05-06 Thread Eitan Adler
Author: eadler Date: Mon May 6 17:21:28 2013 New Revision: 250302 URL: http://svnweb.freebsd.org/changeset/base/250302 Log: Fix a typo in an error message. Obtained From:DragonFlyBSD (commit 66e72101cc32272ae370b895ca3d9e3e99c5c3a8) Modified: head/usr.sbin/rtadvd/rrenum.c

svn commit: r250303 - head/sbin/iscontrol

2013-05-06 Thread Eitan Adler
Author: eadler Date: Mon May 6 17:44:12 2013 New Revision: 250303 URL: http://svnweb.freebsd.org/changeset/base/250303 Log: Remove includes for old versions of FreeBSD. Reviewed by: stass Obtained From:DragonFlyBSD MFC After:1 week Modified:

Re: svn commit: r250249 - in stable/8/sys: . amd64/amd64 dev/sound i386/i386 kern

2013-05-06 Thread John Baldwin
On Saturday, May 04, 2013 3:06:12 pm Dimitry Andric wrote: On May 4, 2013, at 20:51, m...@freebsd.org wrote: On Sat, May 4, 2013 at 11:49 AM, Matthew D Fleming m...@freebsd.org wrote: Author: mdf Date: Sat May 4 18:49:04 2013 New Revision: 250249 URL:

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

2013-05-06 Thread John Baldwin
On Saturday, May 04, 2013 4:47:43 am Bruce Evans wrote: 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

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

2013-05-06 Thread Pawel Jakub Dawidek
On Sun, Apr 28, 2013 at 07:12:09PM +, Konstantin Belousov wrote: Author: kib Date: Sun Apr 28 19:12:09 2013 New Revision: 250027 URL: http://svnweb.freebsd.org/changeset/base/250027 Log: Eliminate the layering violation in the kern_sendfile(). When quering the file size, use

Re: svn commit: r250249 - in stable/8/sys: . amd64/amd64 dev/sound i386/i386 kern

2013-05-06 Thread mdf
On Mon, May 6, 2013 at 6:59 AM, John Baldwin j...@freebsd.org wrote: On Saturday, May 04, 2013 3:06:12 pm Dimitry Andric wrote: On May 4, 2013, at 20:51, m...@freebsd.org wrote: On Sat, May 4, 2013 at 11:49 AM, Matthew D Fleming m...@freebsd.org wrote: Author: mdf Date: Sat May 4

svn commit: r250304 - head/usr.sbin/pmcannotate

2013-05-06 Thread Hiren Panchasara
Author: hiren Date: Mon May 6 18:30:49 2013 New Revision: 250304 URL: http://svnweb.freebsd.org/changeset/base/250304 Log: objdump output changed indentation from 1 space to 2 spaces somewhere between FreeBSD9 and CURRENT. Removing this rather unnecessary check which expects the second

Re: svn commit: r250294 - head/sys/arm/arm

2013-05-06 Thread Adrian Chadd
.. is this really the only way to do this reliably? adrian On 6 May 2013 07:27, Grzegorz Bernacki g...@freebsd.org wrote: Author: gber Date: Mon May 6 14:27:46 2013 New Revision: 250294 URL: http://svnweb.freebsd.org/changeset/base/250294 Log: Avoid calling pcpu_init()

Re: svn commit: r250249 - in stable/8/sys: . amd64/amd64 dev/sound i386/i386 kern

2013-05-06 Thread Dimitry Andric
On May 6, 2013, at 20:27, m...@freebsd.org wrote: On Mon, May 6, 2013 at 6:59 AM, John Baldwin j...@freebsd.org wrote: ... Also, because of 1.7 merges adding more subdir mergeinfo, 1.6 merges now add a lot more mergeinfo. 1.6 should really be avoided at this point for merges if at all

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

2013-05-06 Thread Jeremie Le Hen
Hi Chris, On Sat, May 04, 2013 at 02:00:16PM +, Chris Rees wrote: Log: Introduce and use new flag -L to mount for mounting only late filesystems. Previously, rc.d/mountlate mounted *all* filesystems, causing problems with background NFS mounts being mounted twice. Does that

svn commit: r250305 - releng/8.4/libexec/rtld-elf

2013-05-06 Thread Konstantin Belousov
Author: kib Date: Mon May 6 19:50:22 2013 New Revision: 250305 URL: http://svnweb.freebsd.org/changeset/base/250305 Log: MFC r249525: Rewrite origin_subst_one() to get rid of the wrong limit on the length of the resulting string. MFC r250075: Properly terminate the result string for

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

2013-05-06 Thread Chris Rees
On 6 May 2013 20:47, Jeremie Le Hen j...@freebsd.org wrote: Hi Chris, On Sat, May 04, 2013 at 02:00:16PM +, Chris Rees wrote: Log: Introduce and use new flag -L to mount for mounting only late filesystems. Previously, rc.d/mountlate mounted *all* filesystems, causing problems

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

2013-05-06 Thread Jeremie Le Hen
On Mon, May 06, 2013 at 08:50:51PM +0100, Chris Rees wrote: Hm, that's probably true. I suppose there's no use for it, except that it is equivalent to; mount -a mount -aL Yes, that's my point. I think it may be useful on rare occasions, perhaps in single user when you want to *really*

svn commit: r250306 - in stable/8/sys: net sys

2013-05-06 Thread Dimitry Andric
Author: dim Date: Mon May 6 19:59:13 2013 New Revision: 250306 URL: http://svnweb.freebsd.org/changeset/base/250306 Log: MFC r215137: Revert r103230, which depended on ld preserving the __start_xxx and __stop_xxx symbols for custom sections, even when these were not referenced

svn commit: r250307 - releng/8.4/sys/conf

2013-05-06 Thread Glen Barber
Author: gjb (doc,ports committer) Date: Mon May 6 19:59:38 2013 New Revision: 250307 URL: http://svnweb.freebsd.org/changeset/base/250307 Log: Update releng/8.4 to -RC3 status. Approved by: re (implicit) Modified: releng/8.4/sys/conf/newvers.sh Modified:

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

2013-05-06 Thread Konstantin Belousov
On Mon, May 06, 2013 at 08:16:11PM +0200, Pawel Jakub Dawidek wrote: On Sun, Apr 28, 2013 at 07:12:09PM +, Konstantin Belousov wrote: Author: kib Date: Sun Apr 28 19:12:09 2013 New Revision: 250027 URL: http://svnweb.freebsd.org/changeset/base/250027 Log: Eliminate the

Re: svn commit: r250306 - in stable/8/sys: net sys

2013-05-06 Thread Dimitry Andric
On May 6, 2013, at 21:59, Dimitry Andric d...@freebsd.org wrote: Author: dim Date: Mon May 6 19:59:13 2013 New Revision: 250306 URL: http://svnweb.freebsd.org/changeset/base/250306 Log: MFC r215137: Revert r103230, which depended on ld preserving the __start_xxx and __stop_xxx

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

2013-05-06 Thread Pawel Jakub Dawidek
On Mon, May 06, 2013 at 11:05:30PM +0300, Konstantin Belousov wrote: On Mon, May 06, 2013 at 08:16:11PM +0200, Pawel Jakub Dawidek wrote: On Sun, Apr 28, 2013 at 07:12:09PM +, Konstantin Belousov wrote: Author: kib Date: Sun Apr 28 19:12:09 2013 New Revision: 250027 URL:

svn commit: r250308 - in stable/9: lib/libsbuf share/man/man9 sys/kern sys/sys

2013-05-06 Thread Mikolaj Golub
Author: trociny Date: Mon May 6 20:32:14 2013 New Revision: 250308 URL: http://svnweb.freebsd.org/changeset/base/250308 Log: MFC r249377, r249378, r249379: r249377: Add sbuf_start_section() and sbuf_end_section() functions, which can be used for automatic section alignment.

Re: svn commit: r250249 - in stable/8/sys: . amd64/amd64 dev/sound i386/i386 kern

2013-05-06 Thread Eitan Adler
On 6 May 2013 15:02, Dimitry Andric d...@freebsd.org wrote: On May 6, 2013, at 20:27, m...@freebsd.org wrote: On Mon, May 6, 2013 at 6:59 AM, John Baldwin j...@freebsd.org wrote: ... Also, because of 1.7 merges adding more subdir mergeinfo, 1.6 merges now add a lot more mergeinfo. 1.6 should

svn commit: r250309 - stable/9/sys/kern

2013-05-06 Thread Mikolaj Golub
Author: trociny Date: Mon May 6 20:58:02 2013 New Revision: 250309 URL: http://svnweb.freebsd.org/changeset/base/250309 Log: MFC r249486: Re-factor coredump routines. For each type of notes an output function is provided, which is used either to calculate the note size or output it

svn commit: r250310 - head/sys/fs/tmpfs

2013-05-06 Thread Konstantin Belousov
Author: kib Date: Mon May 6 21:04:42 2013 New Revision: 250310 URL: http://svnweb.freebsd.org/changeset/base/250310 Log: Avoid deactivating the page if it is already on a queue, only requeue the page. This both reduces the number of queues locking and avoids moving the active page to

svn commit: r250311 - stable/8/sys/compat/x86bios

2013-05-06 Thread Jung-uk Kim
Author: jkim Date: Mon May 6 21:13:22 2013 New Revision: 250311 URL: http://svnweb.freebsd.org/changeset/base/250311 Log: MFC: r210877 (partial) Decrease emulated stack size from 64K to 4K bytes. Modified: stable/8/sys/compat/x86bios/x86bios.c stable/8/sys/compat/x86bios/x86bios.h

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

2013-05-06 Thread Gleb Smirnoff
Author: glebius Date: Mon May 6 21:43:15 2013 New Revision: 250312 URL: http://svnweb.freebsd.org/changeset/base/250312 Log: Simplify printf(). Modified: head/sys/netpfil/pf/pf.c Modified: head/sys/netpfil/pf/pf.c

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

2013-05-06 Thread Gleb Smirnoff
Author: glebius Date: Mon May 6 21:44:06 2013 New Revision: 250313 URL: http://svnweb.freebsd.org/changeset/base/250313 Log: Improve KASSERT() message. Modified: head/sys/netpfil/pf/if_pfsync.c Modified: head/sys/netpfil/pf/if_pfsync.c

svn commit: r250314 - head/sys/dev/bwn

2013-05-06 Thread Hiren Panchasara
Author: hiren Date: Mon May 6 21:57:44 2013 New Revision: 250314 URL: http://svnweb.freebsd.org/changeset/base/250314 Log: Fixing a clang warning about using uninitialized variable. PR: 176712 Suggested by: jhb Approved by: sbruno (mentor) Modified: head/sys/dev/bwn/if_bwn.c

Re: svn commit: r250306 - in stable/8/sys: net sys

2013-05-06 Thread Julian Elischer
On 5/6/13 12:59 PM, Dimitry Andric wrote: Author: dim Date: Mon May 6 19:59:13 2013 New Revision: 250306 URL: http://svnweb.freebsd.org/changeset/base/250306 Log: MFC r215137: Revert r103230, which depended on ld preserving the __start_xxx and __stop_xxx symbols for custom

Re: svn commit: r250306 - in stable/8/sys: net sys

2013-05-06 Thread Alexey Dokuchaev
On Mon, May 06, 2013 at 10:10:37PM +0200, Dimitry Andric wrote: On May 6, 2013, at 21:59, Dimitry Andric d...@freebsd.org wrote: New Revision: 250306 URL: http://svnweb.freebsd.org/changeset/base/250306 Log: MFC r215137: [...] MFC r215138: [...] See the following

svn commit: r250315 - head/share/misc

2013-05-06 Thread Eitan Adler
Author: eadler Date: Tue May 7 02:03:00 2013 New Revision: 250315 URL: http://svnweb.freebsd.org/changeset/base/250315 Log: Add two missing NetBSD releases Obtained from:NetBSD Modified: head/share/misc/bsd-family-tree Modified: head/share/misc/bsd-family-tree

svn commit: r250316 - head/share/misc

2013-05-06 Thread Eitan Adler
Author: eadler Date: Tue May 7 02:05:00 2013 New Revision: 250316 URL: http://svnweb.freebsd.org/changeset/base/250316 Log: I miscopied the previous date. Also add another NetBSD release. Obtained from:NetBSD Modified: head/share/misc/bsd-family-tree Modified:

svn commit: r250317 - in head/usr.sbin/bsdconfig: share startup

2013-05-06 Thread Devin Teske
Author: dteske Date: Tue May 7 03:57:45 2013 New Revision: 250317 URL: http://svnweb.freebsd.org/changeset/base/250317 Log: Add f_isset() utility subroutine for checking if a variable is set but in a more readable fashion. Modified: head/usr.sbin/bsdconfig/share/common.subr

svn commit: r250318 - head/usr.sbin/bsdconfig/share

2013-05-06 Thread Devin Teske
Author: dteske Date: Tue May 7 04:03:59 2013 New Revision: 250318 URL: http://svnweb.freebsd.org/changeset/base/250318 Log: Re-organize and add missing installVarDefaults and mediaSetDirectory. Modified: head/usr.sbin/bsdconfig/share/script.subr Modified:

svn commit: r250319 - head/usr.sbin/bsdconfig/include

2013-05-06 Thread Devin Teske
Author: dteske Date: Tue May 7 04:23:50 2013 New Revision: 250319 URL: http://svnweb.freebsd.org/changeset/base/250319 Log: Alphabetize strings by variable names. Modified: head/usr.sbin/bsdconfig/include/messages.subr Modified: head/usr.sbin/bsdconfig/include/messages.subr

svn commit: r250320 - head/usr.sbin/bsdconfig/dot

2013-05-06 Thread Devin Teske
Author: dteske Date: Tue May 7 04:40:57 2013 New Revision: 250320 URL: http://svnweb.freebsd.org/changeset/base/250320 Log: Remove unused variables. Modified: head/usr.sbin/bsdconfig/dot/dot Modified: head/usr.sbin/bsdconfig/dot/dot

svn commit: r250321 - head/usr.sbin/bsdconfig/dot

2013-05-06 Thread Devin Teske
Author: dteske Date: Tue May 7 04:46:08 2013 New Revision: 250321 URL: http://svnweb.freebsd.org/changeset/base/250321 Log: Recursively calculate includes. This solves the problem of some includes missing from the graph, but it also unfortunately forces yet another bug in graphviz dot(1)

svn commit: r250322 - head/usr.sbin/bsdconfig/dot

2013-05-06 Thread Devin Teske
Author: dteske Date: Tue May 7 04:47:56 2013 New Revision: 250322 URL: http://svnweb.freebsd.org/changeset/base/250322 Log: Explicitly track script.subr which wasn't showing up in the graph because it's not used by anything within bsdconfig nor any modules (rather, the script.subr include

Re: svn commit: r250315 - head/share/misc

2013-05-06 Thread Joel Dahl
On Tue, May 07, 2013 at 02:03:00AM +, Eitan Adler wrote: Author: eadler Date: Tue May 7 02:03:00 2013 New Revision: 250315 URL: http://svnweb.freebsd.org/changeset/base/250315 Log: Add two missing NetBSD releases You didn't add them to the family tree. -- Joel

svn commit: r250323 - in head/usr.sbin/bsdconfig: . include packages packages/include share share/media share/packages

2013-05-06 Thread Devin Teske
Author: dteske Date: Tue May 7 05:40:20 2013 New Revision: 250323 URL: http://svnweb.freebsd.org/changeset/base/250323 Log: Commit first portion of package module -- this includes the ability to view categories, view packages, mark packages for installation, de-installation, or