svn commit: r245752 - in head: etc share/mk

2013-01-21 Thread Brooks Davis
Author: brooks Date: Mon Jan 21 22:40:39 2013 New Revision: 245752 URL: http://svnweb.freebsd.org/changeset/base/245752 Log: Replace all known uses of ln in the build process with appropriate install -l invocations via new INSTALL_LINK and INSTALL_SYMLINK variables. Sponsored by: DARPA,

svn commit: r245753 - head/share/info

2013-01-21 Thread Brooks Davis
Author: brooks Date: Mon Jan 21 22:54:43 2013 New Revision: 245753 URL: http://svnweb.freebsd.org/changeset/base/245753 Log: Install the template info directory with mode 644 instead of 444 to allow it to be updated by its owner without resorting to privilege. This is required by upcoming

svn commit: r245754 - head

2013-01-21 Thread Brooks Davis
Author: brooks Date: Mon Jan 21 23:12:50 2013 New Revision: 245754 URL: http://svnweb.freebsd.org/changeset/base/245754 Log: Always bootstrap nmtree if it is not available on the host. It is fairly small and it is quite annoying to get all the way through buildworld only to discover that you

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

2013-01-22 Thread Brooks Davis
Author: brooks Date: Tue Jan 22 16:23:08 2013 New Revision: 245793 URL: http://svnweb.freebsd.org/changeset/base/245793 Log: Make "install -l s[ar]" act like "ln -sfh" as intended. This fixes installation of symbolic links where the target is a link is to an existing directory. Modified:

Re: svn commit: r245752 - in head: etc share/mk

2013-01-22 Thread Brooks Davis
On Tue, Jan 22, 2013 at 05:55:31PM +, Chris Rees wrote: > On 21 January 2013 22:40, Brooks Davis wrote: > > Author: brooks > > Date: Mon Jan 21 22:40:39 2013 > > New Revision: 245752 > > URL: http://svnweb.freebsd.org/changeset/base/245752 > > > > Log

svn commit: r245818 - head/sys/dev/altera/sdcard

2013-01-22 Thread Brooks Davis
Author: brooks Date: Tue Jan 22 18:48:45 2013 New Revision: 245818 URL: http://svnweb.freebsd.org/changeset/base/245818 Log: MFP4 change 219819 Remove a duplicate computation of C_SIZE_MULT. Once is sufficient. Sponsored by: DARPA, AFRL Modified: head/sys/dev/altera/sdcard/altera_s

svn commit: r245819 - head/sys/dev/altera/sdcard

2013-01-22 Thread Brooks Davis
Author: brooks Date: Tue Jan 22 18:51:14 2013 New Revision: 245819 URL: http://svnweb.freebsd.org/changeset/base/245819 Log: MFP4 change 219820 Add a missing 0 to the mask for byte0 of C_SIZE. The previous mask (0xc) worked except that the last 0-1536K of the disk could not be access

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

2013-01-22 Thread Brooks Davis
Author: brooks Date: Tue Jan 22 18:57:51 2013 New Revision: 245821 URL: http://svnweb.freebsd.org/changeset/base/245821 Log: Remove documentation of the old -M option. Sponsored by: DARPA, AFRL Modified: head/usr.bin/xinstall/install.1 Modified: head/usr.bin/xinstall/install.1 =

svn commit: r245825 - in head: . etc

2013-01-22 Thread Brooks Davis
Author: brooks Date: Tue Jan 22 21:10:03 2013 New Revision: 245825 URL: http://svnweb.freebsd.org/changeset/base/245825 Log: Introduce a new option -DNO_ROOT that allows install and distribution targets to be run without root privilege. Information about ownership, group, flags, and suid

svn commit: r245852 - head/kerberos5/lib/libkrb5

2013-01-23 Thread Brooks Davis
Author: brooks Date: Wed Jan 23 23:49:35 2013 New Revision: 245852 URL: http://svnweb.freebsd.org/changeset/base/245852 Log: Only try to install one link at each path. Don't install verify_krb5_conf.8. It is installed in kerberos5/usr.bin/verify_krb5_conf. Modified: head/kerberos5/lib

svn commit: r245853 - head/usr.sbin

2013-01-23 Thread Brooks Davis
Author: brooks Date: Wed Jan 23 23:51:44 2013 New Revision: 245853 URL: http://svnweb.freebsd.org/changeset/base/245853 Log: manctl is conditionally added to SUBDIRS later on. Don't unconditionally include in the main list. Modified: head/usr.sbin/Makefile Modified: head/usr.sbin/Makefile

svn commit: r245854 - head/lib/libarchive

2013-01-23 Thread Brooks Davis
Author: brooks Date: Wed Jan 23 23:53:26 2013 New Revision: 245854 URL: http://svnweb.freebsd.org/changeset/base/245854 Log: Remove several MLINKS that were listed twice. Modified: head/lib/libarchive/Makefile Modified: head/lib/libarchive/Makefile ===

svn commit: r245882 - head/gnu/usr.bin/cc/c++

2013-01-24 Thread Brooks Davis
Author: brooks Date: Thu Jan 24 15:18:41 2013 New Revision: 245882 URL: http://svnweb.freebsd.org/changeset/base/245882 Log: Reorder so that NO_MAN is declared before bsd.own.mk is included and thus has an effect (not installed a g++.1 manpage over the g++.1(.gz) link created in ../cc). Mod

svn commit: r245885 - head/share/mk

2013-01-24 Thread Brooks Davis
Author: brooks Date: Thu Jan 24 15:55:24 2013 New Revision: 245885 URL: http://svnweb.freebsd.org/changeset/base/245885 Log: Don't declare an dependency on _maninstall when LIBRARIES_ONLY is set. It doesn't exist. Modified: head/share/mk/bsd.lib.mk Modified: head/share/mk/bsd.lib.mk ==

svn commit: r245886 - head/include/arpa

2013-01-24 Thread Brooks Davis
Author: brooks Date: Thu Jan 24 16:28:37 2013 New Revision: 245886 URL: http://svnweb.freebsd.org/changeset/base/245886 Log: Don't install telnet.h if it will be installed by libtelnet. Modified: head/include/arpa/Makefile Modified: head/include/arpa/Makefile

svn commit: r245887 - in head/lib/ncurses: form menu ncurses panel

2013-01-24 Thread Brooks Davis
Author: brooks Date: Thu Jan 24 16:38:47 2013 New Revision: 245887 URL: http://svnweb.freebsd.org/changeset/base/245887 Log: Only install manpages and html documentation in the ncurses/*w (wchar) builds so that it is only installed once. This is consistent with the existing decision to only

svn commit: r245888 - head/usr.bin/ee

2013-01-24 Thread Brooks Davis
Author: brooks Date: Thu Jan 24 16:53:35 2013 New Revision: 245888 URL: http://svnweb.freebsd.org/changeset/base/245888 Log: Install the NLS catalog in the C directory rather than en_US.US-ASCII which is a link to C. This allow the makefs mtree manifest mode to find the file. Modified: h

svn commit: r245889 - in head/share: monetdef msgdef numericdef

2013-01-24 Thread Brooks Davis
Author: brooks Date: Thu Jan 24 17:00:11 2013 New Revision: 245889 URL: http://svnweb.freebsd.org/changeset/base/245889 Log: Don't link two different things to the same paths. As tiebreaker I've picked the link that was installed last so as to not change the behavior. The one exception is s

svn commit: r245890 - head

2013-01-24 Thread Brooks Davis
Author: brooks Date: Thu Jan 24 17:12:02 2013 New Revision: 245890 URL: http://svnweb.freebsd.org/changeset/base/245890 Log: Strip any trailing slash off of the -D argument to install to support the rather fragile destdir stripping in the metalog. Modified: head/Makefile.inc1 Modified: hea

svn commit: r245893 - head/tools

2013-01-24 Thread Brooks Davis
Author: brooks Date: Thu Jan 24 20:47:37 2013 New Revision: 245893 URL: http://svnweb.freebsd.org/changeset/base/245893 Log: Use = not == in test arguments. Submitted by: Christoph Mallon Modified: head/tools/install.sh Modified: head/tools/install.sh ==

svn commit: r245911 - head/include/arpa

2013-01-25 Thread Brooks Davis
Author: brooks Date: Fri Jan 25 17:40:10 2013 New Revision: 245911 URL: http://svnweb.freebsd.org/changeset/base/245911 Log: MK_* variable should be compared to "no" not "NO". Submitted by: "b.f." Modified: head/include/arpa/Makefile Modified: head/include/arpa/Makefile ===

svn commit: r246083 - head/bin/cat

2013-01-29 Thread Brooks Davis
Author: brooks Date: Tue Jan 29 18:19:40 2013 New Revision: 246083 URL: http://svnweb.freebsd.org/changeset/base/246083 Log: Add -l option to cat(1). This option causes cat(1) to use fcntl(2) to set an exclusive advisory lock on stdout. This will be used to guarantee orderly writing to META

svn commit: r246084 - head/sys/sys

2013-01-29 Thread Brooks Davis
Author: brooks Date: Tue Jan 29 18:22:38 2013 New Revision: 246084 URL: http://svnweb.freebsd.org/changeset/base/246084 Log: Bump __FreeBSD_version for cat -l (soon to be a bootstrap tool). Modified: head/sys/sys/param.h Modified: head/sys/sys/param.h

svn commit: r246092 - head

2013-01-29 Thread Brooks Davis
Author: brooks Date: Tue Jan 29 20:28:11 2013 New Revision: 246092 URL: http://svnweb.freebsd.org/changeset/base/246092 Log: Fix installworld when the host does not need to bootstrap nmtree. Reported by: lev, jmg Modified: head/Makefile.inc1 Modified: head/Makefile.inc1 ===

svn commit: r246096 - head

2013-01-29 Thread Brooks Davis
Author: brooks Date: Tue Jan 29 21:48:10 2013 New Revision: 246096 URL: http://svnweb.freebsd.org/changeset/base/246096 Log: Fix installworld when nmtree is not on the host by only adding it to ITOOLS when we will be using the host copy. Fix installkernel when -DNO_ROOT is set. Modified:

svn commit: r246097 - in head: . etc

2013-01-29 Thread Brooks Davis
Author: brooks Date: Tue Jan 29 22:17:58 2013 New Revision: 246097 URL: http://svnweb.freebsd.org/changeset/base/246097 Log: Log the addition of login.conf.db, passwd, pwd.db, and spwd.db via cat -l. Make cat a bootstrap tool to facilitate this. Modified: head/Makefile.inc1 head/etc/Ma

svn commit: r246127 - head/etc

2013-01-30 Thread Brooks Davis
Author: brooks Date: Wed Jan 30 17:39:43 2013 New Revision: 246127 URL: http://svnweb.freebsd.org/changeset/base/246127 Log: When adding the directory ownership to the METALOG do it by name rather than number as is done in install so as to differ binding of names to ids. Remove the -W f

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

2013-01-31 Thread Brooks Davis
Author: brooks Date: Thu Jan 31 16:04:40 2013 New Revision: 246147 URL: http://svnweb.freebsd.org/changeset/base/246147 Log: When in -U mode do avoid setting SUID bits, but do not modify the mode variable so the intended mode can be logged correctly if -M is specified. Sponsored by: DARPA

svn commit: r246602 - head

2013-02-09 Thread Brooks Davis
Author: brooks Date: Sat Feb 9 23:17:28 2013 New Revision: 246602 URL: http://svnweb.freebsd.org/changeset/base/246602 Log: Add nmtree to ITOOLS if it is installed on the host instead of keying off the BOOTSTRAPPING variable. The previous test was wrong because BOOTSTRAPPING is 0 in most c

svn commit: r246657 - head/kerberos5/libexec/digest-service

2013-02-11 Thread Brooks Davis
Author: brooks Date: Mon Feb 11 09:45:24 2013 New Revision: 246657 URL: http://svnweb.freebsd.org/changeset/base/246657 Log: Add -lheimntlm to LDADD directly. With the current binutils, symbols from libheimtlm.so are loaded because it is referenced by DT_NEEDED. This feature is not imple

Re: svn commit: r246913 - head/etc

2013-02-18 Thread Brooks Davis
On Sun, Feb 17, 2013 at 01:06:59PM +, Andrey A. Chernov wrote: > Author: ache > Date: Sun Feb 17 13:06:59 2013 > New Revision: 246913 > URL: http://svnweb.freebsd.org/changeset/base/246913 > > Log: > In 'make hierarchy' don't install /sys/sys pointing to usr/src/sys > but just /sys pointin

svn commit: r247041 - head/usr.sbin/makefs

2013-02-20 Thread Brooks Davis
Author: brooks Date: Wed Feb 20 15:18:42 2013 New Revision: 247041 URL: http://svnweb.freebsd.org/changeset/base/247041 Log: Add a -D flag that causes duplicate entries in an mtree manifest to be treated as warnings rather than errors. Reviewed by: marcel Sponsored by: DARPA, AFRL Mod

svn commit: r247042 - head/usr.sbin/makefs

2013-02-20 Thread Brooks Davis
Author: brooks Date: Wed Feb 20 15:25:40 2013 New Revision: 247042 URL: http://svnweb.freebsd.org/changeset/base/247042 Log: Fix the -N option in manifest mode by using pwcache(3). This also speeds up image creation appreciably. Reviewed by: marcel Sponsored by: DARPA, AFRL Modified:

svn commit: r247043 - head/usr.sbin/makefs

2013-02-20 Thread Brooks Davis
Author: brooks Date: Wed Feb 20 15:28:40 2013 New Revision: 247043 URL: http://svnweb.freebsd.org/changeset/base/247043 Log: Allow '.' components in manifest paths. They are always the first component of mtree -C and install -M output and are easily skipped. Reviewed by: marcel Sponso

svn commit: r247052 - head/usr.sbin/makefs

2013-02-20 Thread Brooks Davis
Author: brooks Date: Wed Feb 20 19:32:31 2013 New Revision: 247052 URL: http://svnweb.freebsd.org/changeset/base/247052 Log: Support hardlinks in manifest files by the same logic as the treewalk code. Reviewed by: marcel Sponsored by: DARPA, AFRL Modified: head/usr.sbin/makefs/makef

svn commit: r247106 - vendor/NetBSD/libc-vis/dist

2013-02-21 Thread Brooks Davis
Author: brooks Date: Thu Feb 21 17:16:04 2013 New Revision: 247106 URL: http://svnweb.freebsd.org/changeset/base/247106 Log: Vendor import of NetBSD's (un)vis(3) at 2013-02-21 Modified: vendor/NetBSD/libc-vis/dist/unvis.3 vendor/NetBSD/libc-vis/dist/unvis.c vendor/NetBSD/libc-vis/dist/vis

svn commit: r247107 - vendor/NetBSD/libc-vis/20132102

2013-02-21 Thread Brooks Davis
Author: brooks Date: Thu Feb 21 17:17:13 2013 New Revision: 247107 URL: http://svnweb.freebsd.org/changeset/base/247107 Log: Tag 2013-02-21 import of NetBSD's (un)vis(3) Added: vendor/NetBSD/libc-vis/20132102/ - copied from r247106, vendor/NetBSD/libc-vis/dist/ __

svn commit: r247128 - in vendor/NetBSD/vis: . dist

2013-02-21 Thread Brooks Davis
Author: brooks Date: Thu Feb 21 20:44:53 2013 New Revision: 247128 URL: http://svnweb.freebsd.org/changeset/base/247128 Log: Vendor import of NetBSD's vis(1) at 2013-02-21 Added: vendor/NetBSD/vis/ vendor/NetBSD/vis/FreeBSD-Upgrade vendor/NetBSD/vis/dist/ vendor/NetBSD/vis/dist/Makefile

svn commit: r247130 - vendor/NetBSD/vis/20132102

2013-02-21 Thread Brooks Davis
Author: brooks Date: Thu Feb 21 20:45:24 2013 New Revision: 247130 URL: http://svnweb.freebsd.org/changeset/base/247130 Log: Tag 2013-02-21 import of NetBSD's vis(1) Added: vendor/NetBSD/vis/20132102/ - copied from r247129, vendor/NetBSD/vis/dist/

svn commit: r247131 - in vendor/NetBSD/unvis: . dist

2013-02-21 Thread Brooks Davis
Author: brooks Date: Thu Feb 21 21:09:55 2013 New Revision: 247131 URL: http://svnweb.freebsd.org/changeset/base/247131 Log: Vendor import of NetBSD's unvis(1) at 2013-02-21 Added: vendor/NetBSD/unvis/ vendor/NetBSD/unvis/FreeBSD-Upgrade - copied, changed from r247128, vendor/NetBSD/vi

svn commit: r247132 - vendor/NetBSD/unvis/20132102

2013-02-21 Thread Brooks Davis
Author: brooks Date: Thu Feb 21 21:16:42 2013 New Revision: 247132 URL: http://svnweb.freebsd.org/changeset/base/247132 Log: Tag 2013-02-21 import of NetBSD's unvis(1) Added: vendor/NetBSD/unvis/20132102/ - copied from r247131, vendor/NetBSD/unvis/dist/ __

svn commit: r247527 - head/share/mk

2013-02-28 Thread Brooks Davis
Author: brooks Date: Fri Mar 1 03:25:43 2013 New Revision: 247527 URL: http://svnweb.freebsd.org/changeset/base/247527 Log: Provide slightly more helpful feedback when we can't figure out what compiler the user is using. PR: misc/173914 Modified: head/share/mk/bsd.compiler.m

svn commit: r239683 - head/sys/mips/conf

2012-08-25 Thread Brooks Davis
Author: brooks Date: Sat Aug 25 17:34:48 2012 New Revision: 239683 URL: http://svn.freebsd.org/changeset/base/239683 Log: Don't include syscons in the config just yet. We haven't imported the touchscreen driver yet. Modified: head/sys/mips/conf/BERI_DE4_MDROOT head/sys/mips/conf/BERI_DE4

svn commit: r239685 - in head: share/man/man4 sys/conf sys/dev/isf sys/mips/conf usr.sbin usr.sbin/isfctl

2012-08-25 Thread Brooks Davis
Author: brooks Date: Sat Aug 25 18:08:20 2012 New Revision: 239685 URL: http://svn.freebsd.org/changeset/base/239685 Log: Add isf(4), a driver for the Intel StrataFlash family of NOR flash parts. The driver attempts to support all documented parts, but has only been tested with the 512Mbi

svn commit: r239781 - head/sbin/gvinum

2012-08-28 Thread Brooks Davis
Author: brooks Date: Tue Aug 28 14:20:41 2012 New Revision: 239781 URL: http://svn.freebsd.org/changeset/base/239781 Log: Don't overwrite the global default CFLAGS when setting include paths. MFC after:3 days Modified: head/sbin/gvinum/Makefile Modified: head/sbin/gvinum/Makefile ==

Re: svn commit: r239679 - head/sys/mips/conf

2012-09-04 Thread Brooks Davis
On Tue, Sep 04, 2012 at 03:17:52PM -0400, John Baldwin wrote: > On Saturday, August 25, 2012 8:02:14 am Robert Watson wrote: > > Author: rwatson > > Date: Sat Aug 25 12:02:13 2012 > > New Revision: 239679 > > URL: http://svn.freebsd.org/changeset/base/239679 > > > > Log: > > Add reference kernel

svn commit: r240139 - head/sys/mips/conf

2012-09-05 Thread Brooks Davis
Author: brooks Date: Wed Sep 5 15:55:51 2012 New Revision: 240139 URL: http://svn.freebsd.org/changeset/base/240139 Log: Don't hardcode paths to MFS_IMAGE in the kernel config. When they don't exist they don't cause "make tinderbox" to fail. Reported by: jhb Modified: head/sys/mips/

svn commit: r240468 - in head: . share/mk sys/conf

2012-09-13 Thread Brooks Davis
Author: brooks Date: Thu Sep 13 16:00:46 2012 New Revision: 240468 URL: http://svn.freebsd.org/changeset/base/240468 Log: Introduce a new make variable COMPILER_TYPE that specifies what type of compiler is being used (currently clang or gcc). COMPILER_TYPE is set in the new bsd.compiler.mk

svn commit: r240966 - head/share/mk

2012-09-26 Thread Brooks Davis
Author: brooks Date: Wed Sep 26 17:25:15 2012 New Revision: 240966 URL: http://svn.freebsd.org/changeset/base/240966 Log: Add a COMPILER_FEATURES variable that is set in bsd.compiler.mk. When the compiler is clang add c++11 to COMPILER_FEATURES. When the compiler supports c++11, defaul

svn commit: r189759 - in head: etc etc/defaults share/man/man5

2009-03-13 Thread Brooks Davis
Author: brooks Date: Fri Mar 13 07:12:25 2009 New Revision: 189759 URL: http://svn.freebsd.org/changeset/base/189759 Log: Add support for setting the debug flags on wlan interfaces after the are created using wlandebug_ variables. Modified: head/etc/defaults/rc.conf head/etc/network.subr

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?

Re: svn commit: r200184 - stable/8/sbin/ipfw

2009-12-07 Thread Brooks Davis
On Sun, Dec 06, 2009 at 07:01:33PM +, Luigi Rizzo wrote: > Author: luigi > Date: Sun Dec 6 19:01:33 2009 > New Revision: 200184 > URL: http://svn.freebsd.org/changeset/base/200184 > > Log: > mfc r200056 > use qsort_r instead of heapsort; This seems like a move in the wrong direction.

Re: svn commit: r200184 - stable/8/sbin/ipfw

2009-12-07 Thread Brooks Davis
On Mon, Dec 07, 2009 at 02:17:44PM -0600, Brooks Davis wrote: > On Sun, Dec 06, 2009 at 07:01:33PM +, Luigi Rizzo wrote: > > Author: luigi > > Date: Sun Dec 6 19:01:33 2009 > > New Revision: 200184 > > URL: http://svn.freebsd.org/changeset/base/200184 >

svn commit: r200366 - head/lib/libkvm

2009-12-10 Thread Brooks Davis
Author: brooks Date: Thu Dec 10 21:16:16 2009 New Revision: 200366 URL: http://svn.freebsd.org/changeset/base/200366 Log: Add a missing else that negated the truncation of ki_ngroups to NGROUPS. Submitted by: Dmitry Pryanishnikov Modified: head/lib/libkvm/kvm_proc.c Modified: head/li

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

2009-12-10 Thread Brooks Davis
On Tue, Dec 01, 2009 at 02:32:35AM +0200, Dmitry Pryanishnikov wrote: > > Hello! > >> 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 >

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

2009-12-17 Thread Brooks Davis
Author: brooks Date: Fri Dec 18 06:09:43 2009 New Revision: 200662 URL: http://svn.freebsd.org/changeset/base/200662 Log: MFC r200366 Add a missing else that negated the truncation of ki_ngroups to NGROUPS. Submitted by: Dmitry Pryanishnikov Modified: stable/8/lib/libkvm/kvm_proc

Re: svn commit: r200743 - in head/usr.sbin: . service

2009-12-20 Thread Brooks Davis
On Sun, Dec 20, 2009 at 06:31:56PM +0900, Hajimu UMEMOTO wrote: > Hi, > > > On Sat, 19 Dec 2009 23:30:41 -0800 > > Doug Barton said: > > > About the value this change, I think it should be same as the values > > at boot time. I cannot imagine that someone want to restart the > > system

svn commit: r201349 - head/sys

2009-12-31 Thread Brooks Davis
Author: brooks Date: Thu Dec 31 19:40:51 2009 New Revision: 201349 URL: http://svn.freebsd.org/changeset/base/201349 Log: Ignore .glimpse_* files as generated by the glimpse target. Also ignore cscope.* files. Modified: Directory Properties: head/sys/ (props changed)

svn commit: r201350 - in head: lib/libc/sys sys/kern sys/net sys/sys tools/regression/fifo/fifo_misc usr.bin/truss

2009-12-31 Thread Brooks Davis
Author: brooks Date: Thu Dec 31 20:29:58 2009 New Revision: 201350 URL: http://svn.freebsd.org/changeset/base/201350 Log: The devices that supported EVFILT_NETDEV kqueue filters were removed in r195175. Remove all definitions, documentation, and usage. fifo_misc.c: Remove all kqu

svn commit: r201352 - head/sys/kern

2009-12-31 Thread Brooks Davis
Author: brooks Date: Thu Dec 31 20:56:28 2009 New Revision: 201352 URL: http://svn.freebsd.org/changeset/base/201352 Log: If a filter has already been added, actually return EEXIST when trying at add it again. MFC after:1 week Modified: head/sys/kern/kern_event.c Modified: head/sy

Re: svn commit: r201351 - head/sys/net

2010-01-03 Thread Brooks Davis
On Fri, Jan 01, 2010 at 06:35:33AM +0100, Max Laier wrote: > On Thursday 31 December 2009 21:47:54 John Baldwin wrote: > > On Thursday 31 December 2009 3:44:38 pm John Baldwin wrote: > > > Author: jhb > > > Date: Thu Dec 31 20:44:38 2009 > > > New Revision: 201351 > > > URL: http://svn.freebsd.org/

svn commit: r201443 - in head/sys: amd64/conf i386/conf ia64/conf pc98/conf powerpc/conf sparc64/conf sun4v/conf

2010-01-03 Thread Brooks Davis
Author: brooks Date: Sun Jan 3 20:40:54 2010 New Revision: 201443 URL: http://svn.freebsd.org/changeset/base/201443 Log: Add vlan(4) to all GENERIC kernels. MFC after:1 week Modified: head/sys/amd64/conf/GENERIC head/sys/i386/conf/GENERIC head/sys/ia64/conf/GENERIC head/sys/pc

svn commit: r201444 - head/crypto/heimdal/kcm

2010-01-03 Thread Brooks Davis
Author: brooks Date: Sun Jan 3 20:45:49 2010 New Revision: 201444 URL: http://svn.freebsd.org/changeset/base/201444 Log: The size of credential messages is limited by CMGROUP_MAX rather than NGROUPS. MFC after:1 week Modified: head/crypto/heimdal/kcm/connect.c Modified: head/cryp

svn commit: r201826 - in stable/8/sys: . cddl/contrib/opensolaris contrib/pf sys

2010-01-08 Thread Brooks Davis
Author: brooks Date: Fri Jan 8 21:27:09 2010 New Revision: 201826 URL: http://svn.freebsd.org/changeset/base/201826 Log: MFC r201349: Ignore .glimpse_* files as generated by the glimpse target. Also ignore cscope.* files. Modified: Directory Properties: stable/8/sys/ (props changed)

svn commit: r201828 - in stable/7/sys: . cddl/contrib/opensolaris contrib/pf sys

2010-01-08 Thread Brooks Davis
Author: brooks Date: Fri Jan 8 21:28:10 2010 New Revision: 201828 URL: http://svn.freebsd.org/changeset/base/201828 Log: MFC r201349: Ignore .glimpse_* files as generated by the glimpse target. Also ignore cscope.* files. Modified: Directory Properties: stable/7/sys/ (props changed)

svn commit: r201829 - in stable/6/sys: . contrib/pf sys

2010-01-08 Thread Brooks Davis
Author: brooks Date: Fri Jan 8 21:28:20 2010 New Revision: 201829 URL: http://svn.freebsd.org/changeset/base/201829 Log: MFC r201349: Ignore .glimpse_* files as generated by the glimpse target. Also ignore cscope.* files. Modified: Directory Properties: stable/6/sys/ (props changed)

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

2010-01-08 Thread Brooks Davis
Author: brooks Date: Fri Jan 8 21:58:12 2010 New Revision: 201835 URL: http://svn.freebsd.org/changeset/base/201835 Log: MFC r201352 If a filter has already been added, actually return EEXIST when trying at add it again. Modified: stable/8/sys/kern/kern_event.c Directory Propertie

svn commit: r201838 - stable/7/sys/kern

2010-01-08 Thread Brooks Davis
Author: brooks Date: Fri Jan 8 22:13:15 2010 New Revision: 201838 URL: http://svn.freebsd.org/changeset/base/201838 Log: MFC r201352 If a filter has already been added, actually return EEXIST when trying at add it again. Modified: stable/7/sys/kern/kern_event.c Directory Properties:

svn commit: r201853 - in head/sys: conf rpc/rpcsec_gss

2010-01-08 Thread Brooks Davis
Author: brooks Date: Fri Jan 8 23:26:10 2010 New Revision: 201853 URL: http://svn.freebsd.org/changeset/base/201853 Log: 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 RPCAUTH_UNIXGIDS definition f

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

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 c

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 stable/8

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 stable/7

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: stable/8/

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 fo

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) stable/8/sys/amd64/in

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 Properties

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 lim

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.

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 MFC After:1 month Modified: he

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 of

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 stable/8/sys/dev/a

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

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 outpu

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 : > > > 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 want it, I'll

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: > head/sbin/mount_msdo

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 not

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. Specifica

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. (Previou

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 creden

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

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

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

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

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

<    1   2   3   4   5   6   7   8   9   10   >