svn commit: r194526 - head/usr.sbin/nfscbd

2009-06-20 Thread Stanislav Sedov
Author: stas Date: Sat Jun 20 08:46:40 2009 New Revision: 194526 URL: http://svn.freebsd.org/changeset/base/194526 Log: - Include rpcv2.h before other NFS includes. That allows nfscbd to compile. Modified: head/usr.sbin/nfscbd/nfscbd.c Modified: head/usr.sbin/nfscbd/nfscbd.c

svn commit: r194527 - stable/7/etc

2009-06-20 Thread Edwin Groothuis
Author: edwin Date: Sat Jun 20 08:54:03 2009 New Revision: 194527 URL: http://svn.freebsd.org/changeset/base/194527 Log: MFC of 194107 Sync termcap.small with main termcap; add xterm entry for libteken PR: conf/135530 Submitted by: Alex Kozlov Modified: stable/7/etc/ter

svn commit: r194528 - head/lib/libpam/modules/pam_unix

2009-06-20 Thread Dag-Erling Smorgrav
Author: des Date: Sat Jun 20 10:06:10 2009 New Revision: 194528 URL: http://svn.freebsd.org/changeset/base/194528 Log: Reword. MFC after:1 week Modified: head/lib/libpam/modules/pam_unix/pam_unix.8 Modified: head/lib/libpam/modules/pam_unix/pam_unix.8 ===

svn commit: r194529 - head/lib/libpam/modules/pam_unix

2009-06-20 Thread Dag-Erling Smorgrav
Author: des Date: Sat Jun 20 10:09:59 2009 New Revision: 194529 URL: http://svn.freebsd.org/changeset/base/194529 Log: Rewrap; this was getting painful. Translators can ignore this. MFC after:1 week Modified: head/lib/libpam/modules/pam_unix/pam_unix.8 Modified: head/lib/libpam/mod

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

2009-06-20 Thread Alexander Kabaev
Author: kan Date: Sat Jun 20 14:16:41 2009 New Revision: 194531 URL: http://svn.freebsd.org/changeset/base/194531 Log: Allow order of initialization of loaded shared objects to be altered through their .init code. This might happen if init vector calls dlopen on its own and that dlopen cause

svn commit: r194532 - in head/sys: fs/devfs kern sys

2009-06-20 Thread Ed Schouten
Author: ed Date: Sat Jun 20 14:50:32 2009 New Revision: 194532 URL: http://svn.freebsd.org/changeset/base/194532 Log: Improve nested jail awareness of devfs by handling credentials. Now that we start to use credentials on character devices more often (because of MPSAFE TTY), move the pris

svn commit: r194534 - in head/sys/security: mac_biba mac_lomac

2009-06-20 Thread Ed Schouten
Author: ed Date: Sat Jun 20 15:54:35 2009 New Revision: 194534 URL: http://svn.freebsd.org/changeset/base/194534 Log: Chase the removal of PRIV_TTY_PRISON in the mac(9) modules. Reported by: kib Pointy hat to:me Modified: head/sys/security/mac_biba/mac_biba.c head/sys/securi

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

2009-06-20 Thread Ed Schouten
Author: ed Date: Sat Jun 20 16:30:32 2009 New Revision: 194536 URL: http://svn.freebsd.org/changeset/base/194536 Log: Improve sentence and add reference to openpty(3). Add missing newlines. Modified: head/share/man/man4/pts.4 Modified: head/share/man/man4/pts.4 ==

svn commit: r194537 - head/sys/dev/drm

2009-06-20 Thread Robert Noland
Author: rnoland Date: Sat Jun 20 16:37:24 2009 New Revision: 194537 URL: http://svn.freebsd.org/changeset/base/194537 Log: Don't panic if drm_rmmap is called with a NULL map pointer. MFC after:3 days Modified: head/sys/dev/drm/drm_bufs.c Modified: head/sys/dev/drm/drm_bufs.c ===

svn commit: r194538 - head/sys/sys

2009-06-20 Thread Ed Schouten
Author: ed Date: Sat Jun 20 16:39:25 2009 New Revision: 194538 URL: http://svn.freebsd.org/changeset/base/194538 Log: Add placeholder to prevent reuse of privilege 254. Requested by: rwatson Modified: head/sys/sys/priv.h Modified: head/sys/sys/priv.h

svn commit: r194539 - head/sys/dev/drm

2009-06-20 Thread Robert Noland
Author: rnoland Date: Sat Jun 20 16:40:48 2009 New Revision: 194539 URL: http://svn.freebsd.org/changeset/base/194539 Log: realloc() behaves identically to malloc when passed a NULL object pointer If an error does occur we would have left max_context with an incorrect value. MFC afte

svn commit: r194540 - head/sys/dev/drm

2009-06-20 Thread Robert Noland
Author: rnoland Date: Sat Jun 20 16:45:14 2009 New Revision: 194540 URL: http://svn.freebsd.org/changeset/base/194540 Log: The G45 docs indicate that all G4X chips use the new framecount register. Intel agrees with my reading of the docs, make it so for all G4X chips. The new register

svn commit: r194541 - in head/sys/fs: nfs nfsclient

2009-06-20 Thread Rick Macklem
Author: rmacklem Date: Sat Jun 20 17:11:07 2009 New Revision: 194541 URL: http://svn.freebsd.org/changeset/base/194541 Log: Replace RPCAUTH_UNIXGIDS with NFS_MAXGRPS so that nfscbd.c will build. Approved by: kib (mentor) Modified: head/sys/fs/nfs/nfs.h head/sys/fs/nfsclient/nfs_clport

Re: svn commit: r194540 - head/sys/dev/drm

2009-06-20 Thread Daniel Eischen
On Sat, 20 Jun 2009, Robert Noland wrote: Author: rnoland Date: Sat Jun 20 16:45:14 2009 New Revision: 194540 URL: http://svn.freebsd.org/changeset/base/194540 Log: The G45 docs indicate that all G4X chips use the new framecount register. Intel agrees with my reading of the docs, make it so

svn commit: r194542 - head/sys/rpc/rpcsec_gss

2009-06-20 Thread Rick Macklem
Author: rmacklem Date: Sat Jun 20 17:16:29 2009 New Revision: 194542 URL: http://svn.freebsd.org/changeset/base/194542 Log: Delete the declaration of an unused variable so that it will build. Approved by: rwatson (mentor) Modified: head/sys/rpc/rpcsec_gss/svc_rpcsec_gss.c Modified: hea

svn commit: r194543 - head/sys/netatalk

2009-06-20 Thread Robert Watson
Author: rwatson Date: Sat Jun 20 17:28:38 2009 New Revision: 194543 URL: http://svn.freebsd.org/changeset/base/194543 Log: Don't lock sockets around calls to mac_socket_create_mbuf() -- policies are now expected to acquire the socket lock if they require them. Obtained from:Truste

Re: svn commit: r194540 - head/sys/dev/drm

2009-06-20 Thread Andriy Gapon
on 20/06/2009 19:56 Daniel Eischen said the following: > On Sat, 20 Jun 2009, Robert Noland wrote: > >> Author: rnoland >> Date: Sat Jun 20 16:45:14 2009 >> New Revision: 194540 >> URL: http://svn.freebsd.org/changeset/base/194540 >> >> Log: >> The G45 docs indicate that all G4X chips use the new

svn commit: r194544 - head/sys/netipx

2009-06-20 Thread Robert Watson
Author: rwatson Date: Sat Jun 20 17:42:53 2009 New Revision: 194544 URL: http://svn.freebsd.org/changeset/base/194544 Log: Invoke the MAC Framework's mac_socket_create_mbuf() entry point when generating IPX output for raw and datagram IPX sockets. Obtained from:TrustedBSD Project

svn commit: r194545 - head/sys/netipx

2009-06-20 Thread Robert Watson
Author: rwatson Date: Sat Jun 20 17:44:04 2009 New Revision: 194545 URL: http://svn.freebsd.org/changeset/base/194545 Log: Invoke the MAC Framework's mac_socket_create_mbuf() entry point when generating IPX output for SPX sockets. Obtained from:TrustedBSD Project Modified: head

Re: svn commit: r194540 - head/sys/dev/drm

2009-06-20 Thread Andriy Gapon
on 20/06/2009 20:39 Andriy Gapon said the following: > on 20/06/2009 19:56 Daniel Eischen said the following: >> On Sat, 20 Jun 2009, Robert Noland wrote: >> >>> Author: rnoland >>> Date: Sat Jun 20 16:45:14 2009 >>> New Revision: 194540 >>> URL: http://svn.freebsd.org/changeset/base/194540 >>> >>>

Re: svn commit: r194538 - head/sys/sys

2009-06-20 Thread Kostik Belousov
On Sat, Jun 20, 2009 at 04:39:25PM +, Ed Schouten wrote: > Author: ed > Date: Sat Jun 20 16:39:25 2009 > New Revision: 194538 > URL: http://svn.freebsd.org/changeset/base/194538 > > Log: > Add placeholder to prevent reuse of privilege 254. > > Requested by: rwatson > > Modified:

svn commit: r194546 - head/tools/regression/netipx/spxloopback

2009-06-20 Thread Robert Watson
Author: rwatson Date: Sat Jun 20 18:13:20 2009 New Revision: 194546 URL: http://svn.freebsd.org/changeset/base/194546 Log: Up the scale of the SPX loopback check a bit: use much larger data sizes so that we need to do segmentation. Modified: head/tools/regression/netipx/spxloopback/spxloopb

svn commit: r194547 - head/sys/netipx

2009-06-20 Thread Robert Watson
Author: rwatson Date: Sat Jun 20 18:24:25 2009 New Revision: 194547 URL: http://svn.freebsd.org/changeset/base/194547 Log: Rework SPX segment reassembly, which was originally based on our TCP reassembly but failed to be modernized over time: - Use queue(9). - Specifically allocate queue

svn commit: r194548 - head/usr.bin/catman

2009-06-20 Thread Brooks Davis
Author: brooks Date: Sat Jun 20 18:24:29 2009 New Revision: 194548 URL: http://svn.freebsd.org/changeset/base/194548 Log: Restore the check against running as root that I accidentally removed in r194493. Modified: head/usr.bin/catman/catman.c Modified: head/usr.bin/catman/catman.c

svn commit: r194549 - head/sys/sys

2009-06-20 Thread Robert Watson
Author: rwatson Date: Sat Jun 20 18:27:19 2009 New Revision: 194549 URL: http://svn.freebsd.org/changeset/base/194549 Log: Remove definition of dtom(), which converted a data pointer into a pointer to the containing mbuf. This eliminates a strong assumption about the layout of network buffe

Re: svn commit: r194493 - head/usr.bin/catman

2009-06-20 Thread Brooks Davis
On Sat, Jun 20, 2009 at 01:57:07PM +1000, Bruce Evans wrote: > On Fri, 19 Jun 2009, Brooks Davis wrote: > >> Log: >> When checking if we can write to a file, use access() instead of a >> manual permission check based on stat output. Also, get rid of the >> executability check since it is not u

svn commit: r194552 - head/sys/i386/ibcs2

2009-06-20 Thread Brooks Davis
Author: brooks Date: Sat Jun 20 18:52:02 2009 New Revision: 194552 URL: http://svn.freebsd.org/changeset/base/194552 Log: Use NGROUPS instead of NGROUPS_MAX as the limits on setgroups and getgroups for ibcs emulation. It seems vanishingly likely any programs will actually be affected since

svn commit: r194553 - in head/sys/dev/cxgb: . sys

2009-06-20 Thread Kip Macy
Author: kmacy Date: Sat Jun 20 18:57:14 2009 New Revision: 194553 URL: http://svn.freebsd.org/changeset/base/194553 Log: - fix dma map handling for !x86 case - fix allocation failure handing in refill_fl Modified: head/sys/dev/cxgb/cxgb_sge.c head/sys/dev/cxgb/sys/mvec.h head/sys/dev/cx

Re: svn commit: r194540 - head/sys/dev/drm

2009-06-20 Thread Daniel Eischen
On Sat, 20 Jun 2009, Andriy Gapon wrote: on 20/06/2009 19:56 Daniel Eischen said the following: On Sat, 20 Jun 2009, Robert Noland wrote: Author: rnoland Date: Sat Jun 20 16:45:14 2009 New Revision: 194540 URL: http://svn.freebsd.org/changeset/base/194540 Log: The G45 docs indicate that all

svn commit: r194554 - head/sys/dev/cxgb

2009-06-20 Thread Kip Macy
Author: kmacy Date: Sat Jun 20 19:09:41 2009 New Revision: 194554 URL: http://svn.freebsd.org/changeset/base/194554 Log: fix typo in conditional Modified: head/sys/dev/cxgb/cxgb_sge.c Modified: head/sys/dev/cxgb/cxgb_sge.c =

Re: svn commit: r194540 - head/sys/dev/drm

2009-06-20 Thread Robert Noland
On Sat, 2009-06-20 at 12:56 -0400, Daniel Eischen wrote: > On Sat, 20 Jun 2009, Robert Noland wrote: > > > Author: rnoland > > Date: Sat Jun 20 16:45:14 2009 > > New Revision: 194540 > > URL: http://svn.freebsd.org/changeset/base/194540 > > > > Log: > > The G45 docs indicate that all G4X chips us

svn commit: r194555 - head/usr.sbin/getpmac

2009-06-20 Thread Robert Watson
Author: rwatson Date: Sat Jun 20 20:22:11 2009 New Revision: 194555 URL: http://svn.freebsd.org/changeset/base/194555 Log: If the label being printed by getpmac(8) is empty, then don't print a carriage return. Obtained from:TrustedBSD Project MFC after:3 days Modified: he

Re: svn commit: r194540 - head/sys/dev/drm

2009-06-20 Thread Daniel Eischen
On Sat, 20 Jun 2009, Robert Noland wrote: On Sat, 2009-06-20 at 12:56 -0400, Daniel Eischen wrote: On Sat, 20 Jun 2009, Robert Noland wrote: Author: rnoland Date: Sat Jun 20 16:45:14 2009 New Revision: 194540 URL: http://svn.freebsd.org/changeset/base/194540 Log: The G45 docs indicate that

svn commit: r194556 - head/sys/kern

2009-06-20 Thread Brooks Davis
Author: brooks Date: Sat Jun 20 20:29:21 2009 New Revision: 194556 URL: http://svn.freebsd.org/changeset/base/194556 Log: Change crsetgroups_locked() (called by crsetgroups()) to sort the supplemental groups using insertion sort. Use this property in groupmember() to let us use a binary sea

svn commit: r194558 - head/tools/tools/tinybsd

2009-06-20 Thread Remko Lodder
Author: remko Date: Sat Jun 20 20:35:50 2009 New Revision: 194558 URL: http://svn.freebsd.org/changeset/base/194558 Log: Add architecture support for TinyBSD PR: 135301 Submitted by: Olivier Cochard-Labbe Reviewed by: Jean Milanez Melo (maintainer) Approved by: imp (men

svn commit: r194560 - head/bin/sh

2009-06-20 Thread Jilles Tjoelker
Author: jilles Date: Sat Jun 20 20:44:27 2009 New Revision: 194560 URL: http://svn.freebsd.org/changeset/base/194560 Log: Fix race condition in noclobber option. Formerly, it was possible for the file to be created between the check if it existed and the open; the contents would then be l

svn commit: r194561 - head/sys/netipx

2009-06-20 Thread Robert Watson
Author: rwatson Date: Sat Jun 20 23:38:21 2009 New Revision: 194561 URL: http://svn.freebsd.org/changeset/base/194561 Log: Implement socket delivery MAC checks for IPX/SPX. Obtained from:TrustedBSD Project MFC after:3 days Modified: head/sys/netipx/ipx_usrreq.c head/sys/n

svn commit: r194562 - head/sys/vm

2009-06-20 Thread Alan Cox
Author: alc Date: Sun Jun 21 00:21:33 2009 New Revision: 194562 URL: http://svn.freebsd.org/changeset/base/194562 Log: Strive for greater consistency among the places that implement real, fictious, and contiguous page allocation. Eliminate unnecessary reinitialization of a page's fields. M

svn commit: r194563 - head/sys/dev/cxgb/sys

2009-06-20 Thread Kip Macy
Author: kmacy Date: Sun Jun 21 01:17:38 2009 New Revision: 194563 URL: http://svn.freebsd.org/changeset/base/194563 Log: fix !x86 cxgb compile Modified: head/sys/dev/cxgb/sys/uipc_mvec.c Modified: head/sys/dev/cxgb/sys/uipc_mvec.c =

svn commit: r194564 - head/gnu/lib/libgcov

2009-06-20 Thread Alexander Kabaev
Author: kan Date: Sun Jun 21 01:54:47 2009 New Revision: 194564 URL: http://svn.freebsd.org/changeset/base/194564 Log: Compile static gcov library with -fPIC to match what stock GCC builds are doing. This is required for libgcov.a to be usable on amd64. Reported by: stas Modified: hea

svn commit: r194565 - stable/7/share/termcap

2009-06-20 Thread Edwin Groothuis
Author: edwin Date: Sun Jun 21 02:45:23 2009 New Revision: 194565 URL: http://svn.freebsd.org/changeset/base/194565 Log: MFC of 194146 Add missing termcap entry for rxvt-unicode. The termcap database does not have an entry for rxvt-unicode. This means that programs that n

svn commit: r194566 - stable/7/share/termcap

2009-06-20 Thread Edwin Groothuis
Author: edwin Date: Sun Jun 21 02:46:56 2009 New Revision: 194566 URL: http://svn.freebsd.org/changeset/base/194566 Log: MFC of 194152 Add missing terminal definition for Wyse 120 in termcap Although the PR contains also the definitions of the Wyse 60, they are not copied into it sin

Re: svn commit: r194493 - head/usr.bin/catman

2009-06-20 Thread Bruce Evans
On Sat, 20 Jun 2009, Brooks Davis wrote: On Sat, Jun 20, 2009 at 01:57:07PM +1000, Bruce Evans wrote: On Fri, 19 Jun 2009, Brooks Davis wrote: Log: When checking if we can write to a file, use access() instead of a manual permission check based on stat output. Also, get rid of the executa

svn commit: r194567 - stable/7/share/termcap

2009-06-20 Thread Edwin Groothuis
Author: edwin Date: Sun Jun 21 02:48:16 2009 New Revision: 194567 URL: http://svn.freebsd.org/changeset/base/194567 Log: MFC of 194172 Termcap updates for screen and linux console: screen entry: F11-F20 keys added linux entry: F10-F20 keys added, ACS line graphics added

svn commit: r194568 - stable/7/share/termcap

2009-06-20 Thread Edwin Groothuis
Author: edwin Date: Sun Jun 21 02:49:21 2009 New Revision: 194568 URL: http://svn.freebsd.org/changeset/base/194568 Log: Add missing passthrough printing entries for VT100 and workalikes in /etc/termcap: VT100 spec indicates that passthrough printing can be enabled by sending ES

svn commit: r194569 - head/sys/dev/fxp

2009-06-20 Thread Pyun YongHyeon
Author: yongari Date: Sun Jun 21 06:06:43 2009 New Revision: 194569 URL: http://svn.freebsd.org/changeset/base/194569 Log: Introduce Rx mbuf dma tag and use it in Rx path. Previously it used common mbuf dma tag for both Tx and Rx path but Rx buffer should have single DMA segment and maximum

svn commit: r194570 - head/sys/dev/fxp

2009-06-20 Thread Pyun YongHyeon
Author: yongari Date: Sun Jun 21 06:18:19 2009 New Revision: 194570 URL: http://svn.freebsd.org/changeset/base/194570 Log: Due to possible PCI bus lock-up issues fxp(4) didn't perform full hardware reset in attach phase. Selective reset does not clear configured parameters so I think full ha

svn commit: r194571 - head/sys/dev/fxp

2009-06-20 Thread Pyun YongHyeon
Author: yongari Date: Sun Jun 21 06:27:35 2009 New Revision: 194571 URL: http://svn.freebsd.org/changeset/base/194571 Log: Don't blindly enable Rx lock-up workaround. Newer chips do not need the Rx lock-up workaround. Obtained from:NetBSD Modified: head/sys/dev/fxp/if_fxp.c h

svn commit: r194572 - head/sys/dev/fxp

2009-06-20 Thread Pyun YongHyeon
Author: yongari Date: Sun Jun 21 06:46:32 2009 New Revision: 194572 URL: http://svn.freebsd.org/changeset/base/194572 Log: Always check fxp(4) is running, see if it can accept frames from upper stack in fxp_start_body(). fxp(4) drops driver lock in Rx path so check the fxp(4) is still runn