svn commit: r189529 - in head/sys: kern security/audit security/mac security/mac_stub security/mac_test

2009-03-08 Thread Robert Watson
Author: rwatson Date: Sun Mar 8 10:58:37 2009 New Revision: 189529 URL: http://svn.freebsd.org/changeset/base/189529 Log: Improve the consistency of MAC Framework and MAC policy entry point naming by renaming certain "proc" entry points to "cred" entry points, reflecting their manipulation

svn commit: r189530 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb kern

2009-03-08 Thread Dmitry Chagin
Author: dchagin Date: Sun Mar 8 11:12:23 2009 New Revision: 189530 URL: http://svn.freebsd.org/changeset/base/189530 Log: MFC r189232, r189313: Fix range-check error introduced in r182292. Panic in case the ncpus == 0. it helps to catch bugs in the callers. Approved by: kib (mentor)

svn commit: r189531 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb net

2009-03-08 Thread Robert Watson
Author: rwatson Date: Sun Mar 8 11:20:54 2009 New Revision: 189531 URL: http://svn.freebsd.org/changeset/base/189531 Log: Merge missed routing lock fix r186061 from head to stable/7: Dont leak the rnh lock on error. Original change was from thompsa. This may correct routing-related

Re: svn commit: r189499 - in head/sys: conf dev/drm modules/drm/radeon

2009-03-08 Thread Gary Jennejohn
On Sat, 7 Mar 2009 21:36:57 + (UTC) Robert Noland wrote: > Author: rnoland > Date: Sat Mar 7 21:36:57 2009 > New Revision: 189499 > URL: http://svn.freebsd.org/changeset/base/189499 > > Log: > Import support for ATI Radeon R600 and R700 series chips. > > Tested on an HD3850 (RV670) o

svn commit: r189532 - head/sys/security/mac

2009-03-08 Thread Robert Watson
Author: rwatson Date: Sun Mar 8 12:22:00 2009 New Revision: 189532 URL: http://svn.freebsd.org/changeset/base/189532 Log: Rename 'ucred' argument to mac_socket_check_bind() to 'cred' to match other use of the same variable type. Obtained from:TrustedBSD Project Sponsored by: Go

svn commit: r189533 - in head/sys: kern security/mac security/mac_biba security/mac_bsdextended security/mac_lomac security/mac_mls security/mac_stub security/mac_test

2009-03-08 Thread Robert Watson
Author: rwatson Date: Sun Mar 8 12:32:06 2009 New Revision: 189533 URL: http://svn.freebsd.org/changeset/base/189533 Log: Remove 'uio' argument from MAC Framework and MAC policy entry points for extended attribute get/set; in the case of get an uninitialized user buffer was passed before th

svn commit: r189534 - head/sbin/devd

2009-03-08 Thread Konstantin Belousov
Author: kib Date: Sun Mar 8 14:28:40 2009 New Revision: 189534 URL: http://svn.freebsd.org/changeset/base/189534 Log: Document several notifications, among them are DEVFS, update to ifneti, coretemp and kern. The asmc(4) and zfs(5) are still not documented. Based on the patch by Rol

svn commit: r189536 - stable/7/sys/powerpc/powerpc

2009-03-08 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Mar 8 16:19:29 2009 New Revision: 189536 URL: http://svn.freebsd.org/changeset/base/189536 Log: Fix a mismerge from head that I somehow missed last night. This caused builds with KDB enabled to fail. Pointy hat to:me Modified: stable/7/sys/powerpc

svn commit: r189538 - head/sbin/devd

2009-03-08 Thread Maxim Konovalov
Author: maxim Date: Sun Mar 8 18:02:30 2009 New Revision: 189538 URL: http://svn.freebsd.org/changeset/base/189538 Log: o Spell. Sort .Xrs. Modified: head/sbin/devd/devd.conf.5 Modified: head/sbin/devd/devd.conf.5

svn commit: r189539 - head/sys/kern

2009-03-08 Thread Joe Marcus Clarke
Author: marcus (doc,ports committer) Date: Sun Mar 8 19:05:53 2009 New Revision: 189539 URL: http://svn.freebsd.org/changeset/base/189539 Log: Add a default implementation for VOP_VPTOCNP(9) which scans the parent directory of a vnode to find a dirent with a matching file number. The name

svn commit: r189540 - head/sys/sys

2009-03-08 Thread Joe Marcus Clarke
Author: marcus (doc,ports committer) Date: Sun Mar 8 19:06:26 2009 New Revision: 189540 URL: http://svn.freebsd.org/changeset/base/189540 Log: Add a prototype for the new vop_stdvptocnp function. Reviewed by: kib Approved by: kib Tested by:pho Modified: head/sys/sys/vnode.h M

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

2009-03-08 Thread Joe Marcus Clarke
Author: marcus (doc,ports committer) Date: Sun Mar 8 19:07:44 2009 New Revision: 189541 URL: http://svn.freebsd.org/changeset/base/189541 Log: Document the new default implementation of VOP_VPTOCNP(9). Approved by: kib Modified: head/share/man/man9/VOP_VPTOCNP.9 Modified: head/share/m

svn commit: r189542 - head/bin/sh

2009-03-08 Thread Ed Schouten
Author: ed Date: Sun Mar 8 19:09:55 2009 New Revision: 189542 URL: http://svn.freebsd.org/changeset/base/189542 Log: Don't disable CR-to-NL translation when waiting for data to arrive. A difference between the old and the new TTY layer is that the new implementation does not perform any

Re: svn commit: r189496 - head/sys/dev/usb/controller

2009-03-08 Thread Sam Leffler
Andrew Thompson wrote: Author: thompsa Date: Sat Mar 7 19:49:47 2009 New Revision: 189496 URL: http://svn.freebsd.org/changeset/base/189496 Log: (re)merge r186415,186416 from the old usb stack; o add Transaction Translator support (still missing ISOC xfers) o add EHCI_SCFLG_BIGEMMIO f

Re: svn commit: r189542 - head/bin/sh

2009-03-08 Thread Kostik Belousov
On Sun, Mar 08, 2009 at 07:09:55PM +, Ed Schouten wrote: > Author: ed > Date: Sun Mar 8 19:09:55 2009 > New Revision: 189542 > URL: http://svn.freebsd.org/changeset/base/189542 > > Log: > Don't disable CR-to-NL translation when waiting for data to arrive. > > A difference between the o

Re: svn commit: r189542 - head/bin/sh

2009-03-08 Thread Ed Schouten
* Kostik Belousov wrote: > Wouldn't this be a problem for any other tty users too, in particular for > the other shells that use raw mode ? Not likely. Where processing should be done (before or after storing it in a queue) is not specified (in POSIX) at all. As mentioned in the PR, it turns out

svn commit: r189543 - head/tools/regression/sockets/unix_gc

2009-03-08 Thread Robert Watson
Author: rwatson Date: Sun Mar 8 21:06:02 2009 New Revision: 189543 URL: http://svn.freebsd.org/changeset/base/189543 Log: In UNIX domain socket GC regression test, after setting a socket non-blocking, EINPROGRESS is an acceptable result from connect(). Modified: head/tools/regression/socke

svn commit: r189544 - head/sys/kern

2009-03-08 Thread Robert Watson
Author: rwatson Date: Sun Mar 8 21:48:29 2009 New Revision: 189544 URL: http://svn.freebsd.org/changeset/base/189544 Log: Decompose the global UNIX domain sockets rwlock into two different locks: a global list/counter/generation counter protected by a new mutex unp_list_lock, and a global l

svn commit: r189545 - head/sys/kern

2009-03-08 Thread Robert Watson
Author: rwatson Date: Sun Mar 8 22:19:28 2009 New Revision: 189545 URL: http://svn.freebsd.org/changeset/base/189545 Log: By default, don't compile in counters of calls to various time query functions in the kernel, as these effectively serialize parallel calls to the gettimeofday(2) system

svn commit: r189546 - head/sys/dev/usb/serial

2009-03-08 Thread Andrew Thompson
Author: thompsa Date: Sun Mar 8 22:55:17 2009 New Revision: 189546 URL: http://svn.freebsd.org/changeset/base/189546 Log: MFp4 //depot/projects/u...@158869 Fix sael init code. Reported by: Alberto Mijares Submitted by: Hans Petter Selasky Modified: head/sys/dev/usb/serial/u3g.c

svn commit: r189547 - head/sys/dev/usb

2009-03-08 Thread Andrew Thompson
Author: thompsa Date: Sun Mar 8 22:58:19 2009 New Revision: 189547 URL: http://svn.freebsd.org/changeset/base/189547 Log: MFp4 //depot/projects/u...@158868 Fix bugs and improve HID parsing. - fix possible memory leak found - fix possible NULL pointer access - fix possible invalid mem

svn commit: r189548 - head/sys/arm/xscale/ixp425

2009-03-08 Thread Sam Leffler
Author: sam Date: Sun Mar 8 23:45:56 2009 New Revision: 189548 URL: http://svn.freebsd.org/changeset/base/189548 Log: o mark unexpected callbacks more clearly o unwrap some lines Modified: head/sys/arm/xscale/ixp425/ixp425_pci.c Modified: head/sys/arm/xscale/ixp425/ixp425_pci.c ==

svn commit: r189549 - in head/lib/libthr: . thread

2009-03-08 Thread David Xu
Author: davidxu Date: Mon Mar 9 02:34:02 2009 New Revision: 189549 URL: http://svn.freebsd.org/changeset/base/189549 Log: Don't reference non-existent __fcntl_compat if WITHOUT_SYSCALL_COMPAT is defined. Submitted by: Pawel Worach "pawel dot worach at gmail dot com" Modified: head/lib/

svn commit: r189550 - head/sys/dev/if_ndis

2009-03-08 Thread Sam Leffler
Author: sam Date: Mon Mar 9 02:37:52 2009 New Revision: 189550 URL: http://svn.freebsd.org/changeset/base/189550 Log: Fix TXPMGT handling: o correct dBm<->mW conversion logic o set net80211 TXPMGT capability only if driver reports it is capable PR: kern/132342 Submitted by:

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

2009-03-08 Thread Alan Cox
Author: alc Date: Mon Mar 9 03:35:25 2009 New Revision: 189551 URL: http://svn.freebsd.org/changeset/base/189551 Log: Change pmap_enter_quick_locked() so that it uses the kernel's direct map instead of the pmap's recursive mapping to access the lowest level of the page table when it maps a

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

2009-03-08 Thread Xin LI
Author: delphij Date: Mon Mar 9 05:41:04 2009 New Revision: 189552 URL: http://svn.freebsd.org/changeset/base/189552 Log: A system with plenty of memory would not require so much swap for generic usage. Discussed with: dillon Modified: head/share/man/man7/tuning.7 Modified: hea

svn commit: r189553 - head/lib/libthr/thread

2009-03-08 Thread David Xu
Author: davidxu Date: Mon Mar 9 05:54:43 2009 New Revision: 189553 URL: http://svn.freebsd.org/changeset/base/189553 Log: Don't ignore other fcntl functions, directly call __sys_fcntl if WITHOUT_SYSCALL_COMPAT is not defined. Reviewed by: deischen Modified: head/lib/libthr/thread/thr

svn commit: r189555 - head/sys/dev/re

2009-03-08 Thread Pyun YongHyeon
Author: yongari Date: Mon Mar 9 06:02:55 2009 New Revision: 189555 URL: http://svn.freebsd.org/changeset/base/189555 Log: Add a new tunable hw.re.prefer_iomap which disables memory register mapping. The tunable is OFF for all controllers except RTL8169SC family. RTL8169SC seems to require m