svn commit: r229926 - stable/9/release/doc/en_US.ISO8859-1/relnotes

2012-01-10 Thread Hiroki Sato
Author: hrs Date: Tue Jan 10 08:01:24 2012 New Revision: 229926 URL: http://svn.freebsd.org/changeset/base/229926 Log: Add relnotes items: machdep.disable_tsc_calibration tunable, ada(4) kern.cam.ada.write_cache sysctl, geom_map(4) added, readline(3) functions imp

Re: svn commit: r229415 - head/lib/libvgl

2012-01-10 Thread Dimitry Andric
On 2012-01-10 05:48, Eitan Adler wrote: On Mon, Jan 9, 2012 at 11:02 PM, John-Mark Gurney wrote: Last time I did benchmarking on this ~10 years ago, it was slower to use xor instead of using assignments... I'd be shocked if the compiler didn't optimize this away to an XCHG. Even with our an

Re: svn commit: r229415 - head/lib/libvgl

2012-01-10 Thread Dimitry Andric
On 2012-01-03 20:47, Pedro F. Giffuni wrote: Author: pfg Date: Tue Jan 3 19:47:32 2012 New Revision: 229415 URL: http://svn.freebsd.org/changeset/base/229415 Log: Integrate the line drawing algorithm from the book "Graphic Gems 1". http://www.graphicsgems.org/ At the time it claimed

svn commit: r229927 - in stable/9: share/man/man4 sys/amd64/conf sys/conf sys/dev/viawd sys/i386/conf sys/modules sys/modules/viawd

2012-01-10 Thread Fabien Thomas
Author: fabient Date: Tue Jan 10 08:16:28 2012 New Revision: 229927 URL: http://svn.freebsd.org/changeset/base/229927 Log: MFC r228431, r228502, r228802: Add watchdog support for VIA south bridge chipset. Tested on VT8251, VX900 but CX700, VX800, VX855 should works. Added: stable/9/share/

Re: svn commit: r229908 - head/usr.bin/brandelf

2012-01-10 Thread Pawel Jakub Dawidek
On Tue, Jan 10, 2012 at 02:58:29AM +, Eitan Adler wrote: > Author: eadler (ports committer) > Date: Tue Jan 10 02:58:29 2012 > New Revision: 229908 > URL: http://svn.freebsd.org/changeset/base/229908 > > Log: > Fix warning when compiling with gcc46: >error: variable 'verbose' set but

svn commit: r229928 - in stable/8: share/man/man4 sys/amd64/conf sys/conf sys/dev/viawd sys/i386/conf sys/modules sys/modules/viawd

2012-01-10 Thread Fabien Thomas
Author: fabient Date: Tue Jan 10 08:41:10 2012 New Revision: 229928 URL: http://svn.freebsd.org/changeset/base/229928 Log: MFC r228431, r228502, r228802: Add watchdog support for VIA south bridge chipset. Tested on VT8251, VX900 but CX700, VX800, VX855 should works. Added: stable/8/share/

Re: svn commit: r229908 - head/usr.bin/brandelf

2012-01-10 Thread Dimitry Andric
On 2012-01-10 09:21, Pawel Jakub Dawidek wrote: On Tue, Jan 10, 2012 at 02:58:29AM +, Eitan Adler wrote: Author: eadler (ports committer) Date: Tue Jan 10 02:58:29 2012 New Revision: 229908 URL: http://svn.freebsd.org/changeset/base/229908 Log: Fix warning when compiling with gcc46:

svn commit: r229929 - stable/9/sys/fs/pseudofs

2012-01-10 Thread Peter Holm
Author: pho Date: Tue Jan 10 11:41:02 2012 New Revision: 229929 URL: http://svn.freebsd.org/changeset/base/229929 Log: MFC: r227550, r227576 Handle invalid large values for getdirentries(2) data buffer size. Fix build, use %d for int value formatting. Modified: stable/9/sys/fs/pseudofs

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

2012-01-10 Thread Alexander V. Chernikov
Author: melifaro Date: Tue Jan 10 12:45:24 2012 New Revision: 229930 URL: http://svn.freebsd.org/changeset/base/229930 Log: Add setsockopt(2) example to ng_ksocket(4). While here, fix formatting a bit Approved by: kib(mentor) MFC after: 2 weeks Modified: head/share/man/man4

svn commit: r229931 - stable/9/sys/fs/nullfs

2012-01-10 Thread Konstantin Belousov
Author: kib Date: Tue Jan 10 13:34:39 2012 New Revision: 229931 URL: http://svn.freebsd.org/changeset/base/229931 Log: MFC r229428: Document the state of the lowervp vnode for null_nodeget(). MFC r229600 (by dim): Output the correct vnode pointer. Modified: stable/9/sys/fs/nullfs/nul

svn commit: r229932 - stable/9/sys/fs/nullfs

2012-01-10 Thread Konstantin Belousov
Author: kib Date: Tue Jan 10 13:41:14 2012 New Revision: 229932 URL: http://svn.freebsd.org/changeset/base/229932 Log: MFC r229431: Do the vput() for the lowervp in the null_nodeget() for error case too. Several callers of null_nodeget() did the cleanup itself, but several missed it, most

svn commit: r229933 - in head/usr.sbin/bsnmpd/tools: bsnmptools libbsnmptools

2012-01-10 Thread Shteryana Shopova
Author: syrinx Date: Tue Jan 10 15:29:03 2012 New Revision: 229933 URL: http://svn.freebsd.org/changeset/base/229933 Log: Implement an option to execute SNMP walks using GETBULK requests in bsnmpwalk(1) retrieving multiple values with a Single PDU. Reviewed by: philip@ Tested by:t

Re: svn commit: r229415 - head/lib/libvgl

2012-01-10 Thread Pedro Giffuni
Hello; --- Mar 10/1/12, Dimitry Andric ha scritto: > Data: Martedì 10 gennaio 2012, 03:07 > On 2012-01-03 20:47, Pedro F. Giffuni > wrote: > > Author: pfg > > Date: Tue Jan  3 19:47:32 2012 > > New Revision: 229415 > > URL: http://svn.freebsd.org/changeset/base/229415 > > > > Log: > >    Integr

svn commit: r229934 - head/sys/vm

2012-01-10 Thread Konstantin Belousov
Author: kib Date: Tue Jan 10 18:05:44 2012 New Revision: 229934 URL: http://svn.freebsd.org/changeset/base/229934 Log: Change the type of the paging_in_progress refcounter from u_short to u_int. With the auto-sized buffer cache on the modern machines, UFS metadata can generate more the 65535

Re: svn commit: r229415 - head/lib/libvgl

2012-01-10 Thread John-Mark Gurney
Eitan Adler wrote this message on Mon, Jan 09, 2012 at 23:48 -0500: > On Mon, Jan 9, 2012 at 11:02 PM, John-Mark Gurney wrote: > > Last time I did benchmarking on this ~10 years ago, it was slower to > > use xor instead of using assignments... > > I'd be shocked if the compiler didn't optimize th

svn commit: r229935 - stable/9/sys/conf

2012-01-10 Thread Jaakko Heinonen
Author: jh Date: Tue Jan 10 18:20:19 2012 New Revision: 229935 URL: http://svn.freebsd.org/changeset/base/229935 Log: MFC r228021: Add LINT-NOINET LINT-NOINET6 and LINT-NOIP to the make clean target. This was missed in r221353. Modified: stable/9/sys/conf/makeLINT.mk Directory Properti

svn commit: r229936 - head/lib/libutil

2012-01-10 Thread Guy Helmer
Author: ghelmer Date: Tue Jan 10 18:43:27 2012 New Revision: 229936 URL: http://svn.freebsd.org/changeset/base/229936 Log: Set the FD_CLOEXEC flag on the open pidfile file descriptor. Discussed with: pjd, des Modified: head/lib/libutil/pidfile.c Modified: head/lib/libutil/pidfile.c

Re: svn commit: r229415 - head/lib/libvgl

2012-01-10 Thread Pedro Giffuni
--- Mar 10/1/12, John-Mark Gurney ha scritto: > Eitan Adler wrote this message on > Mon, Jan 09, 2012 at 23:48 -0500: > > On Mon, Jan 9, 2012 at 11:02 PM, John-Mark Gurney > > wrote: > > > Last time I did benchmarking on this ~10 years > > > ago, it was slower to use xor instead of > > > using

svn commit: r229937 - in head/lib: libc/gen libutil

2012-01-10 Thread Guy Helmer
Author: ghelmer Date: Tue Jan 10 19:53:25 2012 New Revision: 229937 URL: http://svn.freebsd.org/changeset/base/229937 Log: Add pidfile_fileno() to obtain the file descriptor for an open pidfile. Modified: head/lib/libc/gen/getnetgrent.c head/lib/libutil/libutil.h head/lib/libutil/pidfil

svn commit: r229938 - head/lib/libc/gen

2012-01-10 Thread Guy Helmer
Author: ghelmer Date: Tue Jan 10 19:54:53 2012 New Revision: 229938 URL: http://svn.freebsd.org/changeset/base/229938 Log: Revert unintentional commit of changes to getnetgrent.c. Modified: head/lib/libc/gen/getnetgrent.c Modified: head/lib/libc/gen/getnetgrent.c

svn commit: r229939 - in head/sys/dev: e1000 ixgbe netmap

2012-01-10 Thread Luigi Rizzo
Author: luigi Date: Tue Jan 10 19:57:23 2012 New Revision: 229939 URL: http://svn.freebsd.org/changeset/base/229939 Log: small code cleanup in preparation for future modifications in the memory allocator used by netmap. No functional change, two small bug fixes: - in if_re.c add a missing

svn commit: r229940 - head/sys/dev/et

2012-01-10 Thread Pyun YongHyeon
Author: yongari Date: Tue Jan 10 20:52:02 2012 New Revision: 229940 URL: http://svn.freebsd.org/changeset/base/229940 Log: style. No functional changes. Modified: head/sys/dev/et/if_et.c Modified: head/sys/dev/et/if_et.c ===

Re: svn commit: r229667 - head/usr.sbin/daemon

2012-01-10 Thread Guy Helmer
On Jan 6, 2012, at 12:00 AM, Garrett Cooper wrote: > On Thu, Jan 5, 2012 at 6:58 PM, Doug Barton wrote: >> On 01/05/2012 14:48, Guy Helmer wrote: >>> Allow daemon(8) to run pidfile_open() before relenquishing privileges >>> so pid files can be written in /var/run when started as root. >> >>

Re: svn commit: r229936 - head/lib/libutil

2012-01-10 Thread Pawel Jakub Dawidek
On Tue, Jan 10, 2012 at 06:43:27PM +, Guy Helmer wrote: > Author: ghelmer > Date: Tue Jan 10 18:43:27 2012 > New Revision: 229936 > URL: http://svn.freebsd.org/changeset/base/229936 > > Log: > Set the FD_CLOEXEC flag on the open pidfile file descriptor. > > Discussed with: pjd, des Cou

Re: svn commit: r229936 - head/lib/libutil

2012-01-10 Thread Pawel Jakub Dawidek
On Tue, Jan 10, 2012 at 10:25:26PM +0100, Pawel Jakub Dawidek wrote: > On Tue, Jan 10, 2012 at 06:43:27PM +, Guy Helmer wrote: > > Author: ghelmer > > Date: Tue Jan 10 18:43:27 2012 > > New Revision: 229936 > > URL: http://svn.freebsd.org/changeset/base/229936 > > > > Log: > > Set the FD_CLO

svn commit: r229941 - head/lib/libutil

2012-01-10 Thread Guy Helmer
Author: ghelmer Date: Tue Jan 10 21:39:43 2012 New Revision: 229941 URL: http://svn.freebsd.org/changeset/base/229941 Log: Document that pidfile_open() now sets the FD_CLOEXEC flag on the open file descriptor, and that errors can be returned as a result of the fcntl(2) system call. Modified

Re: svn commit: r229936 - head/lib/libutil

2012-01-10 Thread Guy Helmer
On Jan 10, 2012, at 3:27 PM, Pawel Jakub Dawidek wrote: > On Tue, Jan 10, 2012 at 10:25:26PM +0100, Pawel Jakub Dawidek wrote: >> On Tue, Jan 10, 2012 at 06:43:27PM +, Guy Helmer wrote: >>> Author: ghelmer >>> Date: Tue Jan 10 18:43:27 2012 >>> New Revision: 229936 >>> URL: http://svn.freebsd.

Re: svn commit: r229937 - in head/lib: libc/gen libutil

2012-01-10 Thread Pawel Jakub Dawidek
On Tue, Jan 10, 2012 at 07:53:25PM +, Guy Helmer wrote: > Author: ghelmer > Date: Tue Jan 10 19:53:25 2012 > New Revision: 229937 > URL: http://svn.freebsd.org/changeset/base/229937 > > Log: > Add pidfile_fileno() to obtain the file descriptor for an open > pidfile. > > Modified: > head

svn commit: r229942 - head/lib/libutil

2012-01-10 Thread Guy Helmer
Author: ghelmer Date: Tue Jan 10 21:47:58 2012 New Revision: 229942 URL: http://svn.freebsd.org/changeset/base/229942 Log: Style fixes courtesy of pjd. Modified: head/lib/libutil/pidfile.3 head/lib/libutil/pidfile.c Modified: head/lib/libutil/pidfile.3 =

Re: svn commit: r229937 - in head/lib: libc/gen libutil

2012-01-10 Thread Guy Helmer
On Jan 10, 2012, at 3:42 PM, Pawel Jakub Dawidek wrote: > On Tue, Jan 10, 2012 at 07:53:25PM +, Guy Helmer wrote: >> Author: ghelmer >> Date: Tue Jan 10 19:53:25 2012 >> New Revision: 229937 >> URL: http://svn.freebsd.org/changeset/base/229937 >> >> Log: >> Add pidfile_fileno() to obtain th

Re: svn commit: r229937 - in head/lib: libc/gen libutil

2012-01-10 Thread Pawel Jakub Dawidek
On Tue, Jan 10, 2012 at 03:52:35PM -0600, Guy Helmer wrote: > > On Jan 10, 2012, at 3:42 PM, Pawel Jakub Dawidek wrote: > > > On Tue, Jan 10, 2012 at 07:53:25PM +, Guy Helmer wrote: > >> Author: ghelmer > >> Date: Tue Jan 10 19:53:25 2012 > >> New Revision: 229937 > >> URL: http://svn.freebsd

Re: svn commit: r229937 - in head/lib: libc/gen libutil

2012-01-10 Thread Pawel Jakub Dawidek
On Tue, Jan 10, 2012 at 07:53:25PM +, Guy Helmer wrote: > Author: ghelmer > Date: Tue Jan 10 19:53:25 2012 > New Revision: 229937 > URL: http://svn.freebsd.org/changeset/base/229937 > > Log: > Add pidfile_fileno() to obtain the file descriptor for an open > pidfile. > > Modified: > head

svn commit: r229943 - head/lib/libutil

2012-01-10 Thread Guy Helmer
Author: ghelmer Date: Tue Jan 10 22:22:35 2012 New Revision: 229943 URL: http://svn.freebsd.org/changeset/base/229943 Log: Add link for pidfile_fileno.3 to pidfile.3 - thanks again pjd! Modified: head/lib/libutil/Makefile Modified: head/lib/libutil/Makefile ==

svn commit: r229944 - head/sbin/hastd

2012-01-10 Thread Pawel Jakub Dawidek
Author: pjd Date: Tue Jan 10 22:24:57 2012 New Revision: 229944 URL: http://svn.freebsd.org/changeset/base/229944 Log: Don't touch pidfiles when running in foreground. Before that change we would create an empty pidfile on start and check if it changed on SIGHUP. MFC after:3 days Mod

svn commit: r229945 - in head/sbin: hastctl hastd

2012-01-10 Thread Pawel Jakub Dawidek
Author: pjd Date: Tue Jan 10 22:39:07 2012 New Revision: 229945 URL: http://svn.freebsd.org/changeset/base/229945 Log: For functions that return -1 on failure check exactly for -1 and not for any negative number. MFC after:3 days Modified: head/sbin/hastctl/hastctl.c head/sbin/ha

svn commit: r229946 - head/sbin/hastd

2012-01-10 Thread Pawel Jakub Dawidek
Author: pjd Date: Tue Jan 10 22:41:09 2012 New Revision: 229946 URL: http://svn.freebsd.org/changeset/base/229946 Log: - Fix a bug where pidfile was removed in SIGHUP when it hasn't changed in configuration file. - Log the fact that pidfile has changed. MFC after:3 days Modified:

Re: svn commit: r229945 - in head/sbin: hastctl hastd

2012-01-10 Thread Doug Barton
On 01/10/2012 14:39, Pawel Jakub Dawidek wrote: > For functions that return -1 on failure check exactly for -1 and not for > any negative number. what is the likelihood that at some point in the future the semantics for those functions will change, such that more than one negative value may be

Re: svn commit: r229945 - in head/sbin: hastctl hastd

2012-01-10 Thread Pawel Jakub Dawidek
On Tue, Jan 10, 2012 at 02:43:29PM -0800, Doug Barton wrote: > On 01/10/2012 14:39, Pawel Jakub Dawidek wrote: > > For functions that return -1 on failure check exactly for -1 and not for > > any negative number. > > what is the likelihood that at some point in the future the semantics > for t

svn commit: r229947 - head/sys/dev/netmap

2012-01-10 Thread Luigi Rizzo
Author: luigi Date: Tue Jan 10 23:02:01 2012 New Revision: 229947 URL: http://svn.freebsd.org/changeset/base/229947 Log: other simplifications in the internal interfaces to the memory allocator. Modified: head/sys/dev/netmap/netmap.c Modified: head/sys/dev/netmap/netmap.c =

Re: svn commit: r229936 - head/lib/libutil

2012-01-10 Thread Jilles Tjoelker
On Tue, Jan 10, 2012 at 06:43:27PM +, Guy Helmer wrote: > Author: ghelmer > Date: Tue Jan 10 18:43:27 2012 > New Revision: 229936 > URL: http://svn.freebsd.org/changeset/base/229936 > Log: > Set the FD_CLOEXEC flag on the open pidfile file descriptor. > Discussed with: pjd, des > Modifie

svn commit: r229948 - head/sys/net80211

2012-01-10 Thread Adrian Chadd
Author: adrian Date: Tue Jan 10 23:37:32 2012 New Revision: 229948 URL: http://svn.freebsd.org/changeset/base/229948 Log: Add in the vendor extension bit in the radiotap header. Modified: head/sys/net80211/ieee80211_radiotap.h Modified: head/sys/net80211/ieee80211_radiotap.h

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

2012-01-10 Thread Adrian Chadd
Author: adrian Date: Wed Jan 11 00:16:44 2012 New Revision: 229949 URL: http://svn.freebsd.org/changeset/base/229949 Log: style(9) changes. This shouldn't change functionality. Modified: head/sys/dev/ath/if_ath_tx.c Modified: head/sys/dev/ath/if_ath_tx.c

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

2012-01-10 Thread Adrian Chadd
Author: adrian Date: Wed Jan 11 00:18:33 2012 New Revision: 229950 URL: http://svn.freebsd.org/changeset/base/229950 Log: Re-enable the PHY radar error frames if sc_dodfs is set. This was messing up a local port of the atheros reference radar detection code; I'll fix the port instead. Mo

svn commit: r229951 - head/lib/libutil

2012-01-10 Thread Pawel Jakub Dawidek
Author: pjd Date: Wed Jan 11 00:31:04 2012 New Revision: 229951 URL: http://svn.freebsd.org/changeset/base/229951 Log: Constify arguments. Modified: head/lib/libutil/libutil.h head/lib/libutil/pidfile.c Modified: head/lib/libutil/libutil.h ==

Re: svn commit: r229908 - head/usr.bin/brandelf

2012-01-10 Thread Alexander Best
On Tue Jan 10 12, Dimitry Andric wrote: > On 2012-01-10 09:21, Pawel Jakub Dawidek wrote: > >On Tue, Jan 10, 2012 at 02:58:29AM +, Eitan Adler wrote: > >>Author: eadler (ports committer) > >>Date: Tue Jan 10 02:58:29 2012 > >>New Revision: 229908 > >>URL: http://svn.freebsd.org/changeset/base/2

Re: svn commit: r229908 - head/usr.bin/brandelf

2012-01-10 Thread Alexander Best
On Wed Jan 11 12, Alexander Best wrote: > On Tue Jan 10 12, Dimitry Andric wrote: > > On 2012-01-10 09:21, Pawel Jakub Dawidek wrote: > > >On Tue, Jan 10, 2012 at 02:58:29AM +, Eitan Adler wrote: > > >>Author: eadler (ports committer) > > >>Date: Tue Jan 10 02:58:29 2012 > > >>New Revision: 229

svn commit: r229952 - head/sys/net80211

2012-01-10 Thread Adrian Chadd
Author: adrian Date: Wed Jan 11 01:09:08 2012 New Revision: 229952 URL: http://svn.freebsd.org/changeset/base/229952 Log: Add the MCS radiotype entry. Modified: head/sys/net80211/ieee80211_radiotap.c head/sys/net80211/ieee80211_radiotap.h Modified: head/sys/net80211/ieee80211_radiotap.c ==

svn commit: r229953 - stable/9/sys/fs/nfsclient

2012-01-10 Thread Rick Macklem
Author: rmacklem Date: Wed Jan 11 01:24:35 2012 New Revision: 229953 URL: http://svn.freebsd.org/changeset/base/229953 Log: MFC: r228827 During investigation of an NFSv4 client crash reported by glebius@, jhb@ spotted that nfscl_getstateid() might modify credentials when called from nfsrpc

svn commit: r229955 - stable/8/sys/fs/nfsclient

2012-01-10 Thread Rick Macklem
Author: rmacklem Date: Wed Jan 11 01:58:49 2012 New Revision: 229955 URL: http://svn.freebsd.org/changeset/base/229955 Log: MFC: r228827 During investigation of an NFSv4 client crash reported by glebius@, jhb@ spotted that nfscl_getstateid() might modify credentials when called from nfsrpc

Re: svn commit: r229667 - head/usr.sbin/daemon

2012-01-10 Thread Garrett Cooper
On Tue, Jan 10, 2012 at 1:01 PM, Guy Helmer wrote: > On Jan 6, 2012, at 12:00 AM, Garrett Cooper wrote: > >> On Thu, Jan 5, 2012 at 6:58 PM, Doug Barton wrote: >>> On 01/05/2012 14:48, Guy Helmer wrote:   Allow daemon(8) to run pidfile_open() before relenquishing privileges   so pid fil

svn commit: r229956 - head/sys/fs/nfs

2012-01-10 Thread Rick Macklem
Author: rmacklem Date: Wed Jan 11 02:46:42 2012 New Revision: 229956 URL: http://svn.freebsd.org/changeset/base/229956 Log: jwd@ reported via email that the "CacheSize" field reported by "nfsstat -e -s" would go negative after using the "-z" option to zero out the stats. This patch fixes tha