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

2013-12-20 Thread John-Mark Gurney
Author: jmg Date: Fri Dec 20 23:57:05 2013 New Revision: 259670 URL: http://svnweb.freebsd.org/changeset/base/259670 Log: document the m_getjcl function... Modified: head/share/man/man9/Makefile head/share/man/man9/mbuf.9 Modified: head/share/man/man9/Makefile =

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

2013-12-20 Thread John-Mark Gurney
Author: jmg Date: Sat Dec 21 00:15:37 2013 New Revision: 259672 URL: http://svnweb.freebsd.org/changeset/base/259672 Log: bump Dd Reminded by: gjb Modified: head/share/man/man9/mbuf.9 Modified: head/share/man/man9/mbuf.9 =

Re: svn commit: r259670 - head/share/man/man9

2013-12-20 Thread John-Mark Gurney
Glen Barber wrote this message on Fri, Dec 20, 2013 at 18:59 -0500: > On Fri, Dec 20, 2013 at 11:57:05PM +0000, John-Mark Gurney wrote: > > Author: jmg > > Date: Fri Dec 20 23:57:05 2013 > > New Revision: 259670 > > URL: http://svnweb.freebsd.org/changeset/base/259670 &

Re: svn commit: r259748 - releng/10.0/sys/arm/at91

2013-12-22 Thread John-Mark Gurney
;m anoyed by it too)... Can we solve this w/ grab? How would the console code know the other writers don't have the console grabed? Maybe by thread? -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, h

svn commit: r255866 - head/sys/fs/cd9660

2013-09-24 Thread John-Mark Gurney
Author: jmg Date: Wed Sep 25 02:48:12 2013 New Revision: 255866 URL: http://svnweb.freebsd.org/changeset/base/255866 Log: fix a bug where we access a bread buffer after we have brelse'd it... The kernel normally didn't unmap/context switch away before we accessed the buffer most of the time,

svn commit: r255867 - head/sys/fs/cd9660

2013-09-24 Thread John-Mark Gurney
Author: jmg Date: Wed Sep 25 02:49:18 2013 New Revision: 255867 URL: http://svnweb.freebsd.org/changeset/base/255867 Log: NULL stale pointers (should be a no-op as they should no longer be used)... Reviewed by: dteske Approved by: re (kib) Sponsored by: Vicor MFC after:3 days

svn commit: r255892 - head/sys/kern

2013-09-26 Thread John-Mark Gurney
Author: jmg Date: Thu Sep 26 17:55:04 2013 New Revision: 255892 URL: http://svnweb.freebsd.org/changeset/base/255892 Log: it must be the last member, not might... Reviewed by: attilio Approved by: re (delphij, gjb) Modified: head/sys/kern/kern_descrip.c Modified: head/sys/kern/kern_

svn commit: r255950 - stable/8/sys/fs/cd9660

2013-09-30 Thread John-Mark Gurney
Author: jmg Date: Mon Sep 30 17:35:48 2013 New Revision: 255950 URL: http://svnweb.freebsd.org/changeset/base/255950 Log: MFC: r255866, r255867 fix a bug where we access a bread buffer after we have brelse'd it... The kernel normally didn't unmap/context switch away before we accessed

svn commit: r255952 - stable/9/sys/fs/cd9660

2013-09-30 Thread John-Mark Gurney
Author: jmg Date: Mon Sep 30 17:57:22 2013 New Revision: 255952 URL: http://svnweb.freebsd.org/changeset/base/255952 Log: MFC: r255866, r255867 fix a bug where we access a bread buffer after we have brelse'd it... The kernel normally didn't unmap/context switch away before we accessed

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

2013-10-04 Thread John-Mark Gurney
Author: jmg Date: Fri Oct 4 17:21:01 2013 New Revision: 256053 URL: http://svnweb.freebsd.org/changeset/base/256053 Log: add aesni module to i386 and amd64 NOTES... Approved by: re (gjb) Modified: head/sys/amd64/conf/NOTES head/sys/i386/conf/NOTES Modified: head/sys/amd64/conf/NOTES

svn commit: r256114 - in head/share/man: man4 man8 man9

2013-10-07 Thread John-Mark Gurney
Author: jmg Date: Mon Oct 7 16:49:53 2013 New Revision: 256114 URL: http://svnweb.freebsd.org/changeset/base/256114 Log: add missing sections, de-Xr non-existent page, properly space punctuation.. Approved by: re (joel) MFC after:3 days Modified: head/share/man/man4/altera_avge

svn commit: r256130 - in head: lib/libutil tools/regression/lib/libutil

2013-10-07 Thread John-Mark Gurney
fied: head/lib/libutil/humanize_number.c == --- head/lib/libutil/humanize_number.c Mon Oct 7 22:03:40 2013 (r256129) +++ head/lib/libutil/humanize_number.c Mon Oct 7 22:22:57 2013 (r256130) @@ -2,6 +2,7 @@ /* * Copyright (c) 1997, 1998, 1999, 2002 The NetBSD Foundation,

svn commit: r256249 - in stable/9/share/man: man8 man9

2013-10-09 Thread John-Mark Gurney
Author: jmg Date: Thu Oct 10 01:20:18 2013 New Revision: 256249 URL: http://svnweb.freebsd.org/changeset/base/256249 Log: partial MFC of r256114: add missing sections, de-Xr non-existent page Modified: stable/9/share/man/man8/picobsd.8 stable/9/share/man/man9/firmware.9 Directory Properti

svn commit: r256773 - in head: etc/defaults etc/rc.d etc/sendmail share/man/man8

2013-10-19 Thread John-Mark Gurney
Author: jmg Date: Sat Oct 19 18:51:06 2013 New Revision: 256773 URL: http://svnweb.freebsd.org/changeset/base/256773 Log: Enable the automatic creation of a certificate (if one does not exists) and enable the usage by sendmail if sendmail is enabled. Include and document knobs to disable th

svn commit: r256982 - in stable/10: etc/defaults etc/rc.d etc/sendmail share/man/man8

2013-10-23 Thread John-Mark Gurney
Author: jmg Date: Wed Oct 23 16:55:20 2013 New Revision: 256982 URL: http://svnweb.freebsd.org/changeset/base/256982 Log: MFC r256773: Enable the automatic creation of a certificate (if one does not exists) and enable the usage by sendmail if sendmail is enabled. Reviewed by:gshapir

svn commit: r257165 - head/sbin/mdconfig

2013-10-26 Thread John-Mark Gurney
Author: jmg Date: Sat Oct 26 15:05:27 2013 New Revision: 257165 URL: http://svnweb.freebsd.org/changeset/base/257165 Log: Document that -a will output the device name when -u is not specified.. when -u is specified it is not... update the docs to say that you can use full device names w/

svn commit: r257182 - head/sbin/mdconfig

2013-10-26 Thread John-Mark Gurney
Author: jmg Date: Sat Oct 26 18:23:43 2013 New Revision: 257182 URL: http://svnweb.freebsd.org/changeset/base/257182 Log: bump date forgotten in r257165 Modified: head/sbin/mdconfig/mdconfig.8 Modified: head/sbin/mdconfig/mdconfig.8 ===

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

2013-10-31 Thread John-Mark Gurney
of this... Often the machines that doesn't support unaligned accesses also have bad DMA engines that can't do DMA to two byte boundaries forcing us to copy the packet by using bounce pages... I haven't audited AVILA to see if it has the issue, but I know that the TS-7200 port I was

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

2013-10-31 Thread John-Mark Gurney
Luigi Rizzo wrote this message on Thu, Oct 31, 2013 at 22:13 +0100: > On Thu, Oct 31, 2013 at 01:49:16PM -0700, John-Mark Gurney wrote: > > Luigi Rizzo wrote this message on Thu, Oct 31, 2013 at 21:05 +0100: > > > On Thu, Oct 31, 2013 at 01:27:25PM -0600, Ian Lepore wrote: &g

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

2013-10-31 Thread John-Mark Gurney
Luigi Rizzo wrote this message on Thu, Oct 31, 2013 at 23:41 +0100: > On Thu, Oct 31, 2013 at 03:14:57PM -0700, John-Mark Gurney wrote: > > Luigi Rizzo wrote this message on Thu, Oct 31, 2013 at 22:13 +0100: > > > On Thu, Oct 31, 2013 at 01:49:16PM -0700, John-Mark Gurney wr

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

2013-10-31 Thread John-Mark Gurney
IIRC ARM64 will > be able to do misaligned accesses with only a small performance penalty, > like x86/AMD64. LOL. Really? You really want to say that it's fine for embeded systems to loose around half their network performance because we can't make this change? Because

Re: svn commit: r257646 - head/lib/libc/string

2013-11-04 Thread John-Mark Gurney
uot; Can we add a warning that it is not safe to just simply replace strncpy with strlcpy? strncpy does something useful in that it NULs out the remaining buffer, which when coping strings from/to kernel buffers prevent information leaks, so I'd argue that strlcpy can be used incorrectly ju

Re: svn commit: r256132 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2013-11-05 Thread John-Mark Gurney
88 13 mov%dl,(%rbx) 62c26: 48 ff c3inc%rbx 62c29: ff c8 dec%eax 62c2b: 85 c0 test %eax,%eax 62c2d: 7f f1 jg

svn commit: r257757 - head/sys/crypto/aesni

2013-11-06 Thread John-Mark Gurney
Author: jmg Date: Wed Nov 6 19:14:49 2013 New Revision: 257757 URL: http://svnweb.freebsd.org/changeset/base/257757 Log: make it so that from/to can be missaligned as it can happen (the geli regression manages to do it)... We use a packed struct to coerce gcc/clang into producing unaligned

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

2012-01-09 Thread John-Mark Gurney
ohn-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe,

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 th

Re: svn commit: r245450 - in head/sys: arm/allwinner arm/conf boot/fdt/dts

2013-01-15 Thread John-Mark Gurney
John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscr

svn commit: r243048 - head/games/fortune/datfiles

2012-11-14 Thread John-Mark Gurney
Author: jmg Date: Thu Nov 15 03:22:50 2012 New Revision: 243048 URL: http://svnweb.freebsd.org/changeset/base/243048 Log: fix a couple of spelling errors... Modified: head/games/fortune/datfiles/fortunes Modified: head/games/fortune/datfiles/fortunes =

Re: svn commit: r246362 - head/games/fortune/datfiles

2013-02-05 Thread John-Mark Gurney
". Clearly you don't run fortune -o very often, or you'd be removing a lot more from the file... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."

svn commit: r247012 - in head/contrib/binutils: gas/config opcodes

2013-02-19 Thread John-Mark Gurney
Author: jmg Date: Tue Feb 19 21:35:17 2013 New Revision: 247012 URL: http://svnweb.freebsd.org/changeset/base/247012 Log: add support for AES and PCLMULQDQ instructions to binutils... Thanks to Mike Belopuhov for the pointer to the OpenBSD patch, though OpenBSD's gcc is very different tha

Re: svn commit: r247012 - in head/contrib/binutils: gas/config opcodes

2013-02-20 Thread John-Mark Gurney
John Baldwin wrote this message on Wed, Feb 20, 2013 at 08:09 -0500: > On Tuesday, February 19, 2013 4:35:17 pm John-Mark Gurney wrote: > > Author: jmg > > Date: Tue Feb 19 21:35:17 2013 > > New Revision: 247012 > > URL: http://svnweb.freebsd.org/changeset/base/247

svn commit: r247117 - head/contrib/binutils/opcodes

2013-02-21 Thread John-Mark Gurney
Author: jmg Date: Thu Feb 21 19:13:19 2013 New Revision: 247117 URL: http://svnweb.freebsd.org/changeset/base/247117 Log: reorder so all the flags are together and make the PCLMUL flag unique.. This fixes the problem on amd64 miscompiling mpboot.s causing boot issues... We are still usin

svn commit: r247337 - head/lib/libkiconv

2013-02-26 Thread John-Mark Gurney
Author: jmg Date: Tue Feb 26 19:46:02 2013 New Revision: 247337 URL: http://svnweb.freebsd.org/changeset/base/247337 Log: no one bothered to write the iconv.9 man page... If it appears we can readd the xref... MFC: 1 week Modified: head/lib/libkiconv/kiconv.3 Modified: head/lib/libk

svn commit: r247414 - head/tools/test/iconv/tablegen

2013-02-27 Thread John-Mark Gurney
Author: jmg Date: Wed Feb 27 19:59:58 2013 New Revision: 247414 URL: http://svnweb.freebsd.org/changeset/base/247414 Log: fix this script so we don't expand the second $FreeBSD since svn thinks the $ in $1 ends the keyword, and expands it... Modified: head/tools/test/iconv/tablegen/cmp.sh

svn commit: r240571 - head/sys/arm/ti/cpsw

2012-09-16 Thread John-Mark Gurney
Author: jmg Date: Sun Sep 16 19:42:27 2012 New Revision: 240571 URL: http://svn.freebsd.org/changeset/base/240571 Log: remove some unnecessary debugging statements, dead code and incorrect comment... Reviewed by: gnn, imp Modified: head/sys/arm/ti/cpsw/if_cpsw.c Modified: head/sys/ar

svn commit: r240572 - head/sys/arm/conf

2012-09-16 Thread John-Mark Gurney
Author: jmg Date: Sun Sep 16 19:48:48 2012 New Revision: 240572 URL: http://svn.freebsd.org/changeset/base/240572 Log: fix the kernel files to match our standard "option" format such that when commenting/uncommentting lines, horizontal spacing is maintained... Also fix some minor commen

svn commit: r212168 - head/games/fortune/datfiles

2010-09-02 Thread John-Mark Gurney
Author: jmg Date: Fri Sep 3 03:20:34 2010 New Revision: 212168 URL: http://svn.freebsd.org/changeset/base/212168 Log: fix the move so that it matches what the rest of the internet says about this game... This move also makes more sense... MFC after:1 week Modified: head/games/for

Re: svn commit: r267357 - head/sys/geom/part

2014-06-12 Thread John-Mark Gurney
e. It allows to see aliases in > the `gpart show` output. Having a lot of partition types documented can > confuse users. IMHO. :) If the user gets confused by this, they probably shouldn't be using the command, or at least reading other docs for help

svn commit: r267408 - head/sys/arm/arm

2014-06-12 Thread John-Mark Gurney
Author: jmg Date: Thu Jun 12 16:31:15 2014 New Revision: 267408 URL: http://svnweb.freebsd.org/changeset/base/267408 Log: clear the write bit... This allows my AVILA board to survive a portsnap extract, where previously it would panic.. clearly someone who knows pmap should optimize this

svn commit: r267712 - head/sys/dev/uart

2014-06-21 Thread John-Mark Gurney
Author: jmg Date: Sun Jun 22 06:54:36 2014 New Revision: 267712 URL: http://svnweb.freebsd.org/changeset/base/267712 Log: add support for MosChip MCS9922... This is found on an ExpressCard.. tested to work w/ cu talking to itself (the two ports connected via null modem cable)... Modifie

svn commit: r267715 - in head: contrib/wpa/src/utils usr.sbin/wpa/hostapd usr.sbin/wpa/hostapd_cli usr.sbin/wpa/wpa_cli usr.sbin/wpa/wpa_passphrase usr.sbin/wpa/wpa_supplicant

2014-06-22 Thread John-Mark Gurney
Author: jmg Date: Sun Jun 22 10:00:33 2014 New Revision: 267715 URL: http://svnweb.freebsd.org/changeset/base/267715 Log: convert to using pidfile... This prevents multiple wpa_supplicants running at the same time causing problems w/ wifi not working.. the patch will be submitted upstrea

Re: svn commit: r267768 - head/share/man/man9

2014-06-23 Thread John-Mark Gurney
t; Many thanks to jmg for reviewing the (previous version) of the text > and providing grammar and content fixes. And thanks to kib for writing it in the first place... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has

Re: svn commit: r267712 - head/sys/dev/uart

2014-06-23 Thread John-Mark Gurney
Marius Strobl wrote this message on Mon, Jun 23, 2014 at 15:16 +0200: > On Sun, Jun 22, 2014 at 06:54:36AM +0000, John-Mark Gurney wrote: > > Author: jmg > > Date: Sun Jun 22 06:54:36 2014 > > New Revision: 267712 > > URL: http://svnweb.freebsd.org/changeset/base/267

svn commit: r268253 - head/sys/conf

2014-07-04 Thread John-Mark Gurney
Author: jmg Date: Fri Jul 4 14:32:15 2014 New Revision: 268253 URL: http://svnweb.freebsd.org/changeset/base/268253 Log: BREAK_TO_DEBUGGER is not just serial console anymore, it controls all console's ability to enter the debugger rwatson forgot to document this when he changed it back

svn commit: r268254 - head/sys/boot/forth

2014-07-04 Thread John-Mark Gurney
Author: jmg Date: Fri Jul 4 14:49:40 2014 New Revision: 268254 URL: http://svnweb.freebsd.org/changeset/base/268254 Log: add a hit that you can enable this by default if you want... necessary if you want the keyboard break to work early in boot.. MFC after:1 week Modified: head/s

Re: svn commit: r268310 - head/libexec/rtld-elf/arm

2014-07-10 Thread John-Mark Gurney
he stack pointer */ > > bl _rtld_bind /* Call the binder */ > >+mov sp, r5 /* Restore the old stack pointer */ > > > > str r0, [r4]/* save address in GOT */ > > mov ip, r0

Re: svn commit: r268986 - head/sys/geom/uzip

2014-07-22 Thread John-Mark Gurney
, because the file corruption is seen with UFS. > > Interesting. > > I wonder if this is about time we bit the bullet and compiled up GEOM > modules in userland so we can run regression tests on things. Or add proper KASSERTs... -- John-Mark Gurney V

Re: svn commit: r272659 - in head: contrib/libpcap lib/libpcap

2014-10-06 Thread John-Mark Gurney
before merging... Specificly w/ the warning about stealing the traffic, but also include general use too... Thanks. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." ___

Re: svn commit: r273051 - head/sys/dev/isp

2014-10-14 Thread John-Mark Gurney
Will now allocate too few bytes... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/m

Re: svn commit: r273051 - head/sys/dev/isp

2014-10-14 Thread John-Mark Gurney
Warner Losh wrote this message on Tue, Oct 14, 2014 at 19:58 -0600: > On Oct 14, 2014, at 7:51 PM, John-Mark Gurney wrote: > > > Warner Losh wrote this message on Mon, Oct 13, 2014 at 16:23 +: > >> Author: imp > >> Date: Mon Oct 13 16:23:58 2014 > >&g

svn commit: r273242 - head/usr.bin/col

2014-10-17 Thread John-Mark Gurney
Author: jmg Date: Fri Oct 17 21:09:03 2014 New Revision: 273242 URL: https://svnweb.freebsd.org/changeset/base/273242 Log: Fix to col when printing half-line feeds w/ -f option... Message-Id on openbsd-tech: 20141017195810.gj...@iris.usta.de Submitted by: Ingo Schwarze Obtained from:

Re: svn commit: r273251 - in head/sys: arm/arm arm/include conf

2014-10-19 Thread John-Mark Gurney
file. The > ELFNOTE macro is based on one from the FreeBSD/ARM Xen tree [1]. > > Obtained from: Julien Grall [1] Thanks for committing! -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has

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

2014-10-21 Thread John-Mark Gurney
Author: jmg Date: Tue Oct 21 17:17:40 2014 New Revision: 273388 URL: https://svnweb.freebsd.org/changeset/base/273388 Log: spell out the arguments.. the + *offsetp does not belong w/ the type, move it outside the .Fn macro... Modified: head/share/man/man9/mbuf.9 Modified: head/share/m

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

2014-10-21 Thread John-Mark Gurney
Author: jmg Date: Tue Oct 21 17:59:27 2014 New Revision: 273392 URL: https://svnweb.freebsd.org/changeset/base/273392 Log: it is not cast to a pointer of the specified type, it is cast to the specified type... mtod(m, uint8_t) does not work, mtod(m, uint8_t *) does work.. Modified: hea

svn commit: r273454 - head/share/mk

2014-10-21 Thread John-Mark Gurney
Author: jmg Date: Wed Oct 22 06:53:55 2014 New Revision: 273454 URL: https://svnweb.freebsd.org/changeset/base/273454 Log: fix spelling of DEFAULT in comments... Modified: head/share/mk/bsd.mkopt.mk Modified: head/share/mk/bsd.mkopt.mk

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

2014-10-23 Thread John-Mark Gurney
Author: jmg Date: Thu Oct 23 17:24:50 2014 New Revision: 273550 URL: https://svnweb.freebsd.org/changeset/base/273550 Log: minor updates to make it more explicit that when using fpu_kern_thread, you don't need to use fpu_kern_enter/_leave... Reviewed by: kib Modified: head/share/man/m

svn commit: r273752 - head/lib/libnv

2014-10-27 Thread John-Mark Gurney
Author: jmg Date: Mon Oct 27 23:03:17 2014 New Revision: 273752 URL: https://svnweb.freebsd.org/changeset/base/273752 Log: fix typo, properly install a link to nv for nvlist_freev... Modified: head/lib/libnv/Makefile Modified: head/lib/libnv/Makefile =

svn commit: r273756 - in head/lib: libusb libz

2014-10-27 Thread John-Mark Gurney
Author: jmg Date: Mon Oct 27 23:43:25 2014 New Revision: 273756 URL: https://svnweb.freebsd.org/changeset/base/273756 Log: only install .pc files when we are not installing 32bit compat libs... This fixes the problem of installing the .pc files multiple times... Modified: head/lib/libusb

Re: svn commit: r273762 - head/sys/modules/dtrace/dtraceall

2014-10-27 Thread John-Mark Gurney
dtraceall, dtnfsclient, 1, 1, 1); > #endif Why not put the MODULE_DEPEND in the same #if defined block that follows? -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." ___

svn commit: r273808 - head/sys/dev/safe

2014-10-28 Thread John-Mark Gurney
Author: jmg Date: Wed Oct 29 02:23:50 2014 New Revision: 273808 URL: https://svnweb.freebsd.org/changeset/base/273808 Log: make this compile on arm... bus_size_t is not size_t, and it has different sizes on different arches... Modified: head/sys/dev/safe/safe.c Modified: head/sys/dev/safe

svn commit: r273844 - head/usr.bin/hexdump

2014-10-29 Thread John-Mark Gurney
Author: jmg Date: Thu Oct 30 06:54:25 2014 New Revision: 273844 URL: https://svnweb.freebsd.org/changeset/base/273844 Log: fix spelling of offset since that is what is used in the body... Modified: head/usr.bin/hexdump/hexdump.1 Modified: head/usr.bin/hexdump/hexdump.1 ==

Re: svn commit: r273734 - head/bin/dd

2014-10-31 Thread John-Mark Gurney
asted to uintmax_t, you'd still get UINT64_MAX... This is just how casting of signed numbers work and conversion from signed to unsigned... The bug (from 191674) is in [SU]JARG casting ptrdiff_t to intmax_t if anywhere... It should be cast to the correct intXX_t sized value i

svn commit: r273955 - in head: etc/rc.d share/man/man7

2014-11-01 Thread John-Mark Gurney
) @@ -0,0 +1,98 @@ +#!/bin/sh +# +# Copyright 2014 John-Mark Gurney +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# 1. Redistributions of source code must retain the

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

2014-11-03 Thread John-Mark Gurney
Author: jmg Date: Mon Nov 3 19:23:49 2014 New Revision: 274059 URL: https://svnweb.freebsd.org/changeset/base/274059 Log: use tab instead of spaces like the rest of the file.. Modified: head/etc/rc.d/syscons Modified: head/etc/rc.d/syscons ===

Re: svn commit: r273955 - in head: etc/rc.d share/man/man7

2014-11-03 Thread John-Mark Gurney
Brooks Davis wrote this message on Mon, Nov 03, 2014 at 19:00 +: > On Sun, Nov 02, 2014 at 12:11:26AM +0000, John-Mark Gurney wrote: > > Author: jmg > > Date: Sun Nov 2 00:11:25 2014 > > New Revision: 273955 > > URL: https://svnweb.freebsd.org/changeset/base/273955

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

2014-11-03 Thread John-Mark Gurney
Author: jmg Date: Mon Nov 3 21:03:54 2014 New Revision: 274060 URL: https://svnweb.freebsd.org/changeset/base/274060 Log: switch from spaces to tabs to match style and awk... Pointed out by: brooks Modified: head/etc/rc.d/growfs Modified: head/etc/rc.d/growfs

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

2014-11-04 Thread John-Mark Gurney
Author: jmg Date: Tue Nov 4 08:22:08 2014 New Revision: 274083 URL: https://svnweb.freebsd.org/changeset/base/274083 Log: convert .Nm to proper .Xr's... Modified: head/share/man/man4/tap.4 Modified: head/share/man/man4/tap.4 ==

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

2014-11-05 Thread John-Mark Gurney
Author: jmg Date: Thu Nov 6 07:27:14 2014 New Revision: 274164 URL: https://svnweb.freebsd.org/changeset/base/274164 Log: remove comment about the bug... I don't remeber what it was... It may be an issue w/ using awk which is in /usr (and isn't always present), or another issue... Sugg

svn commit: r266173 - head/usr.sbin/pmcannotate

2014-05-15 Thread John-Mark Gurney
Author: jmg Date: Thu May 15 18:51:01 2014 New Revision: 266173 URL: http://svnweb.freebsd.org/changeset/base/266173 Log: make a note that FNBUFF cannot overflow as long as LNBUFF is smaller.. MFC after:2 weeks Modified: head/usr.sbin/pmcannotate/pmcannotate.c Modified: head/usr.sbi

svn commit: r266425 - head/tools/tools/makeroot

2014-05-18 Thread John-Mark Gurney
Author: jmg Date: Mon May 19 04:40:02 2014 New Revision: 266425 URL: http://svnweb.freebsd.org/changeset/base/266425 Log: remove trailing white space... fix spelling of unnecessary... Modified: head/tools/tools/makeroot/makeroot.sh Modified: head/tools/tools/makeroot/makeroot.sh ===

Re: svn commit: r266349 - in head: share/mk sys/conf

2014-05-20 Thread John-Mark Gurney
I as you build on 9.x wouldn't it? Or am I just confused by your throwing in 9.x into the mix? -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."

Re: svn commit: r266349 - in head: share/mk sys/conf

2014-05-20 Thread John-Mark Gurney
Warner Losh wrote this message on Tue, May 20, 2014 at 15:16 -0600: > > On May 20, 2014, at 3:14 PM, John-Mark Gurney wrote: > > > Andrew Turner wrote this message on Sun, May 18, 2014 at 20:56 +0100: > >> On Sat, 17 May 2014 20:31:34 + (UTC) > >> Warner Los

Re: svn commit: r266481 - head/sys/x86/x86

2014-05-20 Thread John-Mark Gurney
asting the commands (make sure you have dtraceall loaded) and they worked... Page: http://www.brendangregg.com/FlameGraphs/cpuflamegraphs.html -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I ha

Re: svn commit: r266553 - head/release/scripts

2014-05-23 Thread John-Mark Gurney
ng root to build images, and if you now need to have root to chroot or chown files, then it won't be as useful for building images... Right now I'm looking at tools/tools/makeroot that allows merging of mtree files, which will allow us to easily customize the built image.. -- John-Mar

Re: svn commit: r266855 - head/sys/dev/uart

2014-05-29 Thread John-Mark Gurney
+ */ > + uart_setreg(bas, REG_IER, ns8250->ier & 0x40); > uart_barrier(bas); > uart_unlock(sc->sc_hwmtx); > } Should this be using ns8250->ier_mask instead of 0x40? It also looks like AVILA doesn't have the hints to set this like GUMSTIX does,

svn commit: r266930 - head/usr.sbin/makefs/ffs

2014-05-31 Thread John-Mark Gurney
Author: jmg Date: Sat May 31 20:26:34 2014 New Revision: 266930 URL: http://svnweb.freebsd.org/changeset/base/266930 Log: convert to using the _daddr_t types like newfs was... Put the superblock in the correct possition for UFS2... There is a bug in FFS that if we don't put it here (for U

svn commit: r266964 - head/sys/modules

2014-06-01 Thread John-Mark Gurney
Author: jmg Date: Mon Jun 2 03:27:33 2014 New Revision: 266964 URL: http://svnweb.freebsd.org/changeset/base/266964 Log: enable sound modules on arm.. This is necessary to get the uaudio module installed... Modified: head/sys/modules/Makefile Modified: head/sys/modules/Makefile =

Re: svn commit: r266972 - head/sbin/geom/class/label

2014-06-02 Thread John-Mark Gurney
also document the glabel "native" labels and explain why > there are additional nodes created for nested GEOM classes. > > Reminded by:jmg Shouldn't kern.geom.label.disk_ident.enable also be documented here? Thanks! -- John-Mark Gurney

svn commit: r266984 - head/usr.sbin/mixer

2014-06-02 Thread John-Mark Gurney
Author: jmg Date: Mon Jun 2 22:58:00 2014 New Revision: 266984 URL: http://svnweb.freebsd.org/changeset/base/266984 Log: add Xref to sound(4)... MFC after:1 week Modified: head/usr.sbin/mixer/mixer.8 Modified: head/usr.sbin/mixer/mixer.8

svn commit: r266985 - head/sys/ddb

2014-06-02 Thread John-Mark Gurney
Author: jmg Date: Mon Jun 2 23:50:19 2014 New Revision: 266985 URL: http://svnweb.freebsd.org/changeset/base/266985 Log: handle longer commands so that lines don't overflow... people who added commands forgot to check this... Modified: head/sys/ddb/db_command.c Modified: head/sys/ddb/db_

Re: svn commit: r266974 - in head/sys: dev/dc dev/fxp dev/mii dev/netmap kern net

2014-06-03 Thread John-Mark Gurney
#x27;ll jot that one down too as an action item. Don't like issues like not knowing mdoc stop you from writting one.. I know the -doc people are interested in helping, and I am too... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been d

Re: svn commit: r266985 - head/sys/ddb

2014-06-03 Thread John-Mark Gurney
Bruce Evans wrote this message on Tue, Jun 03, 2014 at 21:11 +1000: > On Mon, 2 Jun 2014, John-Mark Gurney wrote: > > >Log: > > handle longer commands so that lines don't overflow... people who added > > commands forgot to check this... > > Please fix the s

Re: svn commit: r266972 - head/sbin/geom/class/label

2014-06-03 Thread John-Mark Gurney
And since we've started adding descriptions to your sysctls, they are somewhat self documenting now, just need to know that they exist... Thanks. > On 3 June 2014 00:31, John-Mark Gurney wrote: > > Ivan Voras wrote this message on Mon, Jun 02, 2014 at 15:05 +: > >>

Re: svn commit: r267021 - in head/sys: arm/broadcom/bcm2835 arm/ti boot/fdt/dts/arm

2014-06-03 Thread John-Mark Gurney
Now the userland utilities need to do the correct slave address shifting > (but it is going to work with any i2c controller on the system). > > Discussed with: ian > MFC after: 2 weeks We should probably document this in the iicbus(4) or iic(4) man page, want to do the hon

svn commit: r267031 - head/sys/ufs/ffs

2014-06-03 Thread John-Mark Gurney
Author: jmg Date: Tue Jun 3 21:46:13 2014 New Revision: 267031 URL: http://svnweb.freebsd.org/changeset/base/267031 Log: don't check fs_flags for _FLAGS_UPDATED as it is stored in fs_old_flags.. If you had a UFS2 FS that didn't have it's super block at SBLOCK_UFS2, you'll end up corrupting

svn commit: r269529 - head/lib/libc/iconv

2014-08-04 Thread John-Mark Gurney
Author: jmg Date: Mon Aug 4 20:58:59 2014 New Revision: 269529 URL: http://svnweb.freebsd.org/changeset/base/269529 Log: add xrefs for the other functions... There should be more text in this page talking about each of these links, but at least people know about them now... MFC afte

svn commit: r269530 - head/lib/libc/iconv

2014-08-04 Thread John-Mark Gurney
Author: jmg Date: Mon Aug 4 21:12:38 2014 New Revision: 269530 URL: http://svnweb.freebsd.org/changeset/base/269530 Log: fix misordering... Obtained from:gjb MFC after:1 week Modified: head/lib/libc/iconv/iconv.3 Modified: head/lib/libc/iconv/iconv.3 =

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

2014-08-06 Thread John-Mark Gurney
Author: jmg Date: Wed Aug 6 21:16:15 2014 New Revision: 269645 URL: http://svnweb.freebsd.org/changeset/base/269645 Log: put these under bootverbose, they are only needed for debugging, not useful for the normal user durning normal runtime... Modified: head/sys/arm/xscale/ixp425/if_npe.c

svn commit: r269764 - in head/share/dtrace: . toolkit

2014-08-09 Thread John-Mark Gurney
Author: jmg Date: Sat Aug 9 20:25:17 2014 New Revision: 269764 URL: http://svnweb.freebsd.org/changeset/base/269764 Log: make the README a bit more clearer... Sort the scripts, and remove the trailing backslash... We really should install more of the toolkit scripts than just 5 of the

svn commit: r269765 - head/share/dtrace

2014-08-09 Thread John-Mark Gurney
+/*- + * Copyright 2014 John-Mark Gurney. + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + *notice

svn commit: r269828 - head

2014-08-11 Thread John-Mark Gurney
Author: jmg Date: Mon Aug 11 19:03:20 2014 New Revision: 269828 URL: http://svnweb.freebsd.org/changeset/base/269828 Log: add myself as opencrypto maintainer as I'm doing some work in the area... Note that documentation is requires for commits to what I maintain... Modified: head/MAINT

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

2014-08-13 Thread John-Mark Gurney
broken into two parts, one in the <8k sized range and the other in 128k... Thanks for adding this... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." __

Re: svn commit: r270444 - in head/sys: kern sys

2014-08-25 Thread John-Mark Gurney
that pid so you can > do different things for "gdb" vs "gcore", etc. so just checking P_TRACED from > kinfo_proc wouldn't be equivalent in functionality) But what about when you attach gdb to a running process... That doesn't magicly make the now debugged proce

Re: svn commit: r270444 - in head/sys: kern sys

2014-08-26 Thread John-Mark Gurney
John Baldwin wrote this message on Tue, Aug 26, 2014 at 15:09 -0400: > On Monday, August 25, 2014 6:30:34 pm John-Mark Gurney wrote: > > John Baldwin wrote this message on Mon, Aug 25, 2014 at 13:35 -0400: > > > On Monday, August 25, 2014 07:02:41 PM Mateusz Guzik wrote: >

svn commit: r270727 - head/tools/tools/perforce

2014-08-27 Thread John-Mark Gurney
Author: jmg Date: Wed Aug 27 18:56:12 2014 New Revision: 270727 URL: http://svnweb.freebsd.org/changeset/base/270727 Log: add scripts for generating a diff from p4... awkdiff is the script from scottl that he got from ken a long time ago... It no longer lives in his home dir, so give it

Re: svn commit: r269814 - head/sys/dev/xen/blkfront

2014-08-28 Thread John-Mark Gurney
data; > > - cm->cm_datalen = bp->bio_bcount; > > cm->cm_sector_number = (blkif_sector_t)bp->bio_pblkno; > > > > switch (bp->bio_cmd) { > > @@ -993,7 +995,7 @@ xbd_instance_create(struct xbd_softc *sc > > > > sc->xbd_disk->d_med

svn commit: r274560 - in head/sys: kern sys

2014-11-15 Thread John-Mark Gurney
Author: jmg Date: Sun Nov 16 01:18:41 2014 New Revision: 274560 URL: https://svnweb.freebsd.org/changeset/base/274560 Log: prevent doing filter ops locking for staticly compiled filter ops... This significantly reduces lock contention when adding/removing knotes on busy multi-kq system... N

svn commit: r274736 - head/libexec/fingerd

2014-11-19 Thread John-Mark Gurney
Author: jmg Date: Thu Nov 20 04:15:58 2014 New Revision: 274736 URL: https://svnweb.freebsd.org/changeset/base/274736 Log: I agree w/ tedu that this isn't a Bug.. it's like complaining that you can't use an ssh client to fetch a web page... Submitted by: tedu (via -tech) Modified: head

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

2014-11-25 Thread John-Mark Gurney
NK0, IFF_LINK1, IFF_LINK2 flag to toggle this feature > > via SIOCSIFFLAGS. And then document it in tap(4). > > Note that I semi-purposely didn't document this in tap(4). I should > have pointed that out in the commit message, sorry. When I wrote this, Can you update the

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

2014-12-03 Thread John-Mark Gurney
ing a single instruction on platforms that support it (bsfl on i386), though apparently, we haven't optimized this for all platforms... arm has a version for int, but their ffsl does the same linear search instead of just calling ffs, or at least detecting if sizeof(long) == sizeof(int) and

<    1   2   3   4   >