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

2015-07-02 Thread John-Mark Gurney
Author: jmg Date: Fri Jul 3 01:55:06 2015 New Revision: 285070 URL: https://svnweb.freebsd.org/changeset/base/285070 Log: more word smithing wrt the crd_inject field... We've already defined IV earlier, so no need to expand it a second time here... Modified: head/share/man/man9/crypto

svn commit: r285127 - head/sys/modules/aesni

2015-07-04 Thread John-Mark Gurney
Author: jmg Date: Sat Jul 4 08:16:32 2015 New Revision: 285127 URL: https://svnweb.freebsd.org/changeset/base/285127 Log: improve dependencies for this module a bit... not great, but at least gives some basics... I would add them to DPSRC, but due to the intrinsics headers, they can't be

Re: svn commit: r285160 - head/sys/conf

2015-07-05 Thread John-Mark Gurney
tional krpc | nfslockd | nfscl | nfsd > rpc/auth_unix.c optional krpc | nfslockd | nfscl | nfsd > rpc/authunix_prot.c optional krpc | nfslockd | nfscl | nfsd -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do

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

2015-07-06 Thread John-Mark Gurney
Author: jmg Date: Mon Jul 6 19:17:56 2015 New Revision: 285215 URL: https://svnweb.freebsd.org/changeset/base/285215 Log: remove _NORMAL flag which isn't suppose to be used w/ _alloc_ctx... Reviewed by: kib (a while ago) Modified: head/sys/crypto/aesni/aesni.c Modified: head/sys/crypt

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

2015-07-06 Thread John-Mark Gurney
Author: jmg Date: Mon Jul 6 19:30:29 2015 New Revision: 285216 URL: https://svnweb.freebsd.org/changeset/base/285216 Log: Fix for non-random IV's when CRD_F_IV_PRESENT and CRD_F_IV_EXPLICIT flags are not specified... This bug was introduced in r275732... This only affects IPsec ESP only

Re: svn commit: r285217 - head/usr.sbin/bhyve

2015-07-06 Thread John-Mark Gurney
unkthat.com:/a/obj/a/home/jmg/FreeBSD.svn/HEAD/sys/IPSEC amd64 # echo $TERM vt100 # stty -a | grep clocal cflags: cread cs8 -parenb -parodd hupcl clocal -cstopb -crtscts -dsrflow # reset # stty -a | grep clocal cflags: cread cs8 -parenb -parodd hupcl -cloc

Re: svn commit: r285217 - head/usr.sbin/bhyve

2015-07-06 Thread John-Mark Gurney
NG, 20140405 for the details. Ok, then we definately need to fix getty the lock clocal on 3wire... Though there is a question is why DCD isn't assert by bhyve when there is a session attached to the console... -- John-Mark Gurney Voice: +1 415 225 5579 "

Re: svn commit: r285217 - head/usr.sbin/bhyve

2015-07-07 Thread John-Mark Gurney
in to change the lock device on the console after boot if they so choose... -- 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 maili

svn commit: r285247 - head/sys/opencrypto

2015-07-07 Thread John-Mark Gurney
Author: jmg Date: Tue Jul 7 18:45:32 2015 New Revision: 285247 URL: https://svnweb.freebsd.org/changeset/base/285247 Log: we may get here w/ non-sleepable locks held, so switch to _NOWAIT when doing this memory allocation... Reviewed by: ae Modified: head/sys/opencrypto/criov.c hea

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

2015-07-07 Thread John-Mark Gurney
15:09 2015 (r285253) +++ head/sys/crypto/aesni/aesencdec.h Tue Jul 7 20:31:09 2015 (r285254) @@ -1,5 +1,6 @@ /*- * Copyright 2013 John-Mark Gurney + * Copyright 2015 Netflix, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -

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

2015-07-08 Thread John-Mark Gurney
Author: jmg Date: Wed Jul 8 19:15:29 2015 New Revision: 285289 URL: https://svnweb.freebsd.org/changeset/base/285289 Log: address an issue where consumers, like IPsec, can reuse the same session in multiple threads w/o locking.. There was a single fpu context shared per session, if multipl

svn commit: r285290 - in head/sys: amd64/amd64 i386/isa

2015-07-08 Thread John-Mark Gurney
Author: jmg Date: Wed Jul 8 19:26:36 2015 New Revision: 285290 URL: https://svnweb.freebsd.org/changeset/base/285290 Log: Now that aesni won't reuse fpu contexts (D3016), add seatbelts to the fpu code to prevent other reuse of the contexts in the future... Differential Revision:h

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

2015-07-08 Thread John-Mark Gurney
is can be properly written w/ a ; at the end... -- 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

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

2015-07-08 Thread John-Mark Gurney
Author: jmg Date: Wed Jul 8 22:46:45 2015 New Revision: 285296 URL: https://svnweb.freebsd.org/changeset/base/285296 Log: yet more documentation improvements... Many changes were made to the OCF w/o documentation... Document the new (8+ year old) device_t way of handling things, that

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

2015-07-08 Thread John-Mark Gurney
Author: jmg Date: Wed Jul 8 22:48:41 2015 New Revision: 285297 URL: https://svnweb.freebsd.org/changeset/base/285297 Log: upon further examination, it turns out that _unregister_all already provides the guarantee that no threads will be in the _newsession code.. This is provided by the CRYP

Re: svn commit: r285284 - head/lib/liblzma

2015-07-08 Thread John-Mark Gurney
e it's just a catch all for various intrinsic headers... And looking at the lzma code, the immintrin.h include could be replaced w/ an emmintrin.h and things would be fine... Though I don't see sse2 being enabled when compiling the library... -- John-Mark Gurney

svn commit: r285324 - head/lib/libmd

2015-07-09 Thread John-Mark Gurney
Author: jmg Date: Thu Jul 9 16:13:05 2015 New Revision: 285324 URL: https://svnweb.freebsd.org/changeset/base/285324 Log: increase buffer size to significantly increase performance... see: https://docs.freebsd.org/cgi/mid.cgi?20150513080342.ge37...@funkthat.com for benchmarks... Mo

svn commit: r285366 - in head: lib/libmd sys/crypto/sha2

2015-07-10 Thread John-Mark Gurney
Author: jmg Date: Sat Jul 11 03:12:34 2015 New Revision: 285366 URL: https://svnweb.freebsd.org/changeset/base/285366 Log: Complete the move that was started w/ r263218.. For some reason I didn't delete the files, so that means we need to bring the changes in r282726 to the correct files..

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

2015-07-10 Thread John-Mark Gurney
Author: jmg Date: Sat Jul 11 04:20:56 2015 New Revision: 285381 URL: https://svnweb.freebsd.org/changeset/base/285381 Log: some additional improvements to the documentation... Sponsored by: Netflix, Inc. Modified: head/share/man/man9/crypto.9 Modified: head/share/man/man9/crypto.9 =

Re: svn commit: r285336 - in head/sys: netipsec opencrypto

2015-07-11 Thread John-Mark Gurney
l must be 16... I assumed that the values of all the defines did not change... That is clearly not the case... gnn, can you please make sure that the tables in xform.c match before your change? If you think there needs to be a value changed, please run it by me.. Thanks. -- John-M

Re: svn commit: r285366 - in head: lib/libmd sys/crypto/sha2

2015-07-11 Thread John-Mark Gurney
John-Mark Gurney wrote this message on Sat, Jul 11, 2015 at 03:12 +: > Author: jmg > Date: Sat Jul 11 03:12:34 2015 > New Revision: 285366 > URL: https://svnweb.freebsd.org/changeset/base/285366 > > Log: > Complete the move that was started w/ r263218.. For some reaso

Re: svn commit: r285366 - in head: lib/libmd sys/crypto/sha2

2015-07-11 Thread John-Mark Gurney
Craig Rodrigues wrote this message on Sat, Jul 11, 2015 at 10:16 -0400: > On Sat, Jul 11, 2015 at 4:04 AM, John-Mark Gurney wrote: > > > This change breaks upgrading from 10-stable... I'm not sure why it > > In my FreeBSD 10.1-RELEASE VM, I am seeing this: > > --

Re: svn commit: r285366 - in head: lib/libmd sys/crypto/sha2

2015-07-11 Thread John-Mark Gurney
Andrew Turner wrote this message on Sat, Jul 11, 2015 at 18:06 +0100: > On Sat, 11 Jul 2015 07:29:20 -0700 > John-Mark Gurney wrote: > ... > > The closest I can see is that sha256hl.c (from mdXhl.c) is including > > "sha256.h" with double quotes, and getting the wr

Re: svn commit: r285336 - in head/sys: netipsec opencrypto

2015-07-13 Thread John-Mark Gurney
George V. Neville-Neil wrote this message on Mon, Jul 13, 2015 at 11:25 -0400: > On 11 Jul 2015, at 3:57, John-Mark Gurney wrote: > > > Matthew D. Fuller wrote this message on Fri, Jul 10, 2015 at 23:48 > > -0500: > >> On Thu, Jul 09, 2015 at 06:16:36PM + I heard

Re: svn commit: r285336 - in head/sys: netipsec opencrypto

2015-07-13 Thread John-Mark Gurney
John-Mark Gurney wrote this message on Mon, Jul 13, 2015 at 15:36 -0700: > George V. Neville-Neil wrote this message on Mon, Jul 13, 2015 at 11:25 -0400: > > On 11 Jul 2015, at 3:57, John-Mark Gurney wrote: > > > > > Matthew D. Fuller wrote this message on Fri, Jul 10, 20

svn commit: r285523 - head/sys/conf

2015-07-13 Thread John-Mark Gurney
Author: jmg Date: Tue Jul 14 05:09:58 2015 New Revision: 285523 URL: https://svnweb.freebsd.org/changeset/base/285523 Log: cryptodev is not needed for TCP_SIGNATURE... Comment that cryptodev shouldn't be used unless you know what you're doing... The various arm/mips and one powerpc c

svn commit: r285525 - head/sys/conf

2015-07-13 Thread John-Mark Gurney
Author: jmg Date: Tue Jul 14 06:34:57 2015 New Revision: 285525 URL: https://svnweb.freebsd.org/changeset/base/285525 Log: fix typos.. Submitted by: brueffer Modified: head/sys/conf/NOTES Modified: head/sys/conf/NOTES =

svn commit: r285526 - head/sys/opencrypto

2015-07-14 Thread John-Mark Gurney
Author: jmg Date: Tue Jul 14 07:45:18 2015 New Revision: 285526 URL: https://svnweb.freebsd.org/changeset/base/285526 Log: Fix XTS, and name things a bit better... Though confusing, GCM using ICM_BLOCK_LEN, but ICM does not is correct... GCM is built on ICM, but uses a function other tha

svn commit: r285595 - head/usr.bin/ministat

2015-07-14 Thread John-Mark Gurney
Author: jmg Date: Wed Jul 15 06:14:04 2015 New Revision: 285595 URL: https://svnweb.freebsd.org/changeset/base/285595 Log: fix error message... errx since errno may not be set (if we didn't parse the full field), and err and errx add their own newline at the end... Sponsored by: Netfli

svn commit: r285615 - head/sbin/newfs

2015-07-15 Thread John-Mark Gurney
Author: jmg Date: Wed Jul 15 21:35:09 2015 New Revision: 285615 URL: https://svnweb.freebsd.org/changeset/base/285615 Log: fix the docs, the number of frags per inode (NFPI) changed in r228794 to 2 from 4, but the man page didn't get updated... other minor changes to make igor happy...

svn commit: r285681 - head/sys/boot/arm/ixp425/boot2

2015-07-18 Thread John-Mark Gurney
Author: jmg Date: Sat Jul 18 20:19:51 2015 New Revision: 285681 URL: https://svnweb.freebsd.org/changeset/base/285681 Log: revert r278579, this is in a different compile environment than the kernel, and needs to be named cpu_id... Pointed out by: Berislav Purgar Modified: head/sy

svn commit: r285682 - head/sys/boot/arm/ixp425/boot2

2015-07-18 Thread John-Mark Gurney
Author: jmg Date: Sat Jul 18 20:21:25 2015 New Revision: 285682 URL: https://svnweb.freebsd.org/changeset/base/285682 Log: other fixes to make boot2 compile for IXP... Properly end the asm sections, and for some reason, main needs a prototype... If someone has a better fix, I'm all ears...

svn commit: r285683 - head/sys/boot/arm/ixp425/boot2

2015-07-18 Thread John-Mark Gurney
Author: jmg Date: Sat Jul 18 22:47:46 2015 New Revision: 285683 URL: https://svnweb.freebsd.org/changeset/base/285683 Log: move the prototype to the lib.h header.. This makes more sense, and it's an API between boot2.c and arm_init.S which calls it.. Modified: head/sys/boot/arm/ixp425/boot

Re: svn commit: r284959 - in head: . share/man/man4 share/man/man9 sys/conf sys/dev/glxsb sys/dev/hifn sys/dev/random sys/dev/rndtest sys/dev/safe sys/dev/syscons sys/dev/ubsec sys/dev/virtio/random s

2015-07-23 Thread John-Mark Gurney
of the issues that FreeBSD sees with lack of entropy at start up is more of a problem on how systems are installed and provisioned. I don't believe that we currently store any entropy from the install process, yet this is one of the best places to get it, the user is banging on ke

Re: svn commit: r285854 - head/sys/amd64/include

2015-07-24 Thread John-Mark Gurney
dant instructions for ordinary cases of interprocessor memory > + * ordering on any architecture. > + */ > #define mb()__asm __volatile("mfence;" : : : "memory") > #define wmb() __asm __volatile("sfence;" : : : "memory") > #defin

Re: svn commit: r284959 - in head: . share/man/man4 share/man/man9 sys/conf sys/dev/glxsb sys/dev/hifn sys/dev/random sys/dev/rndtest sys/dev/safe sys/dev/syscons sys/dev/ubsec sys/dev/virtio/random s

2015-07-24 Thread John-Mark Gurney
Mark R V Murray wrote this message on Fri, Jul 24, 2015 at 07:59 +0100: > > On 24 Jul 2015, at 02:25, John-Mark Gurney wrote: > > > > I would like to point out that the goal of collecting large amounts > > is starting to fall out of favor, and I happen to agree with the

Re: svn commit: r284959 - in head: . share/man/man4 share/man/man9 sys/conf sys/dev/glxsb sys/dev/hifn sys/dev/random sys/dev/rndtest sys/dev/safe sys/dev/syscons sys/dev/ubsec sys/dev/virtio/random s

2015-07-24 Thread John-Mark Gurney
Scott Long wrote this message on Fri, Jul 24, 2015 at 23:06 -0600: > > > On Jul 24, 2015, at 12:59 AM, Mark R V Murray wrote: > > > >> On 24 Jul 2015, at 02:25, John-Mark Gurney wrote: > > > >> Heck, piping in mic data to /dev/random is a good wa

Re: svn commit: r284959 - in head: . share/man/man4 share/man/man9 sys/conf sys/dev/glxsb sys/dev/hifn sys/dev/random sys/dev/rndtest sys/dev/safe sys/dev/syscons sys/dev/ubsec sys/dev/virtio/random s

2015-07-25 Thread John-Mark Gurney
or people > wanting to write their own sources and plug them into the RNG framework. Shouldn't be done in kernel, just do it from userland, by adding the following to cron: 3 * * * * rootsleep $(jot -r 1 120 1); dd if=/dev/ds

Re: svn commit: r284959 - in head: . share/man/man4 share/man/man9 sys/conf sys/dev/glxsb sys/dev/hifn sys/dev/random sys/dev/rndtest sys/dev/safe sys/dev/syscons sys/dev/ubsec sys/dev/virtio/random s

2015-07-25 Thread John-Mark Gurney
Mark R V Murray wrote this message on Sat, Jul 25, 2015 at 09:22 +0100: > > On 25 Jul 2015, at 07:26, John-Mark Gurney wrote: > > > > Once you have enough useful bits in /dev/random, you can NEVER run out > > of useful bits from /dev/random... > > > > [Well

Re: svn commit: r284959 - in head: . share/man/man4 share/man/man9 sys/conf sys/dev/glxsb sys/dev/hifn sys/dev/random sys/dev/rndtest sys/dev/safe sys/dev/syscons sys/dev/ubsec sys/dev/virtio/random s

2015-07-25 Thread John-Mark Gurney
iances/embedded gadgets, and trusted computers. Nice idea for the > desktop, but far from universal. virtual machines have things like virtio_random, most embedded gadgets have an ADC that could be used... Appliances a little more difficult, but trusted computers probably have a hardware R

Re: svn commit: r284959 - in head: . share/man/man4 share/man/man9 sys/conf sys/dev/glxsb sys/dev/hifn sys/dev/random sys/dev/rndtest sys/dev/safe sys/dev/syscons sys/dev/ubsec sys/dev/virtio/random s

2015-07-25 Thread John-Mark Gurney
Mark R V Murray wrote this message on Sat, Jul 25, 2015 at 20:24 +0100: > > On 25 Jul 2015, at 19:31, John-Mark Gurney wrote: > > > > virtual machines have things like virtio_random, most embedded gadgets > > have an ADC that could be used... Appliances a little more di

Re: svn commit: r284959 - in head: . share/man/man4 share/man/man9 sys/conf sys/dev/glxsb sys/dev/hifn sys/dev/random sys/dev/rndtest sys/dev/safe sys/dev/syscons sys/dev/ubsec sys/dev/virtio/random s

2015-07-26 Thread John-Mark Gurney
one already attached, nor will it ever be required to attach one to run FreeBSD. Also, if one is hardwired, like in many laptops, using it for randomness won't increase or decrease the likelyhood of the above happening... -- John-Mark Gurney

svn commit: r286000 - head/sys/netipsec

2015-07-29 Thread John-Mark Gurney
Author: jmg Date: Wed Jul 29 07:15:16 2015 New Revision: 286000 URL: https://svnweb.freebsd.org/changeset/base/286000 Log: RFC4868 section 2.3 requires that the output be half... This fixes problems that was introduced in r285336... I have verified that HMAC-SHA2-256 both ah only and w/ AE

Re: svn commit: r286000 - head/sys/netipsec

2015-07-29 Thread John-Mark Gurney
why and prevent their removal... At least if they were commented as to why they changed, we would have known to rework the change... > On Wed, Jul 29, 2015 at 9:15 AM, John-Mark Gurney wrote: > > > Author: jmg > > Date: Wed Jul 29 07:15:16 2015 > > New Revision: 286

Re: svn commit: r286000 - head/sys/netipsec

2015-07-29 Thread John-Mark Gurney
Ermal Lui wrote this message on Wed, Jul 29, 2015 at 19:23 +0200: > On Wed, Jul 29, 2015 at 5:40 PM, John-Mark Gurney wrote: > > > Ermal Lui wrote this message on Wed, Jul 29, 2015 at 14:53 +0200: > > > this was forgotten part on my patches merge from gnn@. > > >

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

2015-07-29 Thread John-Mark Gurney
Author: jmg Date: Wed Jul 29 23:37:15 2015 New Revision: 286049 URL: https://svnweb.freebsd.org/changeset/base/286049 Log: const'ify an arg that we don't update... Modified: head/sys/crypto/aesni/aesni.h head/sys/crypto/aesni/aesni_ghash.c Modified: head/sys/crypto/aesni/aesni.h ==

svn commit: r286100 - in head/sys: net netipsec

2015-07-30 Thread John-Mark Gurney
Author: jmg Date: Fri Jul 31 00:23:21 2015 New Revision: 286100 URL: https://svnweb.freebsd.org/changeset/base/286100 Log: Clean up this header file... use CTASSERTs now that we have them... Replace a draft w/ RFC that's over 10 years old. Note that _AALG and _EALG do not need to

svn commit: r286101 - head/sys/netipsec

2015-07-30 Thread John-Mark Gurney
Author: jmg Date: Fri Jul 31 00:31:52 2015 New Revision: 286101 URL: https://svnweb.freebsd.org/changeset/base/286101 Log: these are comparing authenticators and need to be constant time... This could be a side channel attack... Now that we have a function for this, use it... jmgurney/

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

2015-07-30 Thread John-Mark Gurney
Author: jmg Date: Fri Jul 31 03:28:02 2015 New Revision: 286103 URL: https://svnweb.freebsd.org/changeset/base/286103 Log: The implementation note isn't true anymore.. Not that anyone reads it, but those that do, remind them that this isn't usable in userland... I can't wait till this do

Re: svn commit: r286100 - in head/sys: net netipsec

2015-07-30 Thread John-Mark Gurney
ot w/ clang anymore... _Static_assert is now a built-in.. And we have a few CTASSERTs in header files already... -- 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: r286103 - head/share/man/man9

2015-07-31 Thread John-Mark Gurney
Bruce Evans wrote this message on Fri, Jul 31, 2015 at 16:21 +1000: > On Fri, 31 Jul 2015, John-Mark Gurney wrote: > > > Log: > > The implementation note isn't true anymore.. > > > > Not that anyone reads it, but those that do, remind them that this > &

svn commit: r286110 - head/sys/net

2015-07-31 Thread John-Mark Gurney
Author: jmg Date: Fri Jul 31 07:48:08 2015 New Revision: 286110 URL: https://svnweb.freebsd.org/changeset/base/286110 Log: temporarily fix build.. This isn't the final fix, and testing is still on going, but it has passed world for mips and powerpc... I know this has an extra semicolon,

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

2015-07-31 Thread John-Mark Gurney
ld it just be in a comment? and in one section? -- 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.

Re: svn commit: r286100 - in head/sys: net netipsec

2015-07-31 Thread John-Mark Gurney
NGie Cooper wrote this message on Thu, Jul 30, 2015 at 17:41 -0700: > On Thu, Jul 30, 2015 at 5:23 PM, John-Mark Gurney wrote: > > Author: jmg > > Date: Fri Jul 31 00:23:21 2015 > > New Revision: 286100 > > URL: https://svnweb.freebsd.org/changeset/base/286100 >

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

2015-07-31 Thread John-Mark Gurney
Warner Losh wrote this message on Fri, Jul 31, 2015 at 10:37 -0600: > > > On Jul 31, 2015, at 10:31 AM, John-Mark Gurney wrote: > > > > Ed Schouten wrote this message on Fri, Jul 31, 2015 at 11:24 +0200: > >> Maybe it would make more sense to just remove this ma

svn commit: r286159 - head/usr.bin/getopt

2015-08-01 Thread John-Mark Gurney
Author: jmg Date: Sat Aug 1 17:27:47 2015 New Revision: 286159 URL: https://svnweb.freebsd.org/changeset/base/286159 Log: use : instead of true... Change file file to file1 file2, partly for igor, and partly because it's odd to pass the same file to a command twice.. Modified: head/us

svn commit: r286168 - head/sys/net

2015-08-01 Thread John-Mark Gurney
Author: jmg Date: Sun Aug 2 00:15:52 2015 New Revision: 286168 URL: https://svnweb.freebsd.org/changeset/base/286168 Log: convert to C11's _Static_assert, and pull in sys/cdefs.h for compatibility w/ older non-C11 compilers... passed make tinerdbox.. Suggested by: imp Modified: h

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

2015-08-01 Thread John-Mark Gurney
Author: jmg Date: Sun Aug 2 00:22:14 2015 New Revision: 286170 URL: https://svnweb.freebsd.org/changeset/base/286170 Log: mark this function as deprecated, and put the warning first, since I doubt most people will read to the end... Note the use of sys/cdefs.h for pre-C11 compilers...

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

2015-08-01 Thread John-Mark Gurney
Bruce Evans wrote this message on Sun, Aug 02, 2015 at 14:10 +1000: > On Sun, 2 Aug 2015, John-Mark Gurney wrote: > > > Log: > > convert to C11's _Static_assert, and pull in sys/cdefs.h for > > compatibility w/ older non-C11 compilers... > > This include

svn commit: r286213 - head/sys/net

2015-08-02 Thread John-Mark Gurney
Author: jmg Date: Sun Aug 2 21:33:40 2015 New Revision: 286213 URL: https://svnweb.freebsd.org/changeset/base/286213 Log: looks like all archs either have clang or cdefs included before.. drop this include as unnecessary.. Requested by: bde Modified: head/sys/net/pfkeyv2.h Modified:

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

2015-08-04 Thread John-Mark Gurney
s in sys/cdefs.h for all compilers, this won't introduce any complications like the C++11... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." __

svn commit: r286292 - in head/sys: netipsec opencrypto

2015-08-04 Thread John-Mark Gurney
Author: jmg Date: Tue Aug 4 17:47:11 2015 New Revision: 286292 URL: https://svnweb.freebsd.org/changeset/base/286292 Log: Make IPsec work with AES-GCM and AES-ICM (aka CTR) in OCF... IPsec defines the keys differently than NIST does, so we have to muck with key lengths and nonce/IVs to be

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

2017-03-05 Thread John-Mark Gurney
Author: jmg Date: Sun Mar 5 18:37:25 2017 New Revision: 314707 URL: https://svnweb.freebsd.org/changeset/base/314707 Log: add missing MLINKS for functions that this man page documents. This page should be renamed to eliminate an unneeded inode. Forgotten by: markm Modified: head/sh

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

2015-08-22 Thread John-Mark Gurney
Hans Petter Selasky wrote this message on Fri, Aug 21, 2015 at 08:17 +0200: > On 08/04/15 19:10, John-Mark Gurney wrote: > > Hans Petter Selasky wrote this message on Tue, Aug 04, 2015 at 12:48 +0200: > >> My gut feeling is it's good practice to have those wrapper macros &g

svn commit: r287218 - head/usr.bin/netstat

2015-08-27 Thread John-Mark Gurney
Author: jmg Date: Thu Aug 27 19:12:42 2015 New Revision: 287218 URL: https://svnweb.freebsd.org/changeset/base/287218 Log: add documentation for timers that silby added in r197244, almost 6 years ago... Modified: head/usr.bin/netstat/netstat.1 Modified: head/usr.bin/netstat/netstat.1 =

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

2015-09-01 Thread John-Mark Gurney
) for > kqueue owning the knote, the iteration step would access freed memory. > > Use SLIST_FOREACH_SAFE() to fix iteration. Please back this out immediately. I objected to this change, and you did not give me enough time to properly address this change. -- John-Mark Gurney

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

2015-09-10 Thread John-Mark Gurney
ts from > the shell, which may differ from the system startup. Why not daemon_login_class w/ the above? > That way we can setup various services to have higher openfile limits > via /etc/rc.conf entries for those services rather than having to hack > each startup script. It also means that

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

2015-09-10 Thread John-Mark Gurney
Eric van Gyzen wrote this message on Thu, Sep 10, 2015 at 14:56 -0500: > On 09/10/2015 12:53, John-Mark Gurney wrote: > > Adrian Chadd wrote this message on Thu, Sep 10, 2015 at 09:18 -0700: > >> On 10 September 2015 at 09:04, Warner Losh wrote: > >>> > >>

Re: svn commit: r283547 - head/sys/arm/conf

2015-05-25 Thread John-Mark Gurney
consoles. Just so you know, this removes support for video console to break into the debugger via keyboard... This mean ctrl-alt-esc and other key sequences won't work anymore... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will

Re: svn commit: r281103 - head/sys/amd64/amd64

2015-05-27 Thread John-Mark Gurney
es in pagecopy and pagezero to cached. > > > I ran a few (total of 12) buildworld runs after this discussion. > I finally got around to posting the results to the original bug. > > The data is here: > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199151#c3 If you r

svn commit: r283956 - head/share/man/man8

2015-06-03 Thread John-Mark Gurney
Author: jmg Date: Wed Jun 3 17:10:11 2015 New Revision: 283956 URL: https://svnweb.freebsd.org/changeset/base/283956 Log: install nanobsd.sh as a MLINK as that is the .Nm of the man page.. really the man page should be renamed as nanobsd.sh is not installed as nanobsd.. Modified: head/sh

svn commit: r283957 - head/share/man/man8

2015-06-03 Thread John-Mark Gurney
Author: jmg Date: Wed Jun 3 17:10:52 2015 New Revision: 283957 URL: https://svnweb.freebsd.org/changeset/base/283957 Log: fix missing backslash.. Modified: head/share/man/man8/Makefile Modified: head/share/man/man8/Makefile ===

Re: svn commit: r283929 - head/games/grdc

2015-06-03 Thread John-Mark Gurney
tch doesn't use strftime's %p... -- 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.freebs

Re: svn commit: r283929 - head/games/grdc

2015-06-03 Thread John-Mark Gurney
Devin Teske wrote this message on Wed, Jun 03, 2015 at 13:45 -0700: > > On Jun 3, 2015, at 12:48 PM, John-Mark Gurney wrote: > > > > Ed Maste wrote this message on Tue, Jun 02, 2015 at 20:53 +: > >> Author: emaste > >> Date: Tue Jun 2 20:53:17 2015 >

Re: svn commit: r284146 - in head/tools/bus_space: . C Python

2015-06-08 Thread John-Mark Gurney
busdma_mem_free. > > > > Nice! Is there a man page or documentation for this anywhere? > > Not yet. I want to flesh it out further before documenting. > I???m not sure the API is stable enough yet. I???m still figure > things out as I go. Please document... Even if you

svn commit: r284259 - head/sys/netipsec

2015-06-11 Thread John-Mark Gurney
Author: jmg Date: Thu Jun 11 13:05:37 2015 New Revision: 284259 URL: https://svnweb.freebsd.org/changeset/base/284259 Log: drop key_sa_stir_iv as it isn't used... Reviewed by: eri, ae Modified: head/sys/netipsec/key.c head/sys/netipsec/key.h Modified: head/sys/netipsec/key.c

svn commit: r284616 - head/sys/opencrypto

2015-06-19 Thread John-Mark Gurney
Author: jmg Date: Fri Jun 19 22:42:26 2015 New Revision: 284616 URL: https://svnweb.freebsd.org/changeset/base/284616 Log: change the KASSERT so it is meaningful, var is unsigned, so even when it wraps, it's still >= 0... Reported by: Coverity CID: 1017564 Modified: head/sy

svn commit: r284630 - head/usr.sbin/bhyve

2015-06-20 Thread John-Mark Gurney
Author: jmg Date: Sat Jun 20 07:49:08 2015 New Revision: 284630 URL: https://svnweb.freebsd.org/changeset/base/284630 Log: add SO_REUSEADDR when starting debug port, lets you still bind when a TIME_WAIT socket is still around... Reviewed by: grehan Review: https://reviews

Re: svn commit: r284683 - head/etc/etc.arm

2015-06-21 Thread John-Mark Gurney
yu2, so not available by default after the system > boots. I was about to do the same for at least ttyu1 for amd64/i386 as the RCC-VE 4860 from Netgate has the console on com2 (2f8) instead of com1(3f8)... I couldn't use the live cd part of the memstick because of this... -- John-Mark Gur

svn commit: r284733 - head/sys/kern

2015-06-23 Thread John-Mark Gurney
Author: jmg Date: Tue Jun 23 18:40:20 2015 New Revision: 284733 URL: https://svnweb.freebsd.org/changeset/base/284733 Log: zero this struct as it depends upon it... Reviewed by: mjg Differential Revision:https://reviews.freebsd.org/D2890 Modified: head/sys/kern/vfs_subr.c Mod

svn commit: r284861 - head/sys/vm

2015-06-25 Thread John-Mark Gurney
Author: jmg Date: Thu Jun 25 20:44:46 2015 New Revision: 284861 URL: https://svnweb.freebsd.org/changeset/base/284861 Log: If INVARIANTS is specified, add ctor/dtor to junk memory if they are unspecified... Submitted by: Suresh Gumpula at Netapp Differential Revision:https://rev

svn commit: r290421 - head

2015-11-05 Thread John-Mark Gurney
Author: jmg Date: Thu Nov 5 22:03:27 2015 New Revision: 290421 URL: https://svnweb.freebsd.org/changeset/base/290421 Log: I'm still maintaining these... Modified: head/MAINTAINERS Modified: head/MAINTAINERS == --- h

svn commit: r290900 - head/sbin/restore

2015-11-15 Thread John-Mark Gurney
Author: jmg Date: Mon Nov 16 01:29:58 2015 New Revision: 290900 URL: https://svnweb.freebsd.org/changeset/base/290900 Log: If you backup a large file that is mostly holes, previously we'd issue a seek for every block... For large (Exabyte sized files) this would issue lots of unneeded seeks

Re: svn commit: r290900 - head/sbin/restore

2015-11-15 Thread John-Mark Gurney
Alexey Dokuchaev wrote this message on Mon, Nov 16, 2015 at 02:08 +: > On Mon, Nov 16, 2015 at 01:29:59AM +0000, John-Mark Gurney wrote: > > New Revision: 290900 > > URL: https://svnweb.freebsd.org/changeset/base/290900 > > > > Log: > > If you backup

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

2015-09-22 Thread John-Mark Gurney
e to the use of int's for file offsets in the VOP_WRITE_(PRE|POST) > macros, kqueue write events for files greater 2GB where never fired. > > This caused tail -f on a file greater 2GB to never see updates. Could you possibly add a test for this? Thanks. -- John-Mark Gurney

Re: svn commit: r288431 - in head/sys: kern sys vm

2015-10-08 Thread John-Mark Gurney
use/accessed by multiple processes. This would be a very nasty DoS if someone just ran fadvise('libc.so', DONTNEED) in loop, and forced any future accesses of libc.so to pull from disk, over and over and over again... -- John-Mark Gurney

Re: svn commit: r289451 - head/share/zoneinfo

2015-10-17 Thread John-Mark Gurney
t.UHdcn/manifest:5725: warning: duplicate definition of 12.vi This is after an installworld/distribution to the same directory... This would be a great jenkins test IMO... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has

Re: svn commit: r289451 - head/share/zoneinfo

2015-10-17 Thread John-Mark Gurney
Bryan Drewery wrote this message on Sat, Oct 17, 2015 at 12:01 -0700: > On 10/17/15 11:53 AM, John-Mark Gurney wrote: > > Garrett Cooper wrote this message on Sat, Oct 17, 2015 at 09:26 +: > >> Author: ngie > >> Date: Sat Oct 17 09:26:16 2015 > >>

svn commit: r289492 - head/sys/sys

2015-10-18 Thread John-Mark Gurney
Author: jmg Date: Sun Oct 18 08:08:37 2015 New Revision: 289492 URL: https://svnweb.freebsd.org/changeset/base/289492 Log: page sized is not spelled 4096 on all arches... Modified: head/sys/sys/mbuf.h Modified: head/sys/sys/mbuf.h =

svn commit: r289494 - head/sys/dev/pci

2015-10-18 Thread John-Mark Gurney
Author: jmg Date: Sun Oct 18 08:13:51 2015 New Revision: 289494 URL: https://svnweb.freebsd.org/changeset/base/289494 Log: drop a bunch of white space at end of lines and end of files... -x -wb apparently doesn't hide end of file white space changes.. This is to reduce the amount of diff

Re: svn commit: r289516 - in stable/10: sbin/mdconfig sys/dev/md sys/sys

2015-10-18 Thread John-Mark Gurney
;swap"; > break; > + case MD_NULL: > + type = "null"; > + break; > default: > type = "unknown"; > break; > > Modified: stable/10/sys/sys/mdioctl.h > ==

svn commit: r351086 - head/sbin/ifconfig

2019-08-15 Thread John-Mark Gurney
Author: jmg Date: Thu Aug 15 16:58:00 2019 New Revision: 351086 URL: https://svnweb.freebsd.org/changeset/base/351086 Log: finish the pcp feature, but documenting it in the man page... Modified: head/sbin/ifconfig/ifconfig.8 Modified: head/sbin/ifconfig/ifconfig.8 ===

svn commit: r368529 - head/usr.sbin/syslogd

2020-12-10 Thread John-Mark Gurney
Author: jmg Date: Thu Dec 10 23:23:42 2020 New Revision: 368529 URL: https://svnweb.freebsd.org/changeset/base/368529 Log: fix up documentation/comments: processname is not defined, but programname is.. a couple other minor documentation fixes that igor caught... MFC after:1 week

svn commit: r364132 - head/tools/debugscripts

2020-08-11 Thread John-Mark Gurney
Author: jmg Date: Tue Aug 11 22:33:56 2020 New Revision: 364132 URL: https://svnweb.freebsd.org/changeset/base/364132 Log: since kld_deb.py was removed a while back, this script isn't useful anymore... Deleted: head/tools/debugscripts/kgdb ___ svn

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

2020-09-01 Thread John-Mark Gurney
Author: jmg Date: Tue Sep 1 20:42:48 2020 New Revision: 365062 URL: https://svnweb.freebsd.org/changeset/base/365062 Log: add Xr to device_get_sysctl(9) to make this easier to find Modified: head/share/man/man9/sysctl.9 Modified: head/share/man/man9/sysctl.9

<    1   2   3   4