| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
These ones were unambiguous cases where the Foundation was the only
listed copyright holder.
Sponsored by: The FreeBSD Foundation
(cherry picked from commit 5c2bc3db201a4fe8d7911cf816bea104d5dc2138)
(cherry picked from commit f06d322e9d925ab56a4aa8210a67637d4d341ab6)
|
|
|
|
|
|
|
| |
Remove /^\s*\$FreeBSD\$$\n/
Similar commit in main:
(cherry picked from commit 05248206f720)
|
|
|
|
|
|
|
| |
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
Similar commit in main:
(cherry picked from commit d0b2dbfa0ecf)
|
|
|
|
|
|
|
| |
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
Similar commit in main:
(cherry picked from commit 1d386b48a555)
|
|
|
|
|
|
|
| |
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
Similar commit in main:
(cherry picked from commit b3e7694832e8)
|
|
|
|
|
|
|
|
|
|
|
| |
The SPDX folks have obsoleted the BSD-2-Clause-NetBSD identifier. Catch
up to that fact and revert to their recommended match of BSD-2-Clause.
Discussed with: pfg
MFC After: 3 days
Sponsored by: Netflix
(cherry picked from commit b61a573019428cbdc38ed03be9ecd2482011ea66)
|
|
|
|
|
|
|
|
|
|
|
| |
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch
up to that fact and revert to their recommended match of BSD-2-Clause.
Discussed with: pfg
MFC After: 3 days
Sponsored by: Netflix
(cherry picked from commit 4d846d260e2b9a3d4d0a701462568268cbfe7a5b)
|
|
|
|
|
|
|
|
|
|
|
|
| |
Looks like the example was broken by change of SYSCTL_STATIC_CHILDREN
definition in r267992. Fix build by switching to using SYSCTL_ADD_ROOT_NODE
PR: 236139
Submitted by: Andrew Reiter <arr@watson.org>
MFC after: 1 week
Notes:
svn path=/head/; revision=345220
|
|
|
|
|
|
|
|
|
| |
Make use of make_dev_s in the example cdev. While here, fix warnings.
Reviewed by: rpokala
Notes:
svn path=/head/; revision=328428
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mainly focus on files that use BSD 2-Clause license, however the tool I
was using misidentified many licenses so this was mostly a manual - error
prone - task.
The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.
Commit these apart because compile testing doesn't guarantee I didn't made
some nasty mistake. No functional change intended.
Notes:
svn path=/head/; revision=326275
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
As result of this, a new examples package is now created.
Note, this is only effective with 'SHARED=copies' (the default),
as the 'SHARED=symlinks' mechanism will create a symlink to the
source tree version of the file(s).
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/head/; revision=299293
|
|
|
|
|
|
|
|
|
| |
Mostly comments but these tend to be user-visible.
MFC after: 2 weeks
Notes:
svn path=/head/; revision=298882
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
you all as /dev/random.
This code has had an extensive rewrite and a good series of reviews, both by the author and other parties. This means a lot of code has been simplified. Pluggable structures for high-rate entropy generators are available, and it is most definitely not the case that /dev/random can be driven by only a hardware souce any more. This has been designed out of the device. Hardware sources are stirred into the CSPRNG (Yarrow, Fortuna) like any other entropy source. Pluggable modules may be written by third parties for additional sources.
The harvesting structures and consequently the locking have been simplified. Entropy harvesting is done in a more general way (the documentation for this will follow). There is some GREAT entropy to be had in the UMA allocator, but it is disabled for now as messing with that is likely to annoy many people.
The venerable (but effective) Yarrow algorithm, which is no longer supported by its authors now has an alternative, Fortuna. For now, Yarrow is retained as the default algorithm, but this may be changed using a kernel option. It is intended to make Fortuna the default algorithm for 11.0. Interested parties are encouraged to read ISBN 978-0-470-47424-2 "Cryptography Engineering" By Ferguson, Schneier and Kohno for Fortuna's gory details. Heck, read it anyway.
Many thanks to Arthur Mesh who did early grunt work, and who got caught in the crossfire rather more than he deserved to.
My thanks also to folks who helped me thresh this out on whiteboards and in the odd "Hallway track", or otherwise.
My Nomex pants are on. Let the feedback commence!
Reviewed by: trasz,des(partial),imp(partial?),rwatson(partial?)
Approved by: so(des)
Notes:
svn path=/head/; revision=273872
|
|
|
|
|
|
|
|
|
| |
and finish the job. ncurses is now the only Makefile in the tree that
uses it since it wasn't a simple mechanical change, and will be
addressed in a future commit.
Notes:
svn path=/head/; revision=264400
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Contains:
* Refactor the hardware RNG CPU instruction sources to feed into
the software mixer. This is unfinished. The actual harvesting needs
to be sorted out. Modified by me (see below).
* Remove 'frac' parameter from random_harvest(). This was never
used and adds extra code for no good reason.
* Remove device write entropy harvesting. This provided a weak
attack vector, was not very good at bootstrapping the device. To
follow will be a replacement explicit reseed knob.
* Separate out all the RANDOM_PURE sources into separate harvest
entities. This adds some secuity in the case where more than one
is present.
* Review all the code and fix anything obviously messy or inconsistent.
Address som review concerns while I'm here, like rename the pseudo-rng
to 'dummy'.
Submitted by: Arthur Mesh <arthurmesh@gmail.com> (the first item)
Notes:
svn path=/projects/random_number_generator/; revision=256042
|
|
|
|
|
|
|
|
|
| |
harvest queues. It was a nifty idea, but too heavyweight.
Submitted by: Arthur Mesh <arthurmesh@gmail.com>
Notes:
svn path=/projects/random_number_generator/; revision=255075
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
Notes:
svn path=/projects/random_number_generator/; revision=254784
|
|
|
|
|
|
|
| |
Submitted by: ae
Notes:
svn path=/head/; revision=253421
|
|
|
|
|
|
|
| |
isn't loaded.
Notes:
svn path=/head/; revision=253420
|
|
|
|
|
|
|
| |
Pointyhat to: kevlo (myself)
Notes:
svn path=/head/; revision=241394
|
|
|
|
| |
Notes:
svn path=/head/; revision=241370
|
|
|
|
| |
Notes:
svn path=/head/; revision=239130
|
|
|
|
|
|
|
|
|
|
| |
adding \0 bytes). This is a technique that would be used in an actual
driver and is more suitable as an example.
Reviewed by: mlaier
Notes:
svn path=/head/; revision=220256
|
|
|
|
|
|
|
|
| |
build time, to avoid possible grief maintaining FreeBSD source in
alternative version control tools.
Notes:
svn path=/head/; revision=220205
|
|
|
|
|
|
|
|
|
|
|
|
| |
documentation.
Sponsored by: FreeBSD Foundation
Discussed with: David Hayes <dahayes at swin edu au>
MFC after: 5 weeks
X-MFC with: r216615
Notes:
svn path=/head/; revision=218545
|
|
|
|
| |
Notes:
svn path=/head/; revision=217566
|
|
|
|
|
|
|
|
| |
Submitted by: Vladislav Movchan <vladislav.movchan gmail com>
MFC after: 1 week
Notes:
svn path=/head/; revision=209199
|
|
|
|
|
|
|
|
|
| |
override WARNS.
Reported by: <marius@nuenneri.ch> and uqs@
Notes:
svn path=/head/; revision=203349
|
|
|
|
|
|
|
| |
Bump WARNS to 5 while being here.
Notes:
svn path=/head/; revision=202603
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- sort includes
- remove usage(), since it seems to come from older version
of the KLD
- remove unnecessary variable
- mark argc/argv as unused
Bring WARNS = 5 to the Makefile.
Notes:
svn path=/head/; revision=202602
|
|
|
|
|
|
|
| |
this program to compile cleanly.
Notes:
svn path=/head/; revision=202601
|
|
|
|
| |
Notes:
svn path=/head/; revision=202600
|
|
|
|
| |
Notes:
svn path=/head/; revision=193374
|
|
|
|
|
|
|
|
|
| |
for AUE_NULL.
Approved by: re (kensmith)
Notes:
svn path=/head/; revision=171536
|
|
|
|
| |
Notes:
svn path=/head/; revision=158751
|
|
|
|
| |
Notes:
svn path=/head/; revision=156733
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
specially crafted module. There are several handrolled sollutions to this
problem in the tree already which will be replaced with this. They include
iwi(4), ipw(4), ispfw(4) and digi(4).
No objection from: arch
MFC after: 2 weeks
X-MFC after: some drivers have been converted
Notes:
svn path=/head/; revision=154974
|
|
|
|
|
|
|
| |
OK'ed by: core
Notes:
svn path=/head/; revision=139103
|
|
|
|
|
|
|
| |
any fake value.
Notes:
svn path=/head/; revision=136910
|
|
|
|
|
|
|
| |
return EOPNOTSUPP.
Notes:
svn path=/head/; revision=134520
|
|
|
|
|
|
|
| |
64-bit portability fix.
Notes:
svn path=/head/; revision=132247
|
|
|
|
| |
Notes:
svn path=/head/; revision=130276
|
|
|
|
|
|
|
|
| |
PR: misc/67748
Submitted by: bugghy <bugghy@phenix.rootshell.be>
Notes:
svn path=/head/; revision=130272
|
|
|
|
|
|
|
|
|
| |
PR: 52954
Submitted by: Priit Piipuu <priit.piipuu@mail.ee>
Reviewed by: phk
Notes:
svn path=/head/; revision=118385
|
|
|
|
| |
Notes:
svn path=/head/; revision=99771
|
|
|
|
|
|
|
| |
Reviewed: jhb
Notes:
svn path=/head/; revision=86316
|
|
|
|
| |
Notes:
svn path=/head/; revision=83609
|
|
|
|
| |
Notes:
svn path=/head/; revision=83608
|
|
|
|
| |
Notes:
svn path=/head/; revision=76814
|
|
|
|
| |
Notes:
svn path=/head/; revision=72336
|