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

svn commit: r368267 - in head: sbin/devfs share/man/man5

2020-12-01 Thread John-Mark Gurney
Author: jmg Date: Tue Dec 1 23:25:21 2020 New Revision: 368267 URL: https://svnweb.freebsd.org/changeset/base/368267 Log: add documentation that the rules need to be reloaded, and how to do it... MFC after:1 week Modified: head/sbin/devfs/devfs.8 head/share/man/man5/devfs.rules.5

svn commit: r367434 - head/usr.sbin/pkg

2020-11-06 Thread John-Mark Gurney
Author: jmg Date: Fri Nov 6 22:11:05 2020 New Revision: 367434 URL: https://svnweb.freebsd.org/changeset/base/367434 Log: fix up docs, if signature checking is enabled, the file MUST exist... Modified: head/usr.sbin/pkg/pkg.7 Modified: head/usr.sbin/pkg/pkg.7

svn commit: r367354 - head

2020-11-04 Thread John-Mark Gurney
Author: jmg Date: Wed Nov 4 23:26:15 2020 New Revision: 367354 URL: https://svnweb.freebsd.org/changeset/base/367354 Log: fix the docs, this was always wrong... In some cases, DISTDIR is set automatically by tools via /etc/make.conf, so remind people (me) where to find where it's set..

Re: svn commit: r367048 - head/lib/libc/sys

2020-10-26 Thread John-Mark Gurney
Cy Schubert wrote this message on Sun, Oct 25, 2020 at 18:04 -0700: > In message <202010260059.09q0xbxt003...@slippy.cwsent.com>, Cy Schubert > writes: > > In message <202010260037.09q0bvpn090...@repo.freebsd.org>, John-Mark Gurney > > wri > > tes: > >

svn commit: r367048 - head/lib/libc/sys

2020-10-25 Thread John-Mark Gurney
Author: jmg Date: Mon Oct 26 00:37:31 2020 New Revision: 367048 URL: https://svnweb.freebsd.org/changeset/base/367048 Log: update write(2)'s iovec limit w/ info about the iosize_max_clamp sysctl... Modified: head/lib/libc/sys/write.2 Modified: head/lib/libc/sys/write.2

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

2020-10-06 Thread John-Mark Gurney
Author: jmg Date: Tue Oct 6 22:53:11 2020 New Revision: 366502 URL: https://svnweb.freebsd.org/changeset/base/366502 Log: add the FILESYSTEMS placeholder and note that it's the default early_late_divider Modified: head/share/man/man8/rc.8 Modified: head/share/man/man8/rc.8

svn commit: r365738 - stable/11/sys/dev/usb/net

2020-09-14 Thread John-Mark Gurney
Author: jmg Date: Tue Sep 15 00:22:30 2020 New Revision: 365738 URL: https://svnweb.freebsd.org/changeset/base/365738 Log: MFC r365623: Don't clear reserved bits per RealTek This is a direct commit as the driver is significantly different. Modified: stable/11/sys/dev/usb/net/if_ure.c

svn commit: r365730 - stable/12/sys/dev/usb/net

2020-09-14 Thread John-Mark Gurney
Author: jmg Date: Mon Sep 14 19:39:43 2020 New Revision: 365730 URL: https://svnweb.freebsd.org/changeset/base/365730 Log: MFC r365623: Don't clear reserved bits per RealTek Modified: stable/12/sys/dev/usb/net/if_ure.c Directory Properties: stable/12/ (props changed) Modified:

svn commit: r365648 - in head/sys: dev/usb/net modules/usb/ure

2020-09-11 Thread John-Mark Gurney
Author: jmg Date: Sat Sep 12 00:33:11 2020 New Revision: 365648 URL: https://svnweb.freebsd.org/changeset/base/365648 Log: A major update to the ure driver. This update adds support for: HW VLAN tagging HW checksum offload for IPv4 and IPv6 tx and rx aggreegation (for full gige

svn commit: r365623 - head/sys/dev/usb/net

2020-09-10 Thread John-Mark Gurney
Author: jmg Date: Fri Sep 11 02:02:13 2020 New Revision: 365623 URL: https://svnweb.freebsd.org/changeset/base/365623 Log: Don't clear reserved bits per RealTek MFC after:3 days Modified: head/sys/dev/usb/net/if_ure.c Modified: head/sys/dev/usb/net/if_ure.c

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

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 commit: r363683 - in head: . share/man/man4 sys/conf sys/dev/cy sys/dev/rc sys/dev/rp sys/modules/rc sys/modules/rp

2020-07-29 Thread John-Mark Gurney
Author: jmg Date: Thu Jul 30 00:53:56 2020 New Revision: 363683 URL: https://svnweb.freebsd.org/changeset/base/363683 Log: remove some long abandonded serial drivers (cy, rc, rp) since 2008 Reviewed by: phk (earlier version) Reviewed by: emaste (earlier version) Reviewed by: bcr

svn commit: r363674 - in head/share/man/man4: . man4.aarch64 man4.i386

2020-07-29 Thread John-Mark Gurney
Author: jmg Date: Wed Jul 29 21:15:06 2020 New Revision: 363674 URL: https://svnweb.freebsd.org/changeset/base/363674 Log: add link to crypto(7) page, and drop a link to unrelated crypt(3) page.. Modified: head/share/man/man4/aesni.4 head/share/man/man4/hifn.4

svn commit: r363531 - head/sys/dev/usb/net

2020-07-25 Thread John-Mark Gurney
Author: jmg Date: Sat Jul 25 18:09:04 2020 New Revision: 363531 URL: https://svnweb.freebsd.org/changeset/base/363531 Log: clean up whitespace... Modified: head/sys/dev/usb/net/if_ure.c head/sys/dev/usb/net/if_urereg.h Modified: head/sys/dev/usb/net/if_ure.c

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

2020-07-23 Thread John-Mark Gurney
Author: jmg Date: Fri Jul 24 00:47:14 2020 New Revision: 363468 URL: https://svnweb.freebsd.org/changeset/base/363468 Log: fix up docs for m_getjcl as well.. Modified: head/share/man/man9/mbuf.9 Modified: head/share/man/man9/mbuf.9

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

2020-07-23 Thread John-Mark Gurney
Author: jmg Date: Fri Jul 24 00:35:21 2020 New Revision: 363467 URL: https://svnweb.freebsd.org/changeset/base/363467 Log: document that m_get2 only accepts up to MJUMPAGESIZE.. Modified: head/share/man/man9/mbuf.9 Modified: head/share/man/man9/mbuf.9

svn commit: r363462 - head/usr.sbin/efibootmgr

2020-07-23 Thread John-Mark Gurney
Author: jmg Date: Thu Jul 23 22:28:35 2020 New Revision: 363462 URL: https://svnweb.freebsd.org/changeset/base/363462 Log: update example to make it active when creating a new boot method... Clean up some of the sentences and grammar... make igor happy.. Modified:

svn commit: r363265 - in head/tools/tools: . man

2020-07-16 Thread John-Mark Gurney
== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/tools/tools/man/checkmlinks.sh Thu Jul 16 23:05:18 2020 (r363265) @@ -0,0 +1,35 @@ +#!/bin/sh - +# Copyright 2020 John-Mark Gurney. +# All

svn commit: r361326 - head/sys/arm/xilinx

2020-05-21 Thread John-Mark Gurney
Author: jmg Date: Thu May 21 06:40:51 2020 New Revision: 361326 URL: https://svnweb.freebsd.org/changeset/base/361326 Log: Bring in support for single core Zynq devices. Turns out that real hardware, the registers appear like there's two cores, but the second core does not work, so base

svn commit: r361325 - head/sys/arm/xilinx

2020-05-21 Thread John-Mark Gurney
Author: jmg Date: Thu May 21 06:17:54 2020 New Revision: 361325 URL: https://svnweb.freebsd.org/changeset/base/361325 Log: minor cleanup of white space, and function name in panic... This is a partial commit of the review. Submitted by: Thomas Skibo Differential Revision:

Re: svn commit: r359374 - in head: . share/man/man4 share/man/man7 share/man/man9 sys/crypto/aesni sys/crypto/armv8 sys/crypto/blake2 sys/crypto/ccp sys/crypto/via sys/dev/cesa sys/dev/cxgbe sys/dev/c

2020-04-13 Thread John-Mark Gurney
e aesni module isn't loaded would be useful.. Without the geli print, it's likely articles, like the recent Anandtech, will think FreeBSD's encrypted volumes are slow when it's just a failure for us to do the correct thing. I haven't looeked at the new code, but the resa

Re: svn commit: r359374 - in head: . share/man/man4 share/man/man7 share/man/man9 sys/crypto/aesni sys/crypto/armv8 sys/crypto/blake2 sys/crypto/ccp sys/crypto/via sys/dev/cesa sys/dev/cxgbe sys/dev/c

2020-04-12 Thread John-Mark Gurney
;. For most users "accelerated" would > mean AES-NI (dedicated crypto cards are not as common), and since most > modern CPUs have those, not being able to easily distinguish between that > and "pure software" (unaccelerated) mode is rather frustra

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

2019-10-09 Thread John-Mark Gurney
Author: jmg Date: Wed Oct 9 21:48:00 2019 New Revision: 353374 URL: https://svnweb.freebsd.org/changeset/base/353374 Log: document how to apply altq to vlan interfaces w/ pf. Thanks to jhb for pointing out that this might possibly work. PR: 94182 Modified:

svn commit: r352431 - head/libexec/rc/rc.d

2019-09-16 Thread John-Mark Gurney
Author: jmg Date: Mon Sep 16 22:48:40 2019 New Revision: 352431 URL: https://svnweb.freebsd.org/changeset/base/352431 Log: fix the article to be correct... Modified: head/libexec/rc/rc.d/growfs Modified: head/libexec/rc/rc.d/growfs

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: r338698 - head/sys/netpfil/pf

2018-09-15 Thread John-Mark Gurney
Author: jmg Date: Sun Sep 16 00:44:23 2018 New Revision: 338698 URL: https://svnweb.freebsd.org/changeset/base/338698 Log: Significantly improve pf purge cpu usage by only taking locks when there is work to do. This reduces CPU consumption to one third on systems. This will help keep the

svn commit: r338140 - head/usr.bin/dtc

2018-08-21 Thread John-Mark Gurney
Author: jmg Date: Tue Aug 21 15:11:43 2018 New Revision: 338140 URL: https://svnweb.freebsd.org/changeset/base/338140 Log: minor grammar nit, to what? between them.. Modified: head/usr.bin/dtc/dtc.1 Modified: head/usr.bin/dtc/dtc.1

svn commit: r338075 - head/sys/arm64/arm64

2018-08-19 Thread John-Mark Gurney
Author: jmg Date: Sun Aug 19 21:37:51 2018 New Revision: 338075 URL: https://svnweb.freebsd.org/changeset/base/338075 Log: use sbuf so that lines are printed together... As aarch64 often has SMP enabled, lines can get intermixed with other console output making these lines hard to read...

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

2018-08-16 Thread John-Mark Gurney
n)); This memset is unneeded, as strncpy will write NUL bytes to fill out the buffer: If src is less than len characters long, the remainder of dst is filled with `\0' characters. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has

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

2018-08-04 Thread John-Mark Gurney
reasing the default (although perhaps not to 256K, > because if my math is right that???s cost us ~20MB of memory) soon, > because that???s mostly a quick win. I can see a default of maybe 64k (giving an average of just under 2 per bucket). IMO if you have that busy of a firewa

svn commit: r331478 - head/usr.sbin/ctld

2018-03-23 Thread John-Mark Gurney
Author: jmg Date: Sat Mar 24 04:21:22 2018 New Revision: 331478 URL: https://svnweb.freebsd.org/changeset/base/331478 Log: minor work smithing... Modified: head/usr.sbin/ctld/ctld.8 Modified: head/usr.sbin/ctld/ctld.8

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:

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

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

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

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

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

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

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,

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

2015-10-08 Thread John-Mark Gurney
e th e pages were in 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: 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: r287606 - head/sys/kern

2015-09-10 Thread John-Mark Gurney
tart' from a root login you get the rlimits 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

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 <i...@bsdimp.com> wrote: > >

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: 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 because they isolate

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

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

2015-08-04 Thread John-Mark Gurney
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-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo

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:

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:

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 is bogus. net/pfkeyv2.h already depends

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

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:

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 j...@freebsd.org wrote: Author: jmg Date: Fri Jul 31 00:23:21 2015 New Revision: 286100 URL: https://svnweb.freebsd.org/changeset/base/286100 Log: Clean up

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

2015-07-31 Thread John-Mark Gurney
? 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.freebsd.org/mailman/listinfo/svn-src

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 j...@funkthat.com 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 manual page? It looks

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 isn't usable in userland... I can't wait till

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,

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

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

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

2015-07-30 Thread John-Mark Gurney
... _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. ___ svn-src-all@freebsd.org

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

2015-07-29 Thread John-Mark Gurney
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 j...@freebsd.org wrote: Author: jmg Date: Wed Jul 29 07:15:16 2015 New Revision: 286000 URL: https://svnweb.freebsd.org

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 j...@funkthat.com 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@. Can it be fixed

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

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
is hardwired, like in many laptops, using it for randomness won't increase or decrease the likelyhood of the above happening... -- John-Mark Gurney Voice: +1 415 225 5579 All that I will do, has been done, All that I have, has

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
. 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/dsp bs=512 count=5 2/dev/null | sha512 /dev/random -- John-Mark Gurney Voice: +1 415 225 5579

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 j...@funkthat.com wrote: Once you have enough useful bits in /dev/random, you can NEVER run out of useful bits from /dev/random... [Well, not quite NEVER

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 Fri, Jul 24, 2015 at 07:59 +0100: On 24 Jul 2015, at 02:25, John-Mark Gurney j...@funkthat.com 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 likes of djb[1

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
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 ma...@freebsd.org wrote: On 24 Jul 2015, at 02:25, John-Mark Gurney j...@funkthat.com wrote: Heck, piping in mic data to /dev/random is a good way to seed the rng

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
embedded gadgets have an ADC that could be used... Appliances a little more difficult, but trusted computers probably have a hardware RNG anyways... -- John-Mark Gurney Voice: +1 415 225 5579 All that I will do, has been done, All that I have, has

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 j...@funkthat.com wrote: virtual machines have things like virtio_random, most embedded gadgets have an ADC that could be used... Appliances a little more difficult

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

2015-07-24 Thread John-Mark Gurney
() __asm __volatile(sfence; : : : memory) #define rmb() __asm __volatile(lfence; : : : memory) -- 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

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
, where we nop/jmp the collection after we feel that the system has collected enough. Heck, piping in mic data to /dev/random is a good way to seed the rng on many machines. [1] http://blog.cr.yp.to/20140205-entropy.html -- John-Mark Gurney Voice: +1 415 225 5579

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:

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:

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: r285595 - head/usr.bin/ministat

2015-07-15 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:

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

svn commit: r285525 - head/sys/conf

2015-07-14 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: 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

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 the voice of George V. Neville-Neil

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, 2015 at 23:48 -0500: On Thu

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 reason I didn't delete

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

2015-07-11 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 unsubscribe, send any

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 j...@funkthat.com 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: --- xinstall --- cc

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 j...@funkthat.com wrote: ... The closest I can see is that sha256hl.c (from mdXhl.c) is including sha256.h with double quotes, and getting the wrong header file.. I

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

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

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:

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

2015-07-08 Thread John-Mark Gurney
) \ _bus_dmamap_sync(dmat, dmamap, op); \ + else\ + __BUS_DMAMAP_SYNC_DEFAULT \ And then this can be properly written w/ a ; at the end... -- John-Mark

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

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

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

2015-07-08 Thread John-Mark Gurney
, immintrin.h, it looks like 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: 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

  1   2   3   4   >