Re: svn commit: r233937 - in head/sys: kern net security/mac

2012-04-06 Thread Alexander V. Chernikov
On 06.04.2012 10:53, Alexander V. Chernikov wrote: Author: melifaro Date: Fri Apr 6 06:53:58 2012 New Revision: 233937 URL: http://svn.freebsd.org/changeset/base/233937 Reviewed by:glebius (previous version) Reviewed by:silence on -net@ Approved by:(mentor) s/\(mentor\)

Re: svn commit: r233938 - in head: share/man/man4 sys/net

2012-04-06 Thread Alexander V. Chernikov
On 06.04.2012 10:55, Alexander V. Chernikov wrote: Author: melifaro Date: Fri Apr 6 06:55:21 2012 New Revision: 233938 URL: http://svn.freebsd.org/changeset/base/233938 Reviewed by:glebius (previous version) Reviewed by:silence on -net@ Approved by:(mentor) s/\(mentor\)/

svn commit: r233939 - head/sys/dev/xen/balloon

2012-04-06 Thread Sergey Kandaurov
Author: pluknet Date: Fri Apr 6 08:13:29 2012 New Revision: 233939 URL: http://svn.freebsd.org/changeset/base/233939 Log: Free ballooned pages with the corresponding malloc type. MFC after:1 week Modified: head/sys/dev/xen/balloon/balloon.c Modified: head/sys/dev/xen/balloon/balloo

svn commit: r233940 - head/sys/netinet

2012-04-06 Thread Michael Tuexen
Author: tuexen Date: Fri Apr 6 09:03:02 2012 New Revision: 233940 URL: http://svn.freebsd.org/changeset/base/233940 Log: Remove duplicate condition in if statement. Obtained from: brucec@ MFC after: 3 days Modified: head/sys/netinet/sctp_usrreq.c Modified: head/sys/netinet/sctp_usrre

svn commit: r233941 - head/sys/boot/forth

2012-04-06 Thread Andriy Gapon
Author: avg Date: Fri Apr 6 09:36:22 2012 New Revision: 233941 URL: http://svn.freebsd.org/changeset/base/233941 Log: retrofit Safe Mode loader menu item actions The menu item is now made completely independent with the ACPI item - most modern systems seem to require ACPI and become even

svn commit: r233942 - in stable/9/lib/libc: compat-43 sys

2012-04-06 Thread Ed Schouten
Author: ed Date: Fri Apr 6 11:06:47 2012 New Revision: 233942 URL: http://svn.freebsd.org/changeset/base/233942 Log: MFC r233002, r233003 and r233012: Remove impossible error condition from the man page. On FreeBSD, all processes have a process group, so it is impossible for k

svn commit: r233943 - stable/9/etc

2012-04-06 Thread Ed Schouten
Author: ed Date: Fri Apr 6 11:07:44 2012 New Revision: 233943 URL: http://svn.freebsd.org/changeset/base/233943 Log: MFC r232976: Hide stty(1) errors. If rc(8) is executed without using a TTY, this error appears at the beginning: stty: stdin isn't a terminal

svn commit: r233944 - stable/9/sbin/init

2012-04-06 Thread Ed Schouten
Author: ed Date: Fri Apr 6 11:09:49 2012 New Revision: 233944 URL: http://svn.freebsd.org/changeset/base/233944 Log: MFC r232841: Fix whitespace. Modified: stable/9/sbin/init/init.c Directory Properties: stable/9/sbin/init/ (props changed) Modified: stable/9/sbin/init/init.c

svn commit: r233945 - head/sbin/init

2012-04-06 Thread Ed Schouten
Author: ed Date: Fri Apr 6 13:06:01 2012 New Revision: 233945 URL: http://svn.freebsd.org/changeset/base/233945 Log: Properly clear the O_NONBLOCK flag after opening the TTY. Though we should open the TTY with O_NONBLOCK to prevent rc(8) execution from potentially stalling, we must not f

svn commit: r233946 - head/sys/net

2012-04-06 Thread Alexander V. Chernikov
Author: melifaro Date: Fri Apr 6 13:34:19 2012 New Revision: 233946 URL: http://svn.freebsd.org/changeset/base/233946 Log: Fix build broken by r233938. Pointed by: David Wolfskill Approved by:kib (mentor) Pointy hat to: melifaro Modified: head/sys/net/bpf.c Modified: head

svn commit: r233947 - head/tools/tools/netmap

2012-04-06 Thread Luigi Rizzo
Author: luigi Date: Fri Apr 6 14:26:05 2012 New Revision: 233947 URL: http://svn.freebsd.org/changeset/base/233947 Log: we need to specify a NETMAP_API version or the ioctl() will fail. Modified: head/tools/tools/netmap/pcap.c Modified: head/tools/tools/netmap/pcap.c ===

svn commit: r233948 - head/sys/powerpc/include

2012-04-06 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri Apr 6 16:00:37 2012 New Revision: 233948 URL: http://svn.freebsd.org/changeset/base/233948 Log: Give the kernel pmap lock a different name than user pmap locks. It has (slightly) different semantics and renaming it prevents a (harmless) WITNESS warning during bo

svn commit: r233949 - in head/sys: powerpc/aim vm

2012-04-06 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri Apr 6 16:03:38 2012 New Revision: 233949 URL: http://svn.freebsd.org/changeset/base/233949 Log: Reduce the frequency that the PowerPC/AIM pmaps invalidate instruction caches, by invalidating kernel icaches only when needed and not flushing user caches for shared

svn commit: r233950 - in stable/9/sys: kern sys

2012-04-06 Thread Mikolaj Golub
Author: trociny Date: Fri Apr 6 16:28:43 2012 New Revision: 233950 URL: http://svn.freebsd.org/changeset/base/233950 Log: MFC r233389: Add a sysctl to set and retrieve binary osreldate of another process. Suggested by: kib Reviewed by: kib Modified: stable/9/sys/kern/kern_proc.c

svn commit: r233951 - in stable/8/sys: kern sys

2012-04-06 Thread Mikolaj Golub
Author: trociny Date: Fri Apr 6 16:30:17 2012 New Revision: 233951 URL: http://svn.freebsd.org/changeset/base/233951 Log: MFC r233389: Add a sysctl to set and retrieve binary osreldate of another process. Suggested by: kib Reviewed by: kib Modified: stable/8/sys/kern/kern_proc.c

svn commit: r233952 - stable/9/usr.bin/procstat

2012-04-06 Thread Mikolaj Golub
Author: trociny Date: Fri Apr 6 16:31:29 2012 New Revision: 233952 URL: http://svn.freebsd.org/changeset/base/233952 Log: MFC r233390: When displaying binary information show also osreldate. Suggested by: kib Modified: stable/9/usr.bin/procstat/procstat.1 stable/9/usr.bin/procsta

svn commit: r233953 - stable/8/usr.bin/procstat

2012-04-06 Thread Mikolaj Golub
Author: trociny Date: Fri Apr 6 16:32:29 2012 New Revision: 233953 URL: http://svn.freebsd.org/changeset/base/233953 Log: MFC r233390: When displaying binary information show also osreldate. Suggested by: kib Modified: stable/8/usr.bin/procstat/procstat.1 stable/8/usr.bin/procsta

svn commit: r233954 - head/sys/amd64/amd64

2012-04-06 Thread Alan Cox
Author: alc Date: Fri Apr 6 16:41:19 2012 New Revision: 233954 URL: http://svn.freebsd.org/changeset/base/233954 Log: Micro-optimize free_pv_entry() for the expected case. Modified: head/sys/amd64/amd64/pmap.c Modified: head/sys/amd64/amd64/pmap.c ===

svn commit: r233955 - in releng/8.3/sys: dev/mpt i386/conf

2012-04-06 Thread Marius Strobl
Author: marius Date: Fri Apr 6 17:21:31 2012 New Revision: 233955 URL: http://svn.freebsd.org/changeset/base/233955 Log: MFC: r233827 (backported) Fix probing of SAS1068E with a device ID of 0x0059 after r232411 (MFC'ed to releng/8.3 in r232632). Reported by: infofarmer This is a

svn commit: r233956 - releng/8.3/release/scripts

2012-04-06 Thread Ken Smith
Author: kensmith Date: Fri Apr 6 17:49:11 2012 New Revision: 233956 URL: http://svn.freebsd.org/changeset/base/233956 Log: MFS r233658: Update with the package set that will ship with 8.3-RELEASE. Reviewed by: portmgr, re Approved by: re (bz) Modified: releng/8.3/release/scripts/p

svn commit: r233957 - head/sys/powerpc/aim

2012-04-06 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri Apr 6 18:18:48 2012 New Revision: 233957 URL: http://svn.freebsd.org/changeset/base/233957 Log: Substantially reduce the scope of the locks held in pmap_enter(), which improves concurrency slightly. Modified: head/sys/powerpc/aim/mmu_oea64.c Modified: head/sys

svn commit: r233960 - head/sys/vm

2012-04-06 Thread Attilio Rao
Author: attilio Date: Fri Apr 6 20:34:00 2012 New Revision: 233960 URL: http://svn.freebsd.org/changeset/base/233960 Log: Staticize vm_page_cache_remove(). Reviewed by: alc Modified: head/sys/vm/vm_page.c head/sys/vm/vm_page.h Modified: head/sys/vm/vm_page.c

svn commit: r233961 - head/sys/x86/x86

2012-04-06 Thread Justin T. Gibbs
Author: gibbs Date: Fri Apr 6 21:19:28 2012 New Revision: 233961 URL: http://svn.freebsd.org/changeset/base/233961 Log: Fix interrupt load balancing regression, introduced in revision 222813, that left all un-pinned interrupts assigned to CPU 0. sys/x86/x86/intr_machdep.c: In int

Re: svn commit: r233961 - head/sys/x86/x86

2012-04-06 Thread Attilio Rao
Il 06 aprile 2012 22:19, Justin T. Gibbs ha scritto: > Author: gibbs > Date: Fri Apr  6 21:19:28 2012 > New Revision: 233961 > URL: http://svn.freebsd.org/changeset/base/233961 > > Log: >  Fix interrupt load balancing regression, introduced in revision >  222813, that left all un-pinned interrupts

svn commit: r233963 - head/sys/cam/ctl

2012-04-06 Thread Kenneth D. Merry
Author: ken Date: Fri Apr 6 22:23:13 2012 New Revision: 233963 URL: http://svn.freebsd.org/changeset/base/233963 Log: Change the SCSI INQUIRY peripheral qualifier that CTL reports for LUNs that don't exist. Anecdotal evidence indicates that it is better to return 011b (bad LUN) than 00

svn commit: r233964 - head/sys/powerpc/aim

2012-04-06 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri Apr 6 22:33:13 2012 New Revision: 233964 URL: http://svn.freebsd.org/changeset/base/233964 Log: Execute an initial ptesync if and only if the PTE is actually being invalidated, as opposed to a ref/changed bit update. Modified: head/sys/powerpc/aim/moea64_native

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

2012-04-06 Thread Adrian Chadd
Author: adrian Date: Sat Apr 7 02:01:26 2012 New Revision: 233966 URL: http://svn.freebsd.org/changeset/base/233966 Log: Remove duplicate txflags field from ath_buf. rename bf_state.bfs_flags to bf_state.bfs_txflags, as that is what it effectively is. Modified: head/sys/dev/ath/if_ath

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

2012-04-06 Thread Adrian Chadd
Author: adrian Date: Sat Apr 7 02:51:53 2012 New Revision: 233967 URL: http://svn.freebsd.org/changeset/base/233967 Log: Store away the RTS aggregate limit from the HAL. This will be used by some upcoming code to ensure that aggregates are enforced to be a certain size. The AR5416 has a

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

2012-04-06 Thread Adrian Chadd
Author: adrian Date: Sat Apr 7 03:22:11 2012 New Revision: 233970 URL: http://svn.freebsd.org/changeset/base/233970 Log: Enforce the RTS aggregation limit if RTS/CTS protection is enabled; if any subframes in an aggregate have different protection from the first frame in the formed aggregat

svn commit: r233973 - head/lib/msun/src

2012-04-06 Thread David Schultz
Author: das Date: Sat Apr 7 03:59:12 2012 New Revision: 233973 URL: http://svn.freebsd.org/changeset/base/233973 Log: Fix a bug in remquo{,f,l}, in which the quotient didn't always have the correct sign when the remainder was 0. Fix a separate bug in remquo alone, in which the remainder

svn commit: r233974 - head/tools/regression/lib/msun

2012-04-06 Thread David Schultz
Author: das Date: Sat Apr 7 04:00:30 2012 New Revision: 233974 URL: http://svn.freebsd.org/changeset/base/233974 Log: Add some tests from PR 166463. Also make sure that all of the tests, old and new, check the sign bits of both the remainder and the quotient. Modified: head/tools/regres

svn commit: r233986 - stable/9/libexec/rtld-elf

2012-04-06 Thread Konstantin Belousov
Author: kib Date: Sat Apr 7 05:42:37 2012 New Revision: 233986 URL: http://svn.freebsd.org/changeset/base/233986 Log: MFC r233430: Provide short-circuit exit(3) implementation for rtld. Modified: stable/9/libexec/rtld-elf/rtld.c Directory Properties: stable/9/libexec/rtld-elf/ (props c

svn commit: r233987 - stable/9/libexec/rtld-elf

2012-04-06 Thread Konstantin Belousov
Author: kib Date: Sat Apr 7 05:43:50 2012 New Revision: 233987 URL: http://svn.freebsd.org/changeset/base/233987 Log: MFC r233431: Remove libssp_nonshared from the rtld linking set. The only use for the library was definition for the weak alias of __stack_chk_fail. Modified: stable/9/lib

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

2012-04-06 Thread Adrian Chadd
Author: adrian Date: Sat Apr 7 05:46:00 2012 New Revision: 233988 URL: http://svn.freebsd.org/changeset/base/233988 Log: As I thought, this is a bad idea. When forming aggregates, the RTS/CTS stuff and rate control lookup is only done on the first frame. Modified: head/sys/dev/ath/if_ath_t

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

2012-04-06 Thread Adrian Chadd
Author: adrian Date: Sat Apr 7 05:48:26 2012 New Revision: 233989 URL: http://svn.freebsd.org/changeset/base/233989 Log: Break out the legacy duration and protection code into routines, call these after rate control selection is done. The duration/protection code wasn't working - it expe

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

2012-04-06 Thread Adrian Chadd
Author: adrian Date: Sat Apr 7 05:51:43 2012 New Revision: 233990 URL: http://svn.freebsd.org/changeset/base/233990 Log: Do a dma sync before the descriptors are chained together. I need to find a better place to do this.. Modified: head/sys/dev/ath/if_ath_tx.c Modified: head/sys/dev/a

svn commit: r233991 - head/sys/dev/smc

2012-04-06 Thread Stanislav Sedov
Author: stas Date: Sat Apr 7 06:56:38 2012 New Revision: 233991 URL: http://svn.freebsd.org/changeset/base/233991 Log: - Do not reinitialize the card if it is already running. This fixes bootp on if_smc, as bootp code perform SIOCSIFADDR ioctl call immediately after sending the request