svn commit: r233341 - head

2012-03-22 Thread Sergey Kandaurov
Author: pluknet Date: Fri Mar 23 06:57:04 2012 New Revision: 233341 URL: http://svn.freebsd.org/changeset/base/233341 Log: Remove archive_entry_*_w(3) entries from ObsoleteFiles.inc. Since the recent libarchive import they are MLINK'ed again. Modified: head/ObsoleteFiles.inc Modified: hea

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

2012-03-22 Thread Sergey Kandaurov
Author: pluknet Date: Fri Mar 23 06:06:37 2012 New Revision: 233340 URL: http://svn.freebsd.org/changeset/base/233340 Log: Document IFT_USB referenced by IFF_CANTCONFIG since the previous change, so that ifnet(9) is self contained. MFC after:1 week Modified: head/share/man/man9/ifn

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

2012-03-22 Thread Sergey Kandaurov
Author: pluknet Date: Fri Mar 23 06:01:16 2012 New Revision: 29 URL: http://svn.freebsd.org/changeset/base/29 Log: Update IFF_* macro descriptions. MFC after:1 week Modified: head/share/man/man9/ifnet.9 Modified: head/share/man/man9/ifnet.9 ==

svn commit: r233338 - head/tools/build/mk

2012-03-22 Thread Stanislav Sedov
Author: stas Date: Fri Mar 23 03:43:04 2012 New Revision: 28 URL: http://svn.freebsd.org/changeset/base/28 Log: - Add new kerberos libraries to the list of optional obsolete files. Modified: head/tools/build/mk/OptionalObsoleteFiles.inc Modified: head/tools/build/mk/OptionalObsoleteF

svn commit: r233337 - in head: . lib tools/build/mk usr.bin

2012-03-22 Thread Stanislav Sedov
Author: stas Date: Fri Mar 23 03:16:35 2012 New Revision: 27 URL: http://svn.freebsd.org/changeset/base/27 Log: - Do not build libcom_err and compile_et when kerberos is disabled. They depends on several heimdal libraries and not used by anything but kerberos tools. Modified:

svn commit: r233336 - head/sys/mips/cavium

2012-03-22 Thread Oleksandr Tymoshenko
Author: gonzo Date: Fri Mar 23 00:11:54 2012 New Revision: 26 URL: http://svn.freebsd.org/changeset/base/26 Log: Add pseudo-device for handling PMC interrupts and link everything PMC-related to build Added: head/sys/mips/cavium/octeon_pmc.c (contents, props changed) Modified:

svn commit: r233335 - head/lib/libpmc

2012-03-22 Thread Oleksandr Tymoshenko
Author: gonzo Date: Fri Mar 23 00:10:21 2012 New Revision: 25 URL: http://svn.freebsd.org/changeset/base/25 Log: Add Octeon-related parts to libpmc Modified: head/lib/libpmc/libpmc.c Modified: head/lib/libpmc/libpmc.c ==

svn commit: r233334 - head/sys/dev/hwpmc

2012-03-22 Thread Oleksandr Tymoshenko
Author: gonzo Date: Fri Mar 23 00:09:27 2012 New Revision: 24 URL: http://svn.freebsd.org/changeset/base/24 Log: Add Octeon PMC hardware backend Added: head/sys/dev/hwpmc/hwpmc_octeon.c (contents, props changed) Added: head/sys/dev/hwpmc/hwpmc_octeon.c =

svn commit: r233333 - head/sys/dev/hwpmc

2012-03-22 Thread Oleksandr Tymoshenko
Author: gonzo Date: Fri Mar 23 00:04:09 2012 New Revision: 23 URL: http://svn.freebsd.org/changeset/base/23 Log: Add list of Octeon's PMC counters obtained from cvmx-core.h Modified: head/sys/dev/hwpmc/pmc_events.h Modified: head/sys/dev/hwpmc/pmc_events.h ===

svn commit: r233332 - head/sys/sys

2012-03-22 Thread Oleksandr Tymoshenko
Author: gonzo Date: Fri Mar 23 00:03:26 2012 New Revision: 22 URL: http://svn.freebsd.org/changeset/base/22 Log: Add Octeon class and CPU type Modified: head/sys/sys/pmc.h Modified: head/sys/sys/pmc.h == ---

svn commit: r233331 - head/sys/mips/cavium

2012-03-22 Thread Oleksandr Tymoshenko
Author: gonzo Date: Fri Mar 23 00:01:09 2012 New Revision: 21 URL: http://svn.freebsd.org/changeset/base/21 Log: Setup fake MODINFO variables for octeon kernel Modified: head/sys/mips/cavium/octeon_machdep.c Modified: head/sys/mips/cavium/octeon_machdep.c

svn commit: r233330 - head/sys/dev/ath

2012-03-22 Thread Adrian Chadd
Author: adrian Date: Thu Mar 22 21:48:36 2012 New Revision: 20 URL: http://svn.freebsd.org/changeset/base/20 Log: Add some further debugging to try and aid tracking down what the state of things were just before a full software queue is drained. Modified: head/sys/dev/ath/if_ath_tx.

svn commit: r233329 - head/sys/dev/ath/ath_hal/ar5416

2012-03-22 Thread Adrian Chadd
Author: adrian Date: Thu Mar 22 21:47:14 2012 New Revision: 233329 URL: http://svn.freebsd.org/changeset/base/233329 Log: Sprinkle some style(9) things around. Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c ==

svn commit: r233328 - head/sbin/ifconfig

2012-03-22 Thread Adrian Chadd
Author: adrian Date: Thu Mar 22 21:22:58 2012 New Revision: 233328 URL: http://svn.freebsd.org/changeset/base/233328 Log: Fix an incorrect parameter usage here. Submitted by: montha...@gmail.com Modified: head/sbin/ifconfig/ifieee80211.c Modified: head/sbin/ifconfig/ifieee80211.c ==

svn commit: r233323 - head/sys/boot/fdt

2012-03-22 Thread Rafal Jaworowski
Author: raj Date: Thu Mar 22 20:34:26 2012 New Revision: 233323 URL: http://svn.freebsd.org/changeset/base/233323 Log: Improve FDT handling in loader(8) and make it more robust. o Fix buffer overflows when using a long property body in node paths. o Fix loop end condition when iterating t

Re: svn commit: r233249 - head/sys/amd64/acpica

2012-03-22 Thread Jung-uk Kim
On Thursday 22 March 2012 10:14 am, Konstantin Belousov wrote: > On Thu, Mar 22, 2012 at 07:48:49AM -0400, John Baldwin wrote: > > On Thursday, March 22, 2012 5:32:59 am Andriy Gapon wrote: > > > on 21/03/2012 21:02 Jung-uk Kim said the following: > > > > On Wednesday 21 March 2012 01:57 pm, Andriy

Re: svn commit: r233249 - head/sys/amd64/acpica

2012-03-22 Thread Jung-uk Kim
On Thursday 22 March 2012 07:48 am, John Baldwin wrote: > On Thursday, March 22, 2012 5:32:59 am Andriy Gapon wrote: > > on 21/03/2012 21:02 Jung-uk Kim said the following: > > > On Wednesday 21 March 2012 01:57 pm, Andriy Gapon wrote: > > >> on 21/03/2012 19:41 Jung-uk Kim said the following: > >

svn commit: r233321 - head/lib/libpmc

2012-03-22 Thread Joseph Koshy
Author: jkoshy Date: Thu Mar 22 19:04:22 2012 New Revision: 233321 URL: http://svn.freebsd.org/changeset/base/233321 Log: Correct a function prototype. Submitted by: "Anders Magnusson" , via joel Modified: head/lib/libpmc/pmc.h Modified: head/lib/libpmc/pmc.h ===

svn commit: r233320 - head/lib/libpmc

2012-03-22 Thread Oleksandr Tymoshenko
Author: gonzo Date: Thu Mar 22 18:07:44 2012 New Revision: 233320 URL: http://svn.freebsd.org/changeset/base/233320 Log: Make reusable part of code have mips prefix, not mips24 Modified: head/lib/libpmc/libpmc.c Modified: head/lib/libpmc/libpmc.c =

svn commit: r233319 - in head/sys: conf dev/hwpmc mips/atheros mips/include

2012-03-22 Thread Oleksandr Tymoshenko
Author: gonzo Date: Thu Mar 22 18:01:23 2012 New Revision: 233319 URL: http://svn.freebsd.org/changeset/base/233319 Log: Rework MIPS PMC code: - Replace MIPS24K-specific code with more generic framework that will make adding new CPU support easier - Add MIPS24K support for new frame

svn commit: r233318 - in head/sys/mips: atheros mips

2012-03-22 Thread Oleksandr Tymoshenko
Author: gonzo Date: Thu Mar 22 17:47:52 2012 New Revision: 233318 URL: http://svn.freebsd.org/changeset/base/233318 Log: Move PMC hook invocation to cpu_intr. The idea is the same as with ast() call but there is no reason to implement it in assembler. Modified: head/sys/mips/atheros/apb.c

svn commit: r233317 - head/usr.sbin/pmcstat

2012-03-22 Thread Oleksandr Tymoshenko
Author: gonzo Date: Thu Mar 22 17:44:36 2012 New Revision: 233317 URL: http://svn.freebsd.org/changeset/base/233317 Log: Fix base vaddr detection for ELF binaries. PT_LOAD with offset 0 is not mandatory for ELF binaries so we'll use the segment with offset less then alignment and align it ap

svn commit: r233316 - head/sys/sys

2012-03-22 Thread Oleksandr Tymoshenko
Author: gonzo Date: Thu Mar 22 17:36:53 2012 New Revision: 233316 URL: http://svn.freebsd.org/changeset/base/233316 Log: Fix PMC syscall on 64-bit big endian systems. Sycall argument is pointer to array of register_t values. Casting it to pointer to structure with fields of size smaller t

svn commit: r233313 - in head: share/man/man4 sys/dev/acpica

2012-03-22 Thread Jung-uk Kim
Author: jkim Date: Thu Mar 22 17:01:25 2012 New Revision: 233313 URL: http://svn.freebsd.org/changeset/base/233313 Log: Add ACPI_LV_REPAIR debug level, available since ACPICA 20091214 (r200553). MFC after:3 days Modified: head/share/man/man4/acpi.4 head/sys/dev/acpica/acpi.c Modif

Re: svn commit: r233290 - head/sys/amd64/amd64

2012-03-22 Thread Alan Cox
On 03/22/2012 03:12, Sergey Kandaurov wrote: On 22 March 2012 08:40, Alan Cox wrote: Author: alc Date: Thu Mar 22 04:40:22 2012 New Revision: 233290 URL: http://svn.freebsd.org/changeset/base/233290 Log: Change pv_entry_count to a long. During the lifetime of FreeBSD 10.x, physical memory

svn commit: r233312 - head/share/man/man4

2012-03-22 Thread Joel Dahl
Author: joel (doc committer) Date: Thu Mar 22 16:24:50 2012 New Revision: 233312 URL: http://svn.freebsd.org/changeset/base/233312 Log: Update snd_cmi, snd_csa and snd_emu10kx status. Modified: head/share/man/man4/pcm.4 Modified: head/share/man/man4/pcm.4

svn commit: r233311 - head/sys/netinet

2012-03-22 Thread Michael Tuexen
Author: tuexen Date: Thu Mar 22 16:22:16 2012 New Revision: 233311 URL: http://svn.freebsd.org/changeset/base/233311 Log: Small cleanup of the code. No functional change (in FreeBSD kernel). MFC after: 1 week. Modified: head/sys/netinet/sctputil.c Modified: head/sys/netinet/sctputil.c =

svn commit: r233310 - in head/sys: amd64/conf i386/conf

2012-03-22 Thread Joel Dahl
Author: joel (doc committer) Date: Thu Mar 22 16:19:04 2012 New Revision: 233310 URL: http://svn.freebsd.org/changeset/base/233310 Log: Add snd_cmi, snd_csa and snd_emu10kx to GENERIC on i386 and amd64. The GPL infected parts which were blocking the inclusion of snd_csa and snd_emu10kx in

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

2012-03-22 Thread Jayachandran C.
Author: jchandra Date: Thu Mar 22 15:14:10 2012 New Revision: 233308 URL: http://svn.freebsd.org/changeset/base/233308 Log: Fix return type of mips pmap_kextract() The return type should be vm_paddr_t, not vm_offset_t. Modified: head/sys/mips/mips/pmap.c Modified: head/sys/mips/mips/pma

svn commit: r233307 - in head/libexec/rtld-elf: . ia64 powerpc64

2012-03-22 Thread Konstantin Belousov
Author: kib Date: Thu Mar 22 14:20:51 2012 New Revision: 233307 URL: http://svn.freebsd.org/changeset/base/233307 Log: Use xmalloc() instead of malloc() in the places where malloc() calls are assumed to not fail. Make the xcalloc() calling conventions follow the calloc(3) calling conven

Re: svn commit: r233249 - head/sys/amd64/acpica

2012-03-22 Thread Konstantin Belousov
On Thu, Mar 22, 2012 at 07:48:49AM -0400, John Baldwin wrote: > On Thursday, March 22, 2012 5:32:59 am Andriy Gapon wrote: > > on 21/03/2012 21:02 Jung-uk Kim said the following: > > > On Wednesday 21 March 2012 01:57 pm, Andriy Gapon wrote: > > >> on 21/03/2012 19:41 Jung-uk Kim said the following

svn commit: r233306 - head/libexec/rtld-elf

2012-03-22 Thread Konstantin Belousov
Author: kib Date: Thu Mar 22 14:11:10 2012 New Revision: 233306 URL: http://svn.freebsd.org/changeset/base/233306 Log: Remove the fragments which are not needed on FreeBSD. The caltech malloc hardly would ever be updated. Reviewed by: bde, kan MFC after:2 weeks Modified: head/l

Re: svn commit: r233249 - head/sys/amd64/acpica

2012-03-22 Thread John Baldwin
On Thursday, March 22, 2012 5:32:59 am Andriy Gapon wrote: > on 21/03/2012 21:02 Jung-uk Kim said the following: > > On Wednesday 21 March 2012 01:57 pm, Andriy Gapon wrote: > >> on 21/03/2012 19:41 Jung-uk Kim said the following: > >>> I am well aware of the problem. In fact, that's why I had to

Re: svn commit: r233305 - head/sys/x86/acpica

2012-03-22 Thread Bruce Evans
On Thu, 22 Mar 2012, John Baldwin wrote: Log: Mark the 'lapics' and 'ioapics' arrays here static since they are private to this file. The 'lapics' array was actually shadowing a completely different 'lapics' array that is private to local_apic.c. Reported by: bde MFC after: 2 weeks

svn commit: r233305 - head/sys/x86/acpica

2012-03-22 Thread John Baldwin
Author: jhb Date: Thu Mar 22 12:23:32 2012 New Revision: 233305 URL: http://svn.freebsd.org/changeset/base/233305 Log: Mark the 'lapics' and 'ioapics' arrays here static since they are private to this file. The 'lapics' array was actually shadowing a completely different 'lapics' array that

svn commit: r233302 - head/lib/libpam/modules/pam_ksu

2012-03-22 Thread Stanislav Sedov
Author: stas Date: Thu Mar 22 11:18:14 2012 New Revision: 233302 URL: http://svn.freebsd.org/changeset/base/233302 Log: - Avoid use of deprecated KRB5 functions. Modified: head/lib/libpam/modules/pam_ksu/Makefile head/lib/libpam/modules/pam_ksu/pam_ksu.c Modified: head/lib/libpam/modules/p

svn commit: r233300 - head/lib/libc/gen

2012-03-22 Thread Sergey Kandaurov
Author: pluknet Date: Thu Mar 22 09:51:31 2012 New Revision: 233300 URL: http://svn.freebsd.org/changeset/base/233300 Log: Fix style. Somehow I managed to lost a space when copy&paste. Pointed out by: stefanf Modified: head/lib/libc/gen/fstab.c Modified: head/lib/libc/gen/fstab.c

svn commit: r233298 - head/usr.bin/vmstat

2012-03-22 Thread Sergey Kandaurov
Author: pluknet Date: Thu Mar 22 09:47:14 2012 New Revision: 233298 URL: http://svn.freebsd.org/changeset/base/233298 Log: Garbage collect defunct nlist(3) symbols. MFC after:1 week Modified: head/usr.bin/vmstat/vmstat.c Modified: head/usr.bin/vmstat/vmstat.c ===

svn commit: r233296 - head/lib/libc/gen

2012-03-22 Thread Sergey Kandaurov
Author: pluknet Date: Thu Mar 22 09:42:27 2012 New Revision: 233296 URL: http://svn.freebsd.org/changeset/base/233296 Log: Prevent fs_file NULL pointer dereference in fixfsfile() uncovered after r1.5 when passing damaged user-supplied fstab file data. MFC after:1 week Modified: hea

Re: svn commit: r233249 - head/sys/amd64/acpica

2012-03-22 Thread Andriy Gapon
on 21/03/2012 21:02 Jung-uk Kim said the following: > On Wednesday 21 March 2012 01:57 pm, Andriy Gapon wrote: >> on 21/03/2012 19:41 Jung-uk Kim said the following: >>> I am well aware of the problem. In fact, that's why I had to >>> merge ACPICA 20120320 rather quickly, which added a new flag to

svn commit: r233295 - head/sys/kern

2012-03-22 Thread Andrey V. Elsukov
Author: ae Date: Thu Mar 22 09:29:07 2012 New Revision: 233295 URL: http://svn.freebsd.org/changeset/base/233295 Log: Correct debug message. Modified: head/sys/kern/kern_linker.c Modified: head/sys/kern/kern_linker.c ===

Re: svn commit: r233290 - head/sys/amd64/amd64

2012-03-22 Thread Sergey Kandaurov
On 22 March 2012 08:40, Alan Cox wrote: > Author: alc > Date: Thu Mar 22 04:40:22 2012 > New Revision: 233290 > URL: http://svn.freebsd.org/changeset/base/233290 > > Log: >  Change pv_entry_count to a long.  During the lifetime of FreeBSD 10.x, >  physical memory sizes at the high-end will likely