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: 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

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

2009-06-21 Thread Brooks Davis
On Sun, Jun 21, 2009 at 04:48:09PM +0200, Dag-Erling Sm??rgrav wrote: Alexey Dokuchaev da...@freebsd.org writes: This kinda brings up the question, do we actually need catman(1) at all these days of fast CPU and disks and plenty of RAM? Show me the fast CPU and plenty of RAM on this board:

svn commit: r195175 - in head: . sys/net sys/sys

2009-06-29 Thread Brooks Davis
Author: brooks Date: Mon Jun 29 19:46:29 2009 New Revision: 195175 URL: http://svn.freebsd.org/changeset/base/195175 Log: Remove support for the /dev/net/* per-interface devices. They serve little purpose and are unused in the base system. The IOCTL functionality is entirely duplicated

Re: svn commit: r195318 - head/usr.bin/cpio

2009-07-03 Thread Brooks Davis
On Fri, Jul 03, 2009 at 05:54:33PM +, Tim Kientzle wrote: Modified: head/usr.bin/cpio/cmdline.c == --- head/usr.bin/cpio/cmdline.c Fri Jul 3 16:33:42 2009 (r195317) +++ head/usr.bin/cpio/cmdline.c

svn commit: r195843 - in head: lib/libkvm sys/kern sys/sys

2009-07-24 Thread Brooks Davis
Author: brooks Date: Fri Jul 24 15:03:10 2009 New Revision: 195843 URL: http://svn.freebsd.org/changeset/base/195843 Log: Revert the changes to struct kinfo_proc in r194498. Instead, fill in up to 16 (KI_NGROUPS) values and steal a bit from ki_cr_flags (all bits currently unused) to

svn commit: r195853 - in head: sys/kern sys/sys usr.bin/procstat

2009-07-24 Thread Brooks Davis
Author: brooks Date: Fri Jul 24 19:12:19 2009 New Revision: 195853 URL: http://svn.freebsd.org/changeset/base/195853 Log: Introduce a new sysctl process mib, kern.proc.groups which adds the ability to retrieve the group list of each process. Modify procstat's -s option to query this mib

svn commit: r195859 - in stable/7: lib/libc lib/libc/gen lib/libc/rpc lib/libc/sys usr.bin/id usr.bin/newgrp usr.bin/quota usr.sbin/chown usr.sbin/chroot usr.sbin/jail usr.sbin/jexec usr.sbin/lpr u...

2009-07-24 Thread Brooks Davis
Author: brooks Date: Fri Jul 24 21:42:10 2009 New Revision: 195859 URL: http://svn.freebsd.org/changeset/base/195859 Log: MFC r194494 to improve support for 7.x worlds on =8.0 kernels: In preparation for raising NGROUPS and NGROUPS_MAX, change base system callers of getgroups(),

Re: svn commit: r196706 - head/usr.sbin/pkg_install/lib

2009-08-31 Thread Brooks Davis
On Mon, Aug 31, 2009 at 05:50:33PM +, Doug Barton wrote: Author: dougb Date: Mon Aug 31 17:50:33 2009 New Revision: 196706 URL: http://svn.freebsd.org/changeset/base/196706 Log: Add support for INDEX-9 [1] While I'm here, strip off support for FreeBSD 5.x. I'm rather baffled

Re: svn commit: r195843 - in head: lib/libkvm sys/kern sys/sys

2009-09-04 Thread Brooks Davis
On Sat, Aug 29, 2009 at 08:12:28PM +0100, Bruce Cran wrote: On Fri, 24 Jul 2009 15:03:10 + (UTC) Brooks Davis bro...@freebsd.org wrote: Author: brooks Date: Fri Jul 24 15:03:10 2009 New Revision: 195843 URL: http://svn.freebsd.org/changeset/base/195843 Log: Revert

Re: svn commit: r195843 - in head: lib/libkvm sys/kern sys/sys

2009-09-08 Thread Brooks Davis
On Sun, Sep 06, 2009 at 04:47:00AM +0100, Bruce Cran wrote: On Fri, 4 Sep 2009 17:14:32 -0500 Brooks Davis bro...@freebsd.org wrote: On Sat, Aug 29, 2009 at 08:12:28PM +0100, Bruce Cran wrote: On Fri, 24 Jul 2009 15:03:10 + (UTC) Brooks Davis bro...@freebsd.org wrote

svn commit: r196990 - head/lib/libkvm

2009-09-08 Thread Brooks Davis
Author: brooks Date: Tue Sep 8 19:37:59 2009 New Revision: 196990 URL: http://svn.freebsd.org/changeset/base/196990 Log: cr_groups is no longer embedded in struct ucred and is instead stored in a seperate array. As such we need to use kvm_read rather than bcopy to populate the ki_groups

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

2009-09-09 Thread Brooks Davis
Author: brooks Date: Wed Sep 9 20:28:58 2009 New Revision: 197047 URL: http://svn.freebsd.org/changeset/base/197047 Log: Mention that a few ed(4) devices don't emit link state change notices and a workaround for dhclient. Reviewed by: thierry MFC after:3 days Modified:

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

2009-09-09 Thread Brooks Davis
Author: brooks Date: Wed Sep 9 21:51:54 2009 New Revision: 197050 URL: http://svn.freebsd.org/changeset/base/197050 Log: Change one no to not in r197047 Submitted by: John Nielsen john at jnielsen net Modified: head/share/man/man4/ed.4 Modified: head/share/man/man4/ed.4

Re: svn commit: r197065 - in stable/8: etc/defaults lib/libc/stdlib sys/amd64/conf sys/i386/conf sys/ia64/conf sys/pc98/conf sys/powerpc/conf sys/sparc64/conf

2009-09-10 Thread Brooks Davis
On Thu, Sep 10, 2009 at 05:36:56PM +0200, Ivan Voras wrote: 2009/9/10 Ken Smith kensm...@cse.buffalo.edu: On Thu, 2009-09-10 at 15:29 +0100, Gavin Atkinson wrote: This seems like a step backwards to me: crash dumps have been left enabled in 7.x and have proved very useful from the point

Re: svn commit: r197047 - head/share/man/man4

2009-09-10 Thread Brooks Davis
On Thu, Sep 10, 2009 at 02:33:27PM -0600, Warner Losh wrote: From: Brooks Davis bro...@freebsd.org Subject: svn commit: r197047 - head/share/man/man4 Date: Wed, 9 Sep 2009 20:28:58 + (UTC) Author: brooks Date: Wed Sep 9 20:28:58 2009 New Revision: 197047 URL: http

svn commit: r197269 - head/sys/ufs/ufs

2009-09-17 Thread Brooks Davis
Author: brooks Date: Thu Sep 17 12:35:13 2009 New Revision: 197269 URL: http://svn.freebsd.org/changeset/base/197269 Log: Allocate space for the group array in a static credential used in the quota code. One case was correctly handled in r194498, but this one was missed. PR:

svn commit: r197473 - in stable/8/sys: . amd64/include/xen cddl/contrib/opensolaris contrib/dev/acpica contrib/pf dev/xen/xenpci ufs/ufs

2009-09-24 Thread Brooks Davis
Author: brooks Date: Thu Sep 24 21:32:56 2009 New Revision: 197473 URL: http://svn.freebsd.org/changeset/base/197473 Log: MFC r197269: Allocate space for the group array in a static credential used in the quota code. One case was correctly handled in r194498, but this one was missed.

svn commit: r197474 - stable/8/lib/libkvm

2009-09-24 Thread Brooks Davis
Author: brooks Date: Thu Sep 24 21:35:13 2009 New Revision: 197474 URL: http://svn.freebsd.org/changeset/base/197474 Log: MFC r196990: cr_groups is no longer embedded in struct ucred and is instead stored in a seperate array. As such we need to use kvm_read rather than bcopy to populate

Re: svn commit: r199201 - in head: contrib/libpcap sbin/ifconfig share/man/man4 sys/kern sys/net sys/sys

2009-11-12 Thread Brooks Davis
On Thu, Nov 12, 2009 at 03:21:40PM +, Robert Watson wrote: On Thu, 12 Nov 2009, Dag-Erling Sm??rgrav wrote: So there used to be four chars in a row here (between if_description and if_cspare). Are you sure moving the pointer in between doesn't increase the structure size? I can

svn commit: r207583 - stable/8/share/misc

2010-05-03 Thread Brooks Davis
Author: brooks Date: Mon May 3 19:56:52 2010 New Revision: 207583 URL: http://svn.freebsd.org/changeset/base/207583 Log: MFC r205073 Regen: * Hart: rev 671 of pcidevs.txt; 22-01-2008 (D-M-Y). * Boemler:vendors.txt (2010-03126) PR: kern/133733

svn commit: r207616 - stable/7/share/misc

2010-05-04 Thread Brooks Davis
Author: brooks Date: Tue May 4 15:52:17 2010 New Revision: 207616 URL: http://svn.freebsd.org/changeset/base/207616 Log: MFC r205073 Regen: * Hart: rev 671 of pcidevs.txt; 22-01-2008 (D-M-Y). * Boemler: vendors.txt (2010-03126) PR: kern/133733 Modified:

svn commit: r201953 - head/sys/kern

2010-01-09 Thread Brooks Davis
Author: brooks Date: Sat Jan 9 23:22:31 2010 New Revision: 201953 URL: http://svn.freebsd.org/changeset/base/201953 Log: Correct the explination text for the kern.ngroups. It reflects the number of supplemental groups, not the total number of groups. MFC after:3 days Modified:

svn commit: r201954 - head/sys/fs/procfs

2010-01-09 Thread Brooks Davis
Author: brooks Date: Sat Jan 9 23:23:52 2010 New Revision: 201954 URL: http://svn.freebsd.org/changeset/base/201954 Log: Update the comment on printing group membership to reflect that fact that each groupt the process is a member of is printed rather than an entry for each group the user

svn commit: r201955 - head/sys/sys

2010-01-09 Thread Brooks Davis
Author: brooks Date: Sat Jan 9 23:24:49 2010 New Revision: 201955 URL: http://svn.freebsd.org/changeset/base/201955 Log: Improve the comment about CMGROUP_MAX. MFC after:3 days Modified: head/sys/sys/socket.h Modified: head/sys/sys/socket.h

svn commit: r201959 - head/lib/libc/rpc

2010-01-09 Thread Brooks Davis
Author: brooks Date: Sat Jan 9 23:36:51 2010 New Revision: 201959 URL: http://svn.freebsd.org/changeset/base/201959 Log: Use the correct types to store uids and gids in the credential cache. Modified: head/lib/libc/rpc/svc_auth_des.c Modified: head/lib/libc/rpc/svc_auth_des.c

svn commit: r202134 - in stable/8/sys: amd64/conf i386/conf ia64/conf pc98/conf powerpc/conf sparc64/conf sun4v/conf

2010-01-11 Thread Brooks Davis
Author: brooks Date: Tue Jan 12 06:00:56 2010 New Revision: 202134 URL: http://svn.freebsd.org/changeset/base/202134 Log: MFC r201443: Add vlan(4) to all GENERIC kernels. Modified: stable/8/sys/amd64/conf/GENERIC stable/8/sys/i386/conf/GENERIC stable/8/sys/ia64/conf/GENERIC

svn commit: r202135 - in stable/7/sys: amd64/conf i386/conf ia64/conf pc98/conf powerpc/conf sparc64/conf sun4v/conf

2010-01-11 Thread Brooks Davis
Author: brooks Date: Tue Jan 12 06:04:32 2010 New Revision: 202135 URL: http://svn.freebsd.org/changeset/base/202135 Log: MFC r201443: Add vlan(4) to all GENERIC kernels. Modified: stable/7/sys/amd64/conf/GENERIC stable/7/sys/i386/conf/GENERIC stable/7/sys/ia64/conf/GENERIC

svn commit: r202136 - stable/8/sys/kern

2010-01-11 Thread Brooks Davis
Author: brooks Date: Tue Jan 12 06:09:56 2010 New Revision: 202136 URL: http://svn.freebsd.org/changeset/base/202136 Log: MFC r201953: Correct the explination text for the kern.ngroups. It reflects the number of supplemental groups, not the total number of groups. Modified:

svn commit: r202137 - stable/8/sys/fs/procfs

2010-01-11 Thread Brooks Davis
Author: brooks Date: Tue Jan 12 06:11:36 2010 New Revision: 202137 URL: http://svn.freebsd.org/changeset/base/202137 Log: MFC r201954: Update the comment on printing group membership to reflect that fact that each group the process is a member of is printed rather than an entry

svn commit: r202138 - stable/8/sys/sys

2010-01-11 Thread Brooks Davis
Author: brooks Date: Tue Jan 12 06:14:24 2010 New Revision: 202138 URL: http://svn.freebsd.org/changeset/base/202138 Log: MFC r201955: Improve the comment about CMGROUP_MAX. Modified: stable/8/sys/sys/socket.h Directory Properties: stable/8/sys/ (props changed)

svn commit: r202140 - stable/8/crypto/heimdal/kcm

2010-01-11 Thread Brooks Davis
Author: brooks Date: Tue Jan 12 07:33:33 2010 New Revision: 202140 URL: http://svn.freebsd.org/changeset/base/202140 Log: MFC r201444: The size of credential messages is limited by CMGROUP_MAX rather than NGROUPS. Modified: stable/8/crypto/heimdal/kcm/connect.c Directory

svn commit: r202143 - in head/sys: boot/forth compat/linux compat/svr4 i386/ibcs2 kern rpc security/audit sys

2010-01-11 Thread Brooks Davis
Author: brooks Date: Tue Jan 12 07:49:34 2010 New Revision: 202143 URL: http://svn.freebsd.org/changeset/base/202143 Log: Replace the static NGROUPS=NGROUPS_MAX+1=1024 with a dynamic kern.ngroups+1. kern.ngroups can range from NGROUPS_MAX=1023 to INT_MAX-1. Given that the Windows group

Re: svn commit: r202143 - in head/sys: boot/forth compat/linux compat/svr4 i386/ibcs2 kern rpc security/audit sys

2010-01-12 Thread Brooks Davis
On Tue, Jan 12, 2010 at 07:49:35AM +, Brooks Davis wrote: Author: brooks Date: Tue Jan 12 07:49:34 2010 New Revision: 202143 URL: http://svn.freebsd.org/changeset/base/202143 Log: Replace the static NGROUPS=NGROUPS_MAX+1=1024 with a dynamic kern.ngroups+1. kern.ngroups can range

svn commit: r202163 - head/sys/kern

2010-01-12 Thread Brooks Davis
Author: brooks Date: Tue Jan 12 18:20:20 2010 New Revision: 202163 URL: http://svn.freebsd.org/changeset/base/202163 Log: Declare the kern.ngroups sysctl to be read-only, but tunable at boot for better error reporting. Submitted by: Matthew Fleming matthew dot fleming at isilon dot com

svn commit: r202341 - head/sys/compat/linux

2010-01-14 Thread Brooks Davis
Author: brooks Date: Fri Jan 15 07:05:00 2010 New Revision: 202341 URL: http://svn.freebsd.org/changeset/base/202341 Log: Since all other comparisons involving ngroups_max use ngroups_max + 1, use = ngroups_max+1 instead of the equivalent ngroups_max to reduce confusion. Modified:

svn commit: r202342 - in head/sys: i386/ibcs2 kern

2010-01-14 Thread Brooks Davis
Author: brooks Date: Fri Jan 15 07:18:46 2010 New Revision: 202342 URL: http://svn.freebsd.org/changeset/base/202342 Log: Only allocate the space we need before calling kern_getgroups instead of allocating what ever the user asks for up to ngroups_max + 1. On systems with large values of

svn commit: r202823 - in stable/8: lib/libc/sys sys/kern sys/net sys/sys tools/regression/fifo/fifo_misc usr.bin/truss

2010-01-22 Thread Brooks Davis
Author: brooks Date: Fri Jan 22 19:51:34 2010 New Revision: 202823 URL: http://svn.freebsd.org/changeset/base/202823 Log: MFC r201350: The devices that supported EVFILT_NETDEV kqueue filters were removed in r195175. Remove all definitions, documentation, and usage. The change

svn commit: r202828 - stable/8/sys/dev/aic7xxx/aicasm

2010-01-22 Thread Brooks Davis
Author: brooks Date: Fri Jan 22 20:24:55 2010 New Revision: 202828 URL: http://svn.freebsd.org/changeset/base/202828 Log: MFC r201261: Add missing `void' keywords. Modified: stable/8/sys/dev/aic7xxx/aicasm/aicasm.c stable/8/sys/dev/aic7xxx/aicasm/aicasm_macro_scan.l

Re: svn commit: r202828 - stable/8/sys/dev/aic7xxx/aicasm

2010-01-22 Thread Brooks Davis
On Fri, Jan 22, 2010 at 08:24:55PM +, Brooks Davis wrote: Author: brooks Date: Fri Jan 22 20:24:55 2010 New Revision: 202828 URL: http://svn.freebsd.org/changeset/base/202828 Log: MFC r201261: Add missing `void' keywords. With this change it is again possible to build an 8

svn commit: r183979 - head/usr.sbin/pkg_install/add

2008-10-17 Thread Brooks Davis
Author: brooks Date: Fri Oct 17 15:10:45 2008 New Revision: 183979 URL: http://svn.freebsd.org/changeset/base/183979 Log: Display usage when pkg_add is called with no arguments. PR: bin/121093 Submitted by: volker Approved by: portmgr (linimon) MFC after:3 days

svn commit: r184297 - releng/6.4/sbin/dhclient stable/6/sbin/dhclient stable/7/sbin/dhclient

2008-10-26 Thread Brooks Davis
Author: brooks Date: Sun Oct 26 19:28:04 2008 New Revision: 184297 URL: http://svn.freebsd.org/changeset/base/184297 Log: MFC r183974: Support the remaining options listed in dhcp-options(5) and RFC 2132. PR: bin/127076 Submitted by: jkim Approved by: re (kensmith)

svn commit: r184297 - releng/6.4/sbin/dhclient stable/6/sbin/dhclient stable/7/sbin/dhclient

2008-10-26 Thread Brooks Davis
Author: brooks Date: Sun Oct 26 19:28:04 2008 New Revision: 184297 URL: http://svn.freebsd.org/changeset/base/184297 Log: MFC r183974: Support the remaining options listed in dhcp-options(5) and RFC 2132. PR: bin/127076 Submitted by: jkim Approved by: re (kensmith)

svn commit: r184297 - releng/6.4/sbin/dhclient stable/6/sbin/dhclient stable/7/sbin/dhclient

2008-10-26 Thread Brooks Davis
Author: brooks Date: Sun Oct 26 19:28:04 2008 New Revision: 184297 URL: http://svn.freebsd.org/changeset/base/184297 Log: MFC r183974: Support the remaining options listed in dhcp-options(5) and RFC 2132. PR: bin/127076 Submitted by: jkim Approved by: re (kensmith)

svn commit: r193001 - svnadmin/conf

2009-05-28 Thread Brooks Davis
Author: brooks Date: Thu May 28 22:11:10 2009 New Revision: 193001 URL: http://svn.freebsd.org/changeset/base/193001 Log: it's been too long since I merged and my branch diffs are too big Modified: svnadmin/conf/sizelimit.conf Modified: svnadmin/conf/sizelimit.conf

Re: svn commit: r193199 - head/etc

2009-06-02 Thread Brooks Davis
On Tue, Jun 02, 2009 at 12:21:49AM -0700, Brian Somers wrote: On Mon, 01 Jun 2009 15:34:12 +0100 Bruce Simpson b...@incunabulum.net wrote: Doug Barton wrote: Log: Eliminate the warning that Values of network_interfaces other than AUTO are deprecated.' There is no good reason to

Re: svn commit: r193199 - head/etc

2009-06-02 Thread Brooks Davis
On Mon, Jun 01, 2009 at 03:34:12PM +0100, Bruce Simpson wrote: Doug Barton wrote: Log: Eliminate the warning that Values of network_interfaces other than AUTO are deprecated.' There is no good reason to deprecate them, and setting this to different values can be useful for custom

Re: svn commit: r193199 - head/etc

2009-06-02 Thread Brooks Davis
On Tue, Jun 02, 2009 at 04:34:07PM +0100, Bruce Simpson wrote: Brooks Davis wrote: On Mon, Jun 01, 2009 at 03:34:12PM +0100, Bruce Simpson wrote: Doug Barton wrote: Log: Eliminate the warning that Values of network_interfaces other than AUTO are deprecated.' There is no good

Re: svn commit: r193199 - head/etc

2009-06-02 Thread Brooks Davis
On Tue, Jun 02, 2009 at 04:45:31PM +0100, Bruce Simpson wrote: Brooks Davis wrote: ... On boot time I instantiate a tap0 instance from cloned_interfaces=.. in /etc/rc.conf, and then use ifconfig_tap0=... to clone the MAC address on the tap instance from the internal Ethernet port

Re: svn commit: r193199 - head/etc

2009-06-03 Thread Brooks Davis
On Wed, Jun 03, 2009 at 07:57:37AM -0400, John Baldwin wrote: On Wednesday 03 June 2009 5:31:10 am Dag-Erling Sm??rgrav wrote: John Baldwin j...@freebsd.org writes: [...] Given that, there really isn't a good reason to customize network_interfaces anymore. Listing e.g. bge0 in

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

2009-06-19 Thread Brooks Davis
Author: brooks Date: Fri Jun 19 15:52:35 2009 New Revision: 194493 URL: http://svn.freebsd.org/changeset/base/194493 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

svn commit: r194494 - in head: lib/libc/gen lib/libc/rpc lib/libc/sys usr.bin/id usr.bin/newgrp usr.bin/quota usr.sbin/chown usr.sbin/chroot usr.sbin/jail usr.sbin/jexec usr.sbin/lpr/lpc

2009-06-19 Thread Brooks Davis
Author: brooks Date: Fri Jun 19 15:58:24 2009 New Revision: 194494 URL: http://svn.freebsd.org/changeset/base/194494 Log: In preparation for raising NGROUPS and NGROUPS_MAX, change base system callers of getgroups(), getgrouplist(), and setgroups() to allocate buffers dynamically.

svn commit: r194498 - in head: . lib/libc/rpc lib/libkvm sys/compat/linux sys/fs/nfs sys/fs/nfsclient sys/fs/nfsserver sys/fs/portalfs sys/fs/unionfs sys/i386/ibcs2 sys/kern sys/netinet/ipfw sys/nf...

2009-06-19 Thread Brooks Davis
Author: brooks Date: Fri Jun 19 17:10:35 2009 New Revision: 194498 URL: http://svn.freebsd.org/changeset/base/194498 Log: Rework the credential code to support larger values of NGROUPS and NGROUPS_MAX, eliminate ABI dependencies on them, and raise the to 1024 and 1023 respectively.

Re: svn commit: r194498 - in head: . lib/libc/rpc lib/libkvm sys/compat/linux sys/fs/nfs sys/fs/nfsclient sys/fs/nfsserver sys/fs/portalfs sys/fs/unionfs sys/i386/ibcs2 sys/kern sys/netinet/ipfw sys/n

2009-06-19 Thread Brooks Davis
On Fri, Jun 19, 2009 at 10:42:38AM -0700, Julian Elischer wrote: Brooks Davis wrote: Author: brooks Date: Fri Jun 19 17:10:35 2009 New Revision: 194498 URL: http://svn.freebsd.org/changeset/base/194498 Log: Rework the credential code to support larger values of NGROUPS

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

2009-06-19 Thread Brooks Davis
Author: brooks Date: Fri Jun 19 19:16:35 2009 New Revision: 194507 URL: http://svn.freebsd.org/changeset/base/194507 Log: Document crcopysafe() and crsetgroups(). Reminded by: julian Modified: head/share/man/man9/ucred.9 Modified: head/share/man/man9/ucred.9

Re: svn commit: r190482 - in head/lib/libc/db: . btree hash mpool

2009-03-30 Thread Brooks Davis
On Mon, Mar 30, 2009 at 09:18:50PM +1100, u...@vk2pj.dyndns.org wrote: Hi Xin, On 2009-Mar-28 04:00:46 +, Xin LI delp...@freebsd.org wrote: Log: When allocating memory, zero out them if we don't intend to overwrite them all; before freeing memory, zero out them before we release it

Re: svn commit: r190816 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb geom/label

2009-04-07 Thread Brooks Davis
On Wed, Apr 08, 2009 at 12:04:53AM +0200, Ivan Voras wrote: 2009/4/7 Dmitry Marakasov amd...@amdmi3.ru: * Robert Watson (rwat...@freebsd.org) wrote: I get quite a lot of console spam in 8.x right now every boot: GEOM_LABEL: Label for provider ad0s1a is ufsid/472fc8054efc5e4a.

Re: svn commit: r190031 - head/etc/defaults

2009-04-09 Thread Brooks Davis
On Thu, Apr 09, 2009 at 05:12:53PM +0400, Dmitry Marakasov wrote: * Dag-Erling Smorgrav (d...@freebsd.org) wrote: Modified: head/etc/defaults/rc.conf == --- head/etc/defaults/rc.conf Thu Mar 19 12:39:13 2009

Re: svn commit: r190031 - head/etc/defaults

2009-04-09 Thread Brooks Davis
On Thu, Apr 09, 2009 at 07:51:38PM +0400, Dmitry Marakasov wrote: * Brooks Davis (bro...@freebsd.org) wrote: Shouldn't synchronous_dhclient be ON by default then? The way it is, DHCP is not used at all, I ended up with unreachable box which didn't get any IP already. Unless you

Re: svn commit: r190031 - head/etc/defaults

2009-04-10 Thread Brooks Davis
On Fri, Apr 10, 2009 at 12:34:04PM -0600, M. Warner Losh wrote: In message: 20090409153805.gb83...@lor.one-eyed-alien.net Brooks Davis bro...@freebsd.org writes: : Unless you have one of the few interfaces that does not generate : link status events, dhclient will be started

svn commit: r191121 - head/sbin/ifconfig

2009-04-15 Thread Brooks Davis
Author: brooks Date: Wed Apr 15 20:53:34 2009 New Revision: 191121 URL: http://svn.freebsd.org/changeset/base/191121 Log: The structs ifaliasreq and in_aliasreq have exactly the same layout and member names, but we really do mean to use in_aliasreq here. MFC after:1 week Modified:

Re: svn commit: r190031 - head/etc/defaults

2009-04-24 Thread Brooks Davis
On Sat, Apr 25, 2009 at 01:47:53AM +0400, Dmitry Marakasov wrote: * Brooks Davis (bro...@freebsd.org) wrote: So, any comments on this? Should I submit the PR? Please do submit a pr. I think we should actually change the link check for a check if there are dhcp interfaces marked up and add

svn commit: r204278 - head/sys/kern

2010-02-24 Thread Brooks Davis
Author: brooks Date: Wed Feb 24 15:52:18 2010 New Revision: 204278 URL: http://svn.freebsd.org/changeset/base/204278 Log: Don't inforce an upper bound on kern.ngroups. The INT_MAX-1 limit was too high due to several overflows. The actual limit is somewhere in the neighborhood of INT_MAX/4

svn commit: r204293 - in stable/8/sys: boot/forth compat/linux compat/svr4 i386/ibcs2 kern rpc security/audit sys

2010-02-24 Thread Brooks Davis
Author: brooks Date: Wed Feb 24 22:16:16 2010 New Revision: 204293 URL: http://svn.freebsd.org/changeset/base/204293 Log: MFC r202143,202163,202341,202342,204278 Replace the static NGROUPS=NGROUPS_MAX+1=1024 with a dynamic kern.ngroups+1. kern.ngroups can range from NGROUPS_MAX=1023

svn commit: r204671 - stable/8/lib/libc/rpc

2010-03-03 Thread Brooks Davis
Author: brooks Date: Wed Mar 3 21:47:25 2010 New Revision: 204671 URL: http://svn.freebsd.org/changeset/base/204671 Log: MFC r201959 Use the correct types to store uids and gids in the credential cache and eliminate an inappropriate use of NGROUPS. Modified:

svn commit: r204724 - in stable/8/sys: conf rpc/rpcsec_gss

2010-03-04 Thread Brooks Davis
Author: brooks Date: Thu Mar 4 19:35:22 2010 New Revision: 204724 URL: http://svn.freebsd.org/changeset/base/204724 Log: MFC r201853: Make options KGSSAPI build and add it to NOTES. rpcsec_gss_prot.c: Use kernel printf and headers. vc_rpcsec_gss.c: Use a local

svn commit: r205073 - head/share/misc

2010-03-11 Thread Brooks Davis
Author: brooks Date: Fri Mar 12 07:26:37 2010 New Revision: 205073 URL: http://svn.freebsd.org/changeset/base/205073 Log: Regen: * Hart: rev 671 of pcidevs.txt; 22-01-2008 (D-M-Y). * Boemler:vendors.txt (2010-03126) PR: kern/133733 MFC after:1 week

svn commit: r186237 - head/etc/rc.d

2008-12-17 Thread Brooks Davis
Author: brooks Date: Wed Dec 17 17:35:14 2008 New Revision: 186237 URL: http://svn.freebsd.org/changeset/base/186237 Log: Correct a bug where /etc/rc.d/defaultroute fails to finish by printing a newline when it fails to obtain an address via DHCP. This made the next rc script begin its

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

2008-12-17 Thread Brooks Davis
On Wed, Dec 17, 2008 at 09:15:21PM +0100, Ivan Voras wrote: 2008/12/17 Andrew Thompson thom...@freebsd.org: Sorry for chiming in late but should the sysctl be a string? 1,2,3 arent all that useful. I don't think it's unusual as an integer but I'm ambivalent about it - if more people

Re: svn commit: r186429 - head/sbin/mount_msdosfs

2009-01-02 Thread Brooks Davis
On Tue, Dec 23, 2008 at 01:35:27PM +, Tom Rhodes wrote: Author: trhodes Date: Tue Dec 23 13:35:26 2008 New Revision: 186429 URL: http://svn.freebsd.org/changeset/base/186429 Log: Document the -o large option. PR: 129792 Modified:

svn commit: r237141 - head

2012-06-15 Thread Brooks Davis
Author: brooks Date: Fri Jun 15 19:40:59 2012 New Revision: 237141 URL: http://svn.freebsd.org/changeset/base/237141 Log: MFP4: 212854, 212854 Add a LOCAL_LIB_DIRS variable to complement the existing LOCAL_DIRS and LOCAL_TOOL_DIRS variables. Directories in LOCAL_LIB_DIRS are built at

svn commit: r237142 - head

2012-06-15 Thread Brooks Davis
Author: brooks Date: Fri Jun 15 19:42:49 2012 New Revision: 237142 URL: http://svn.freebsd.org/changeset/base/237142 Log: Minor wording change. The previous commit message should have included: Sponsored by: DARPA, AFRL Modified: head/Makefile.inc1 Modified: head/Makefile.inc1

svn commit: r237820 - head/sys/geom

2012-06-29 Thread Brooks Davis
Author: brooks Date: Fri Jun 29 20:15:00 2012 New Revision: 237820 URL: http://svn.freebsd.org/changeset/base/237820 Log: MFP4 #212266 Fix compile on MIPS64. Sponsored by: DARPA, AFRL Modified: head/sys/geom/geom_map.c Modified: head/sys/geom/geom_map.c

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

2012-04-20 Thread Brooks Davis
Author: brooks Date: Fri Apr 20 21:37:42 2012 New Revision: 234504 URL: http://svn.freebsd.org/changeset/base/234504 Log: Enable DTrace hooks in GENERIC. Reviewed by: gnn Approved by: core (jhb, imp) Requested by: a cast of thousands MFC after:3 days Modified:

Re: svn commit: r234504 - in head/sys: amd64/conf i386/conf

2012-04-21 Thread Brooks Davis
On Sat, Apr 21, 2012 at 09:45:57AM -0400, Ryan Stone wrote: On Fri, Apr 20, 2012 at 5:37 PM, Brooks Davis bro...@freebsd.org wrote: Author: brooks Date: Fri Apr 20 21:37:42 2012 New Revision: 234504 URL: http://svn.freebsd.org/changeset/base/234504 Log: ?Enable DTrace hooks

Re: svn commit: r234504 - in head/sys: amd64/conf i386/conf

2012-05-07 Thread Brooks Davis
On Mon, May 07, 2012 at 03:05:55PM +, Bjoern A. Zeeb wrote: On 7. May 2012, at 13:53 , Ryan Stone wrote: A libthr fix went in on the 5th in r235068. I think that it was root@noinet:/usr/src # ident lib/libthr/thread/thr_sleepq.c lib/libthr/thread/thr_sleepq.c: $FreeBSD:

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

2012-05-08 Thread Brooks Davis
Author: brooks Date: Wed May 9 01:37:48 2012 New Revision: 235150 URL: http://svn.freebsd.org/changeset/base/235150 Log: The DDB_CTF has little or nothing to do with the debugger so move it next KDTRACE_HOOKS. Modified: head/sys/amd64/conf/GENERIC head/sys/i386/conf/GENERIC Modified:

svn commit: r241969 - stable/8/share/mk

2012-10-23 Thread Brooks Davis
Author: brooks Date: Tue Oct 23 21:20:05 2012 New Revision: 241969 URL: http://svn.freebsd.org/changeset/base/241969 Log: MFC r228120: Allow NO_FOO to override WITH_FOO that could be specified in /etc/src.conf. This is required to override knobs (e.g. WITH_PROFILE) during buildworld

svn commit: r242624 - in head: . share/mk sys/sys

2012-11-05 Thread Brooks Davis
Author: brooks Date: Mon Nov 5 19:08:18 2012 New Revision: 242624 URL: http://svnweb.freebsd.org/changeset/base/242624 Log: After years of hard work by many FreeBSD and LLVM developers, make clang the default compiler on i386 and amd64 systems. Special thanks to:dim, ed, rdivacky

svn commit: r242626 - head

2012-11-05 Thread Brooks Davis
Author: brooks Date: Mon Nov 5 19:20:18 2012 New Revision: 242626 URL: http://svnweb.freebsd.org/changeset/base/242626 Log: Fix a minor error in the clang update note. Reported by: emaste Modified: head/UPDATING Modified: head/UPDATING

svn commit: r242629 - head/tools/build/options

2012-11-05 Thread Brooks Davis
Author: brooks Date: Mon Nov 5 21:53:23 2012 New Revision: 242629 URL: http://svnweb.freebsd.org/changeset/base/242629 Log: Add a description of WITHOUT_CLANG_IS_CC. Added: head/tools/build/options/WITHOUT_CLANG_IS_CC (contents, props changed) Added:

svn commit: r242630 - head/share/man/man5

2012-11-05 Thread Brooks Davis
Author: brooks Date: Mon Nov 5 21:55:22 2012 New Revision: 242630 URL: http://svnweb.freebsd.org/changeset/base/242630 Log: Now that WITH_CLANG_IS_CC is the default on x86 systems, document WITHOUT_CLANG_IS_CC. Modified: head/share/man/man5/src.conf.5 Modified:

svn commit: r242633 - head/share/mk

2012-11-05 Thread Brooks Davis
Author: brooks Date: Mon Nov 5 23:05:14 2012 New Revision: 242633 URL: http://svnweb.freebsd.org/changeset/base/242633 Log: Allow CC to be gcc46 or similar by matching gcc*. Don't test the value of the :M matches, either the string matches or does not. Modified:

svn commit: r244091 - head/lib/libc/locale

2012-12-10 Thread Brooks Davis
Author: brooks Date: Mon Dec 10 17:34:33 2012 New Revision: 244091 URL: http://svnweb.freebsd.org/changeset/base/244091 Log: Improve style(9) compliance of function declarations. Modified: head/lib/libc/locale/setrunelocale.c Modified: head/lib/libc/locale/setrunelocale.c

Re: svn commit: r250860 - head/gnu/usr.bin/diff

2013-05-24 Thread Brooks Davis
On Fri, May 24, 2013 at 06:06:59AM +, Antoine Brodin wrote: On Tue, May 21, 2013 at 5:28 PM, Marcel Moolenaar mar...@freebsd.org wrote: Author: marcel Date: Tue May 21 17:28:19 2013 New Revision: 250860 URL: http://svnweb.freebsd.org/changeset/base/250860 Log: Don't look for

Re: svn commit: r251113 - stable/9/usr.sbin/newsyslog

2013-05-29 Thread Brooks Davis
On Wed, May 29, 2013 at 06:37:17PM -0400, Mark Johnston wrote: I'm very sorry about this. I was going to merge r235647 first so that I wouldn't make the same mistake a second time, but I decided against it when I saw that the commit extended beyond newsyslog, and then managed to do the MFC

svn commit: r251117 - in head/sys: dev/cfi geom

2013-05-29 Thread Brooks Davis
Author: brooks Date: Thu May 30 01:19:02 2013 New Revision: 251117 URL: http://svnweb.freebsd.org/changeset/base/251117 Log: MFP4 @222836 Add support for partitioning CFI disks from FDT using geom_flashmap. Sponsored by: DARPA, AFRL Modified: head/sys/dev/cfi/cfi_disk.c

svn commit: r251118 - head/sys/dev/cfi

2013-05-29 Thread Brooks Davis
Author: brooks Date: Thu May 30 01:22:50 2013 New Revision: 251118 URL: http://svnweb.freebsd.org/changeset/base/251118 Log: MFP4 @217311 Intel and Sharp flash power on with their blocks in a locked state. Unlocked them before attempting to perform an erase or write action and relock

svn commit: r251140 - head

2013-05-30 Thread Brooks Davis
Author: brooks Date: Thu May 30 14:09:58 2013 New Revision: 251140 URL: http://svnweb.freebsd.org/changeset/base/251140 Log: Always define INSTALL_DDIR and define it such that it contains no extra / characters rather than removing them later on. This should fix release builds. PR:

svn commit: r251141 - head

2013-05-30 Thread Brooks Davis
Author: brooks Date: Thu May 30 15:25:54 2013 New Revision: 251141 URL: http://svnweb.freebsd.org/changeset/base/251141 Log: Restore (at least temporarily) SHARED=symlinks in the build includes stage of buildworld. This was accidentally included in r251140. Reported by: jhb Modified:

Re: svn commit: r251140 - head

2013-05-30 Thread Brooks Davis
On Thu, May 30, 2013 at 10:53:23AM -0400, John Baldwin wrote: On Thursday, May 30, 2013 10:09:58 am Brooks Davis wrote: Author: brooks Date: Thu May 30 14:09:58 2013 New Revision: 251140 URL: http://svnweb.freebsd.org/changeset/base/251140 Log: Always define INSTALL_DDIR

Re: svn commit: r251140 - head

2013-05-30 Thread Brooks Davis
On Thu, May 30, 2013 at 06:37:51PM +0300, Konstantin Belousov wrote: On Thu, May 30, 2013 at 10:29:33AM -0500, Brooks Davis wrote: On Thu, May 30, 2013 at 10:53:23AM -0400, John Baldwin wrote: On Thursday, May 30, 2013 10:09:58 am Brooks Davis wrote: Author: brooks Date: Thu May 30

Re: svn: stable/9: . usr.bin/xinstall

2013-06-03 Thread Brooks Davis
UTC 2012 root@pioneer:/usr/obj/usr/src91/sys/SSP-PRODUCTION9_X64 amd64 On 3/15/2013 8:19 AM, Brooks Davis wrote: Author: brooks Date: Fri Mar 15 15:19:33 2013 New Revision: 248331 URL: http://svnweb.freebsd.org/changeset/base/248331 Log: MFC all changes to install(1

svn commit: r251424 - head/usr.bin/xinstall

2013-06-05 Thread Brooks Davis
Author: brooks Date: Wed Jun 5 17:02:21 2013 New Revision: 251424 URL: http://svnweb.freebsd.org/changeset/base/251424 Log: New install flags were merged to 9-STABLE and will appear in FreeBSD-9.2. Sponsored by: DARPA, AFRL Submitted by: ru MFC after:3 days Modified:

svn commit: r251611 - stable/9/usr.bin/xinstall

2013-06-10 Thread Brooks Davis
Author: brooks Date: Mon Jun 10 23:09:45 2013 New Revision: 251611 URL: http://svnweb.freebsd.org/changeset/base/251611 Log: MFC r251424: New install flags were merged to 9-STABLE and will appear in FreeBSD-9.2. Sponsored by: DARPA, AFRL Submitted by: ru Modified:

svn commit: r251687 - stable/9/sys/sys

2013-06-13 Thread Brooks Davis
Author: brooks Date: Thu Jun 13 15:45:54 2013 New Revision: 251687 URL: http://svnweb.freebsd.org/changeset/base/251687 Log: Bump __FreeBSD_version to bound boostrapping of ctfmerge which was fixed in r249243. Modified: stable/9/sys/sys/param.h Modified: stable/9/sys/sys/param.h

svn commit: r251688 - in stable/9/usr.sbin/makefs: . compat

2013-06-13 Thread Brooks Davis
Author: brooks Date: Thu Jun 13 17:13:15 2013 New Revision: 251688 URL: http://svnweb.freebsd.org/changeset/base/251688 Log: MFC r250407: Remove duplicated copies of various NetBSD compatibility shims used by makefs and use libnetbsd, contrib/mtree, and contrib/mknod instead.

svn commit: r251689 - head

2013-06-13 Thread Brooks Davis
Author: brooks Date: Thu Jun 13 18:26:04 2013 New Revision: 251689 URL: http://svnweb.freebsd.org/changeset/base/251689 Log: Be more agressive about bootstrapping ctfmerge and ctfconvert so builds from existing releases have a chance of working properly. Sponsored by: DARPA, AFRL MFC

Re: svn commit: r251689 - head

2013-06-13 Thread Brooks Davis
On Thu, Jun 13, 2013 at 08:53:14PM +0200, Dimitry Andric wrote: On Jun 13, 2013, at 20:26, Brooks Davis bro...@freebsd.org wrote: Author: brooks Date: Thu Jun 13 18:26:04 2013 New Revision: 251689 URL: http://svnweb.freebsd.org/changeset/base/251689 Log: Be more agressive about

svn commit: r251765 - head

2013-06-14 Thread Brooks Davis
Author: brooks Date: Fri Jun 14 22:32:47 2013 New Revision: 251765 URL: http://svnweb.freebsd.org/changeset/base/251765 Log: Simplify the hierarchy target's logic. [0] Run hierarchy with WORLDTMP in the path so it works when it is invoked directly. Such use is nearly alwasy wrong but

  1   2   3   4   5   6   7   8   9   10   >