freebsd-dev/share/examples
Mark Murray ddbfa6b19e 1) example (partially humorous random_adaptor, that I call "EXAMPLE")
* It's not meant to be used in a real system, it's there to show how
   the basics of how to create interfaces for random_adaptors. Perhaps
   it should belong in a manual page

2) Move probe.c's functionality in to random_adaptors.c
 * rename random_ident_hardware() to random_adaptor_choose()

3) Introduce a new way to choose (or select) random_adaptors via tunable
"rngs_want" It's a list of comma separated names of adaptors, ordered
by preferences. I.e.:
rngs_want="yarrow,rdrand"

Such setting would cause yarrow to be preferred to rdrand. If neither of
them are available (or registered), then system will default to
something reasonable (currently yarrow). If yarrow is not present, then
we fall back to the adaptor that's first on the list of registered
adaptors.

4) Introduce a way where RNGs can play a role of entropy source. This is
mostly useful for HW rngs.

The way I envision this is that every HW RNG will use this
functionality by default. Functionality to disable this is also present.
I have an example of how to use this in random_adaptor_example.c (see
modload event, and init function)

5) fix kern.random.adaptors from
kern.random.adaptors: yarrowpanicblock
to
kern.random.adaptors: yarrow,panic,block

6) add kern.random.active_adaptor to indicate currently selected
adaptor:
root@freebsd04:~ # sysctl kern.random.active_adaptor
kern.random.active_adaptor: yarrow

Submitted by:	Arthur Mesh <arthurmesh@gmail.com>
2013-08-24 13:54:56 +00:00
..
atf Add ATF to the build. This is may be a bit rought around the egdes, 2012-10-22 01:18:41 +00:00
autofs/driver Always assign WARNS using ?= 2010-03-02 16:58:04 +00:00
bhyve Add the "-g <gdport>" option to the vmrun.sh script that enables remote 2013-03-28 18:03:39 +00:00
bootforth
BSD_daemon Add an alternate version of beastie to the examples directory. 2013-04-28 02:23:39 +00:00
csh Add a bunch more example completions. 2012-10-16 02:52:30 +00:00
cvsup Ports are no more exported via cvsup, remove cvsup examples and documentation refering to ports 2013-03-11 10:48:26 +00:00
diskless Correct double "the the" 2012-09-14 21:28:56 +00:00
drivers Update to use DEVMETHOD_END. 2011-11-22 21:49:29 +00:00
etc - Trim an unused and bogus Makefile for mount_smbfs. 2013-06-28 21:00:08 +00:00
find_interface
FreeBSD_version Add unistd.h to the getosreldate(3) manpage. 2008-09-30 11:25:55 +00:00
hast Please welcome HAST - Highly Avalable Storage. 2010-02-18 23:16:19 +00:00
hwpmc
ibcs2
indent indent.pro example: put all options one per line 2010-04-05 09:26:03 +00:00
ipfilter
ipfw
IPv6
jails Add two scripts that demonstrate how to make and 2010-10-24 22:59:38 +00:00
kld 1) example (partially humorous random_adaptor, that I call "EXAMPLE") 2013-08-24 13:54:56 +00:00
libusb20 Add some examples about how to use FreeBSD's libusb20 in your own 2012-07-18 21:30:17 +00:00
libvgl Remove typos, tabs-after-spaces and EOL whitespace. Convert to UTF-8. 2011-05-22 14:03:21 +00:00
mdoc Sync example file with mdoc changes made in rev 235450. 2012-06-13 19:08:00 +00:00
netgraph Fix more typos to be a good example. 2011-05-22 14:23:48 +00:00
perfmon Revert r253748,253749 2013-07-28 18:44:17 +00:00
pf Add the 'inet' keyword after the nat rule to avoid interfering with 2012-06-28 03:30:17 +00:00
ppi Fxi a bunch of typos. 2013-05-10 16:41:26 +00:00
ppp A number of places in the source tree still reference cuad.* after 2012-12-08 22:16:36 +00:00
printing X11BASE has been deprecated for a long time and will die soon 2012-01-09 00:48:19 +00:00
scsi_target Fix an issue that caused the kernel to panic inside CTL when trying 2012-06-26 14:51:35 +00:00
ses Decode common state bits in getencstat output. 2012-11-06 01:29:26 +00:00
smbfs
sunrpc
witness Add a new awk script which parses informations returned by the newly 2008-05-07 21:50:17 +00:00
Makefile - Trim an unused and bogus Makefile for mount_smbfs. 2013-06-28 21:00:08 +00:00