svn commit: r213585 - head/tools/build/mk

2010-10-08 Thread Mark Murray
Author: markm Date: Fri Oct 8 17:42:09 2010 New Revision: 213585 URL: http://svn.freebsd.org/changeset/base/213585 Log: Don't blow away /bin/rmail symlink if we are keeping mailwrapper. Mailwrapper can provide a perfectly good rmail with other mailers. Modified: head/tools/build/mk/Optio

svn commit: r213609 - head/share/man/man5

2010-10-08 Thread Mark Murray
Author: markm Date: Fri Oct 8 20:13:12 2010 New Revision: 213609 URL: http://svn.freebsd.org/changeset/base/213609 Log: Extend the "example" section a bit, for other mailers. Modified: head/share/man/man5/mailer.conf.5 Modified: head/share/man/man5/mailer.conf.5

svn commit: r213611 - head/usr.sbin/ypbind

2010-10-08 Thread Mark Murray
Author: markm Date: Fri Oct 8 20:17:17 2010 New Revision: 213611 URL: http://svn.freebsd.org/changeset/base/213611 Log: Don't let the "available"/"not available" logs flap quite so badly. In the case of a multi-interfaced host, sub-second flapping can fill up the logs too quickly. This fixe

Re: svn commit: r213585 - head/tools/build/mk

2010-10-10 Thread Mark Murray
Alexander Leidinger writes: > Can you please point out where rmail is installed when MK_SENDMAIL=no > and MK_MAILWRAPPER!=no? I can not find such a place. src/usr.sbin/mailwrapper/Makefile M -- Mark R V Murray Cert APS(Open) Dip Phys(Open) BSc Open(Open) BSc(Hons)(Open) Pi: 132511160 ___

Re: svn commit: r213585 - head/tools/build/mk

2010-10-12 Thread Mark Murray
Alexander Leidinger writes: > >> src/usr.sbin/mailwrapper/Makefile > > > > What am I doing wrong? > > I did not do a correct copy&paste... put the result is the same. > > > ---snip--- > > % grep rmail /usr/src/usr.sbin/mailwrapper > > % grep rmail /usr/src/usr.sbin/mailwrapper/Makefile My foul-

svn commit: r213749 - head/usr.sbin/mailwrapper

2010-10-12 Thread Mark Murray
Author: markm Date: Tue Oct 12 21:01:26 2010 New Revision: 213749 URL: http://svn.freebsd.org/changeset/base/213749 Log: Create the /bin/rmail symlink (which mailers such as postfix and Exim can use). This is something I thought I committed MONTHS ago, but it appears that I fatfingered

Re: svn commit: r213749 - head/usr.sbin/mailwrapper

2010-10-12 Thread Mark Murray
Mark Murray writes: > URL: http://svn.freebsd.org/changeset/base/213749 > > Log: > Create the /bin/rmail symlink (which mailers such as postfix > and Exim can use). > > This is something I thought I committed MONTHS ago, but it appears > that I fatfingered it

svn commit: r215429 - in stable/8: share/man/man5 tools/build/mk usr.sbin/mailwrapper

2010-11-17 Thread Mark Murray
Author: markm Date: Wed Nov 17 17:12:41 2010 New Revision: 215429 URL: http://svn.freebsd.org/changeset/base/215429 Log: MFC: Add /bin/rmail symlink to mailwrapper if sendmail is not being built and mailwrapper is being built. Ensure that it is not removed by "make delete-old". Add Exim exam

svn commit: r215455 - in head: . cddl

2010-11-18 Thread Mark Murray
Author: markm Date: Thu Nov 18 16:32:52 2010 New Revision: 215455 URL: http://svn.freebsd.org/changeset/base/215455 Log: Do not lint code beyond necessity (with apologies to Wiliam of Ockham). Don't lint externally maintained CDDL code, or relint the 32-bit libraries in amd64 mode. Modif

svn commit: r215463 - head/contrib/ipfilter/man

2010-11-18 Thread Mark Murray
Author: markm Date: Thu Nov 18 18:22:58 2010 New Revision: 215463 URL: http://svn.freebsd.org/changeset/base/215463 Log: Fix paths for example files. Modified: head/contrib/ipfilter/man/ipnat.8 head/contrib/ipfilter/man/mkfilters.1 Modified: head/contrib/ipfilter/man/ipnat.8 ==

svn commit: r198005 - head

2009-10-12 Thread Mark Murray
Author: markm Date: Mon Oct 12 21:10:28 2009 New Revision: 198005 URL: http://svn.freebsd.org/changeset/base/198005 Log: We haven't installed usbdevs for many moons now, and it doesn't work any more anyway. Add it to the "obsolete" list. Modified: head/ObsoleteFiles.inc Modified: head/Obso

svn commit: r220496 - head/lib/libmd

2011-04-09 Thread Mark Murray
Author: markm Date: Sat Apr 9 13:56:29 2011 New Revision: 220496 URL: http://svn.freebsd.org/changeset/base/220496 Log: Add SHA512 (Actually, this is Colin Percival's code for SHA256, with relevant constants changed). While I'm here clean up the tests and Makefile. PR: mis

svn commit: r220497 - head/lib/libcrypt

2011-04-09 Thread Mark Murray
Author: markm Date: Sat Apr 9 14:02:04 2011 New Revision: 220497 URL: http://svn.freebsd.org/changeset/base/220497 Log: Add SHA256/512 ($5$ and $6$) to crypt(3). Used in linux-world, doesn't hurt us. PR: misc/124164 Submitted by: KIMURA Yasuhiro < yasu utahime org > MFC aft

svn commit: r220498 - head/lib/libcrypt

2011-04-09 Thread Mark Murray
Author: markm Date: Sat Apr 9 14:09:46 2011 New Revision: 220498 URL: http://svn.freebsd.org/changeset/base/220498 Log: Document SHA256/512 modes. MFC after:1 month Modified: head/lib/libcrypt/crypt.3 Modified: head/lib/libcrypt/crypt.3 =

Re: svn commit: r220497 - head/lib/libcrypt

2011-04-29 Thread Mark Murray
"David O'Brien" writes: > On Sat, Apr 09, 2011 at 02:02:04PM +, Mark Murray wrote: > > Log: > > Add SHA256/512 ($5$ and $6$) to crypt(3). Used in linux-world, doesn't > > hurt us. > > Would you mind if I committed this to be a more consiste

svn commit: r264969 - head/sys/dev/random

2014-04-26 Thread Mark Murray
Author: markm Date: Sat Apr 26 13:21:28 2014 New Revision: 264969 URL: http://svnweb.freebsd.org/changeset/base/264969 Log: Correctly set the sysctl format to Alphanumeric, rather than letting it default. Approved by: security-officer(des) Modified: head/sys/dev/random/random_adaptors.c

Re: svn commit: r253779 - in head: . share/man/man4 sys/amd64/conf sys/arm/conf sys/conf sys/dev/random sys/i386/conf sys/ia64/conf sys/mips/conf sys/modules sys/modules/random sys/pc98/conf sys/power

2013-07-30 Thread Mark Murray
This looks like a Good Thing(™), thank you! I'm doing an implementation of Fortuna CSPRNG, and this is going to save me a BUNCH of work! M On 29 Jul 2013, at 21:26, David E. O'Brien wrote: > Author: obrien > Date: Mon Jul 29 20:26:27 2013 > New Revision: 253779 > URL: http://svnweb.freebsd.org/c

svn commit: r255362 - in head: share/examples/kld share/examples/kld/random_adaptor sys/conf sys/dev/glxsb sys/dev/hifn sys/dev/random sys/dev/rndtest sys/dev/safe sys/dev/ubsec sys/kern sys/mips/c...

2013-09-07 Thread Mark Murray
Author: markm Date: Sat Sep 7 14:15:13 2013 New Revision: 255362 URL: http://svnweb.freebsd.org/changeset/base/255362 Log: Bring in some behind-the-scenes development, mainly By Arthur Mesh, the rest by me. o Namespace cleanup; the Yarrow name is now restricted to where it really app

svn commit: r255379 - head/sys/dev/random

2013-09-07 Thread Mark Murray
Author: markm Date: Sat Sep 7 22:07:36 2013 New Revision: 255379 URL: http://svnweb.freebsd.org/changeset/base/255379 Log: Fix the build; Certain linkable symbols need to always be present. Pass the pointy hat please. Also unblock the software (Yarrow) generator for now. This will be

svn commit: r255391 - head/sys/dev/random

2013-09-08 Thread Mark Murray
Author: markm Date: Sun Sep 8 16:48:03 2013 New Revision: 255391 URL: http://svnweb.freebsd.org/changeset/base/255391 Log: Fix verbose output line; needs Submitted by: Sean Bruno Approved by: re (glebius) Modified: head/sys/dev/random/random_adaptors.c Modified: head/sys/dev/rando

svn commit: r256412 - head/sys/dev/random

2013-10-12 Thread Mark Murray
Author: markm Date: Sun Oct 13 00:10:48 2013 New Revision: 256412 URL: http://svnweb.freebsd.org/changeset/base/256412 Log: There is an issue (not seen in our testing) where "yarrow" and "dummy" switch priorities, and the users are left with no usable /dev/random. The fix assigns priories to

svn commit: r256414 - stable/10/sys/dev/random

2013-10-12 Thread Mark Murray
Author: markm Date: Sun Oct 13 00:13:57 2013 New Revision: 256414 URL: http://svnweb.freebsd.org/changeset/base/256414 Log: MFC: There is an issue (not seen in our testing) where "yarrow" and "dummy" switch priorities, and the users are left with no usable /dev/random. The fix assigns p

svn commit: r256446 - head/sys/modules/random

2013-10-14 Thread Mark Murray
Author: markm Date: Mon Oct 14 17:43:22 2013 New Revision: 256446 URL: http://svnweb.freebsd.org/changeset/base/256446 Log: Add needed files to the KLD random.ko. Approved by: re (kib) Modified: head/sys/modules/random/Makefile Modified: head/sys/modules/random/Makefile ===

svn commit: r256449 - stable/10/sys/modules/random

2013-10-14 Thread Mark Murray
Author: markm Date: Mon Oct 14 18:24:30 2013 New Revision: 256449 URL: http://svnweb.freebsd.org/changeset/base/256449 Log: MFC: Add extra files to the KLD random.ko module to allow it to load. Approved by: re (kib) Modified: stable/10/sys/modules/random/Makefile Directory Properties:

svn commit: r231588 - in stable/8/lib: libcrypt libmd

2012-02-13 Thread Mark Murray
Author: markm Date: Mon Feb 13 16:43:29 2012 New Revision: 231588 URL: http://svn.freebsd.org/changeset/base/231588 Log: MFC: sha256 ($5$) and sha512 ($6$) crypt(3) types. PR: misc/124164 Delayed by: markm Added: stable/8/lib/libcrypt/crypt-sha256.c - copied, changed f

Re: svn commit: r232930 - in stable/9: lib/libsm lib/libthread_db lib/libz libexec/mail.local libexec/smrsh sbin/fsdb share/mk sys/boot/i386/boot0 sys/boot/i386/boot2 sys/boot/i386/btx/btx sys/boot/i3

2012-03-15 Thread Mark Murray
Dimitry Andric writes: > Author: dim > Date: Tue Mar 13 18:39:57 2012 > New Revision: 232930 > URL: http://svn.freebsd.org/changeset/base/232930 > > Log: > MFC r232263: > > Define several extra macros in bsd.sys.mk and sys/conf/kern.pre.mk, to > get rid of testing explicitly for clang (us

Re: svn commit: r230230 - head/sys/dev/random

2012-01-19 Thread Mark Murray
Andrey Chernov writes: > On Mon, Jan 16, 2012 at 08:18:10PM +, David Schultz wrote: > > Author: das > > Date: Mon Jan 16 20:18:10 2012 > > New Revision: 230230 > > URL: http://svn.freebsd.org/changeset/base/230230 > > > > Log: > > Generate a warning if the kernel's arc4random() is seeded wit

Re: svn commit: r230230 - head/sys/dev/random

2012-01-20 Thread Mark Murray
Andrey Chernov writes: > > Look at the function random_yarrow_unblock(). Thats where yopu want to > > be doing this. This function is where the random device is unblocked > > once safely seeded. > > Thanx for your hint, but I fear one moment using random_yarrow_unblock(). > It is called under mtx_

Re: svn commit: r230230 - head/sys/dev/random

2012-01-22 Thread Mark Murray
Andrey Chernov writes: > > The usual way round this is with a flag. Set a static, volatile > > flag, defaulting "off", and set it to "on" when the seeding has > > happened. Then arc4random() can do the right thing, depending on > > this flag. > > Ok, what about this version, is it right? libkern/ar

Re: svn commit: r230230 - head/sys/dev/random

2012-01-22 Thread Mark Murray
Andrey Chernov writes: > > Should be in a header file, nad _possibly_ should be volatile. If it > > works without being volatile, then OK. > > It was preliminary patch just to confirm/deny my understanding of your > idea. Ah, OK - in which case you got the idea correctly! > I'll put it into hea

Re: svn commit: r230230 - head/sys/dev/random

2012-01-25 Thread Mark Murray
Andrey Chernov writes: > On Sun, Jan 22, 2012 at 09:43:02PM +0000, Mark Murray wrote: > > > Thanx for review! I'll send final version to this thread a bit > > > later when I'll find more free time. > > Final, unless something else noticed. Cool. NOTE: I am

Re: svn commit: r230230 - head/sys/dev/random

2012-01-26 Thread Mark Murray
David Schultz writes: > > Although current version with current kernel flags works, I forget > > it is implementation defined in general and not always equal to > > sizeof(int), f.e. with gcc --short-enums. I'll remade it with > > #defines, thanx again. > > Why complicate things with atomics at all

Re: svn commit: r230230 - head/sys/dev/random

2012-01-30 Thread Mark Murray
Andrey Chernov writes: > On Thu, Jan 26, 2012 at 10:13:41PM +0400, Andrey Chernov wrote: > > On Thu, Jan 26, 2012 at 12:52:43PM -0500, David Schultz wrote: > > > Why complicate things with atomics at all? A race might result in > > > arc4random(9) being seeded multiple times, but that's harmless.

svn commit: r194194 - head

2009-06-14 Thread Mark Murray
Author: markm Date: Sun Jun 14 15:16:24 2009 New Revision: 194194 URL: http://svn.freebsd.org/changeset/base/194194 Log: Allow "make update" work with SVN, if you take the time to set up your /etc/make.conf properly. Only one SCM? I do not think this is right. Now I have fixed it. Mo

svn commit: r192766 - head/share/syscons/keymaps

2009-05-25 Thread Mark Murray
Author: markm Date: Mon May 25 17:06:24 2009 New Revision: 192766 URL: http://svn.freebsd.org/changeset/base/192766 Log: Euro is missing With this I shall see it fixed Thank you for your time Modified: head/share/syscons/keymaps/uk.iso-ctrl.kbd Modified: head/share/syscons/keymaps/uk.iso

svn commit: r192774 - head/sys/dev/random

2009-05-25 Thread Mark Murray
Author: markm Date: Mon May 25 22:50:11 2009 New Revision: 192774 URL: http://svn.freebsd.org/changeset/base/192774 Log: There is rubbish here It is time to take it out Now it is cleaner Modified: head/sys/dev/random/nehemiah.c head/sys/dev/random/randomdev_soft.c Modified: head/sys/de

svn commit: r192775 - head/share/misc

2009-05-25 Thread Mark Murray
..@fr lstewart [label="Lawrence stewart\nlstew...@freebsd.org\n2008/10/06"] lulf [label="Ulf lilleengen\nl...@freebsd.org\n2007/10/24"] marcel [label="Marcel moolenaar\nmar...@freebsd.org\n1999/07/03"] +markm [label="Mark murray\nma...@freebsd.org\n199?/?

svn commit: r273872 - in head: etc/defaults etc/rc.d libexec/save-entropy share/examples/kld/random_adaptor sys/conf sys/dev/glxsb sys/dev/random sys/kern sys/modules sys/modules/padlock_rng sys/mo...

2014-10-30 Thread Mark Murray
Author: markm Date: Thu Oct 30 21:21:53 2014 New Revision: 273872 URL: https://svnweb.freebsd.org/changeset/base/273872 Log: This is the much-discussed major upgrade to the random(4) device, known to you all as /dev/random. This code has had an extensive rewrite and a good series of review

svn commit: r273939 - head/sys/modules

2014-11-01 Thread Mark Murray
Author: markm Date: Sat Nov 1 17:52:04 2014 New Revision: 273939 URL: https://svnweb.freebsd.org/changeset/base/273939 Log: Remove duplicate macro settings (probably due to an SVN merge /faux pas/ on my part. Spotted by: DES Approved by: DES(implicit) Modified: head/sys/modules/Make

svn commit: r266083 - in head/sys/arm: arm include

2014-05-14 Thread Mark Murray
Author: markm Date: Wed May 14 19:11:15 2014 New Revision: 266083 URL: http://svnweb.freebsd.org/changeset/base/266083 Log: Give suitably-endowed ARMs a register similar to the x86 TSC register. Here, "suitably endowed" means that the System Control Coprocessor (#15) has Performance Monit

svn commit: r281463 - head/sys/sys

2015-04-12 Thread Mark Murray
Author: markm Date: Sun Apr 12 11:23:59 2015 New Revision: 281463 URL: https://svnweb.freebsd.org/changeset/base/281463 Log: Fix a very minor typo. Modified: head/sys/sys/module.h Modified: head/sys/sys/module.h == -

svn commit: r303035 - in head/sys: arm/broadcom/bcm2835 boot/fdt/dts/arm sys

2016-07-19 Thread Mark Murray
Author: markm Date: Tue Jul 19 18:07:47 2016 New Revision: 303035 URL: https://svnweb.freebsd.org/changeset/base/303035 Log: Random bit generator (RBG) driver for RPi and RPi2. Summary: This driver supports the following methods to trigger gathering random bits from the hardware: 1. in

svn commit: r341002 - head/sys/conf

2018-11-26 Thread Mark Murray
Author: markm Date: Mon Nov 26 22:45:58 2018 New Revision: 341002 URL: https://svnweb.freebsd.org/changeset/base/341002 Log: Add dependency to allow if_muge device to be only ethernet device in stripped-down RPI3 kernel. Modified: head/sys/conf/files Modified: head/sys/conf/files ==

svn commit: r345981 - stable/11/sys/dev/random

2019-04-06 Thread Mark Murray
Author: markm Date: Sat Apr 6 09:00:06 2019 New Revision: 345981 URL: https://svnweb.freebsd.org/changeset/base/345981 Log: Backport fixes from FreeBSD-12 to help the random(4) device thread not overwhelm the OS: a) Use the correct symbolic constant when calculating 10'ths of a second.

Re: svn commit: r366620 - in head/sys: conf dev/random/fenestrasX

2020-10-11 Thread Mark Murray
> On 10 Oct 2020, at 22:45, Conrad Meyer wrote: > > Author: cem > Date: Sat Oct 10 21:45:59 2020 > New Revision: 366620 > URL: https://svnweb.freebsd.org/changeset/base/366620 > > Log: > Add "Fenestras X" alternative /dev/random implementation This is a much needed improvement to the (CS)PRN

Re: svn commit: r362466 - in head: contrib/file/magic/Magdir contrib/tcpdump lib/geom/part stand/efi/include stand/i386/boot0 sys/dev/hptmv sys/geom/part usr.bin/fortune/datfiles usr.bin/mkimg usr.sbi

2020-06-21 Thread Mark Murray
> On 21 Jun 2020, at 17:41, Hans Petter Selasky wrote: > If you got a Master's degree in South Africa under Apartheid, to many people > that is still symbolic. First I've heard of it (yes, I'm South African). > https://en.wikipedia.org/wiki/Apartheid#Education > > Apartheid is not very long a

svn commit: r332791 - head/sys/modules/random

2018-04-19 Thread Mark Murray
Author: markm Date: Thu Apr 19 20:31:52 2018 New Revision: 332791 URL: https://svnweb.freebsd.org/changeset/base/332791 Log: Remove empty dir no longer required. Reported by: Jung-uk Kim Deleted: head/sys/modules/random/ ___ svn-src-all@freebs

svn commit: r338292 - head/sys/dev/random

2018-08-24 Thread Mark Murray
Author: markm Date: Fri Aug 24 14:53:42 2018 New Revision: 338292 URL: https://svnweb.freebsd.org/changeset/base/338292 Log: Fix braino of mine where the reseeds would happen far too often, making the kernel process way too busy. PR: 230808 Submitted by: Conrad Meyer Re

svn commit: r338293 - head/sys/dev/random

2018-08-24 Thread Mark Murray
Author: markm Date: Fri Aug 24 14:53:46 2018 New Revision: 338293 URL: https://svnweb.freebsd.org/changeset/base/338293 Log: Limit the amount of "fast" entropy. We don't need nearly as much for security, and the excess just slows things down badly. PR: 230808 Submitted by:

svn commit: r338324 - in head: . share/man/man4 share/man/man9 sys/arm/amlogic/aml8726 sys/arm/broadcom/bcm2835 sys/conf sys/dev/glxsb sys/dev/hifn sys/dev/random sys/dev/rndtest sys/dev/safe sys/d...

2018-08-26 Thread Mark Murray
Author: markm Date: Sun Aug 26 12:51:46 2018 New Revision: 338324 URL: https://svnweb.freebsd.org/changeset/base/338324 Log: Remove the Yarrow PRNG algorithm option in accordance with due notice given in random(4). This includes updating of the relevant man pages, and no-longer-used har

svn commit: r284909 - head/sys/kern

2015-06-28 Thread Mark Murray
Author: markm Date: Sun Jun 28 09:44:58 2015 New Revision: 284909 URL: https://svnweb.freebsd.org/changeset/base/284909 Log: ANSIfy the only function that uses K&R definition in this file. Modified: head/sys/kern/kern_kthread.c Modified: head/sys/kern/kern_kthread.c =

svn commit: r284910 - head/sys/kern

2015-06-28 Thread Mark Murray
Author: markm Date: Sun Jun 28 10:51:08 2015 New Revision: 284910 URL: https://svnweb.freebsd.org/changeset/base/284910 Log: Ansify another function. This is the last in the file, I hope. Modified: head/sys/kern/kern_kthread.c Modified: head/sys/kern/kern_kthread.c ==

svn commit: r284911 - head/sys/sys

2015-06-28 Thread Mark Murray
Author: markm Date: Sun Jun 28 12:52:28 2015 New Revision: 284911 URL: https://svnweb.freebsd.org/changeset/base/284911 Log: Add const to char * pointers. This breaks nothing, and means const chars can be passed with no warnings. Modified: head/sys/sys/kthread.h Modified: head/sys/sys/kthr

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

2015-06-30 Thread Mark Murray
Author: markm Date: Tue Jun 30 17:00:45 2015 New Revision: 284959 URL: https://svnweb.freebsd.org/changeset/base/284959 Log: Huge cleanup of random(4) code. * GENERAL - Update copyright. - Make kernel options for RANDOM_YARROW and RANDOM_DUMMY. Set neither to ON, which means we want

svn commit: r284960 - in head: etc/defaults etc/rc.d share/man/man5 share/man/man9 sys/boot/forth

2015-06-30 Thread Mark Murray
Author: markm Date: Tue Jun 30 17:09:41 2015 New Revision: 284960 URL: https://svnweb.freebsd.org/changeset/base/284960 Log: Updated random(4) boot/shutdown scripting. Fix the man pages as well. Differential Revision: https://reviews.freebsd.org/D2924 Approved by: so (delphij) Modified

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

2015-07-08 Thread Mark Murray
Author: markm Date: Wed Jul 8 18:46:44 2015 New Revision: 285288 URL: https://svnweb.freebsd.org/changeset/base/285288 Log: Address review. Differential Revision: https://reviews.freebsd.org/D2924 Modified: head/etc/rc.d/random Modified: head/etc/rc.d/random ===

svn commit: r285422 - in head: share/man/man4 sys/conf sys/dev/random sys/net sys/netgraph

2015-07-12 Thread Mark Murray
Author: markm Date: Sun Jul 12 18:14:38 2015 New Revision: 285422 URL: https://svnweb.freebsd.org/changeset/base/285422 Log: * Address review (and add a bit myself). - Tweek man page. - Remove all mention of RANDOM_FORTUNA. If the system owner wants YARROW or DUMMY, they ask for it, other

svn commit: r285439 - head/sys/dev/random

2015-07-13 Thread Mark Murray
Author: markm Date: Mon Jul 13 08:38:21 2015 New Revision: 285439 URL: https://svnweb.freebsd.org/changeset/base/285439 Log: Rework the read routines to keep the PRNG sources happy. These work in units of crypto blocks, so must have adequate space to write. This means needing to be careful a

svn commit: r285550 - head/usr.bin/w

2015-07-14 Thread Mark Murray
Author: markm Date: Tue Jul 14 18:53:24 2015 New Revision: 285550 URL: https://svnweb.freebsd.org/changeset/base/285550 Log: Widen the host field so that a full IPv6 address will be seen. Modified: head/usr.bin/w/w.c Modified: head/usr.bin/w/w.c ==

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-15 Thread Mark Murray
> On 15 Jul 2015, at 23:43, Adrian Chadd wrote: > >> - Add harvesting of slab allocator events. This needs to be checked for >>weighing down the allocator code. > > Hi, > > Is this really doing it upon every one of those events? eg, for each > mbuf alloc through UMA? Only if you turn it

svn commit: r285688 - head

2015-07-19 Thread Mark Murray
Author: markm Date: Sun Jul 19 14:34:35 2015 New Revision: 285688 URL: https://svnweb.freebsd.org/changeset/base/285688 Log: Clean up some trailing whitespace. Modified: head/UPDATING Modified: head/UPDATING == --- h

svn commit: r285692 - head/sys/dev/random

2015-07-19 Thread Mark Murray
Author: markm Date: Sun Jul 19 16:05:30 2015 New Revision: 285692 URL: https://svnweb.freebsd.org/changeset/base/285692 Log: Fix the read blocking so that it is interruptable and slow down the rate of console warning spamming while blocked. Approved by: so (/dev/random blanket) Modified:

svn commit: r285690 - head/sys/dev/random

2015-07-19 Thread Mark Murray
Author: markm Date: Sun Jul 19 16:05:23 2015 New Revision: 285690 URL: https://svnweb.freebsd.org/changeset/base/285690 Log: Optimise the buffer-size calculation. It was possible to get one block too many. Approved by: so (/dev/random blanket) Modified: head/sys/dev/random/randomdev.c

svn commit: r285691 - head/sys/conf

2015-07-19 Thread Mark Murray
Author: markm Date: Sun Jul 19 16:05:26 2015 New Revision: 285691 URL: https://svnweb.freebsd.org/changeset/base/285691 Log: Clarify the intent of the RANDOM_* options. Approved by: so (/dev/random blanket) Modified: head/sys/conf/NOTES Modified: head/sys/conf/NOTES ===

svn commit: r285693 - head/sys/dev/random

2015-07-19 Thread Mark Murray
Author: markm Date: Sun Jul 19 16:05:34 2015 New Revision: 285693 URL: https://svnweb.freebsd.org/changeset/base/285693 Log: Remove out-of-date comments. Approved by:so (/dev/random blanket) Modified: head/sys/dev/random/fortuna.c head/sys/dev/random/yarrow.c Modified: head/sy

svn commit: r285700 - head/sys/dev/random

2015-07-19 Thread Mark Murray
Author: markm Date: Sun Jul 19 18:07:35 2015 New Revision: 285700 URL: https://svnweb.freebsd.org/changeset/base/285700 Log: Fix some untidy logic. I committed the wrong local fix; please pass the pointy hat. Approved by:so (/dev/random blanket) Modified: head/sys/dev/random/ran

svn commit: r317015 - in head/sys: boot/forth conf crypto/chacha20 dev/random libkern sys

2017-04-16 Thread Mark Murray
Author: markm Date: Sun Apr 16 09:11:02 2017 New Revision: 317015 URL: https://svnweb.freebsd.org/changeset/base/317015 Log: Replace the RC4 algorithm for generating in-kernel secure random numbers with Chacha20. Keep the API, though, as that is what the other *BSD's have done. Use the

svn commit: r286839 - in head: . share/man/man4 sys/conf sys/dev/random sys/modules sys/modules/random_fortuna sys/modules/random_other sys/modules/random_yarrow sys/sys

2015-08-17 Thread Mark Murray
Author: markm Date: Mon Aug 17 07:36:12 2015 New Revision: 286839 URL: https://svnweb.freebsd.org/changeset/base/286839 Log: Add DEV_RANDOM pseudo-option and use it to "include out" random(4) if desired. Retire randomdev_none.c and introduce random_infra.c for resident infrastructure. C

svn commit: r287023 - in head: share/man/man4 sys/conf sys/dev/random sys/sys sys/vm

2015-08-22 Thread Mark Murray
Author: markm Date: Sat Aug 22 12:59:05 2015 New Revision: 287023 URL: https://svnweb.freebsd.org/changeset/base/287023 Log: Make the UMA harvesting go away completely if not wanted. Default to "not wanted". Provide and document the RANDOM_ENABLE_UMA option. Change RANDOM_FAST to RANDOM_

svn commit: r283517 - head/gnu/lib

2015-05-25 Thread Mark Murray
Author: markm Date: Mon May 25 10:51:40 2015 New Revision: 283517 URL: https://svnweb.freebsd.org/changeset/base/283517 Log: Unbreak build where WANT_GDB == "no', as libreadline is also used by ntpdc. Modified: head/gnu/lib/Makefile Modified: head/gnu/lib/Makefile ===

svn commit: r288703 - head/sys/dev/random

2015-10-05 Thread Mark Murray
Author: markm Date: Mon Oct 5 07:41:12 2015 New Revision: 288703 URL: https://svnweb.freebsd.org/changeset/base/288703 Log: It appears that under some circumstances, like virtualisiation, the 'rdrand' instruction may occasionally not return random numbers, in spite of looping attempts to do

svn commit: r288780 - head/sys/dev/random

2015-10-05 Thread Mark Murray
Author: markm Date: Mon Oct 5 10:45:52 2015 New Revision: 288780 URL: https://svnweb.freebsd.org/changeset/base/288780 Log: Fix printf-like formats for KASSERT. Submitted by: jenkins Approved by: so (/dev/random blanket) Modified: head/sys/dev/random/random_harvestq.c Modified: head

svn commit: r345981 - stable/11/sys/dev/random

2019-09-03 Thread Mark Murray
Author: markm Date: Sat Apr 6 09:00:06 2019 New Revision: 345981 URL: https://svnweb.freebsd.org/changeset/base/345981 Log: Backport fixes from FreeBSD-12 to help the random(4) device thread not overwhelm the OS: a) Use the correct symbolic constant when calculating 10'ths of a second.

svn commit: r365028 - head

2020-09-01 Thread Mark Murray
Author: markm Date: Tue Sep 1 08:02:12 2020 New Revision: 365028 URL: https://svnweb.freebsd.org/changeset/base/365028 Log: Add a pointer to csprng@ for the CSPRNG driver. This is enforced anyway by subversion. Modified: head/MAINTAINERS Modified: head/MAINTAINERS

Re: svn commit: r362466 - in head: contrib/file/magic/Magdir contrib/tcpdump lib/geom/part stand/efi/include stand/i386/boot0 sys/dev/hptmv sys/geom/part usr.bin/fortune/datfiles usr.bin/mkimg usr.sbi

2020-06-21 Thread Mark Murray via svn-src-all
> On 21 Jun 2020, at 14:51, Hans Petter Selasky wrote: > > On 2020-06-21 15:46, Hans Petter Selasky wrote: >> On 2020-06-21 15:45, Alexey Dokuchaev wrote: ... -#https://en.wikipedia.org/wiki/Master_boot_record#PTE +#https://en.wikipedia.org/wiki/Main_boot_record#PTE >>> Wikipedia

Re: svn commit: r355747 - in head: . include lib/libc/stdlib lib/libxo

2019-12-14 Thread Mark Murray via svn-src-all
> On 14 Dec 2019, at 08:28, Conrad Meyer wrote: > > Author: cem > Date: Sat Dec 14 08:28:10 2019 > New Revision: 355747 > URL: https://svnweb.freebsd.org/changeset/base/355747 > > Log: > Deprecate sranddev(3) API > > It serves no useful purpose and wasn't as popular as its equally meritless