Conrad Meyer b0dee75e64 random(4): Translate a comment requirement into a compile-time invariant
In various places, random represents the set of sources as a 32-bit word
bitmask.  It assumes all sources fit within this, i.e., the maximum valid
source number is 31.

There was a comment specifying this limitation, but we can actually refuse
to compile if our assumption is violated instead.  We still have a few spare
random source slots, but sooner or later someone may need to convert the
masks used from raw 32-bit words to bitset(9) APIs.

This prevents some kinds of developer foot-shooting when adding new random
sources.  No functional change.

Reviewed by:	delphij, markm
Approved by:	secteam (delphij)
Sponsored by:	Dell EMC Isilon
Differential Revision:	https://reviews.freebsd.org/D16982
2018-10-20 20:49:37 +00:00
..
2018-03-27 15:20:03 +00:00
2018-02-12 17:42:28 +00:00
2018-07-03 01:55:09 +00:00
2017-12-13 16:13:17 +00:00
2018-06-13 16:48:07 +00:00
2018-02-20 00:06:07 +00:00
2018-02-06 19:14:15 +00:00
2018-08-23 05:06:16 +00:00
2018-06-10 19:15:38 +00:00
2017-12-28 14:26:33 +00:00
2017-11-30 20:33:45 +00:00
2017-12-13 16:13:17 +00:00
2017-12-13 16:13:17 +00:00
2017-12-13 16:13:17 +00:00
2018-03-20 15:51:05 +00:00
2017-12-13 16:30:39 +00:00
2017-12-13 16:30:39 +00:00
2018-03-02 22:13:29 +00:00
2018-03-27 15:20:03 +00:00
2018-10-19 00:37:47 +00:00
2018-08-04 20:45:43 +00:00
2017-12-13 16:13:17 +00:00
2018-05-07 23:36:16 +00:00
2018-07-25 00:18:21 +00:00
2018-05-11 00:01:43 +00:00
2018-01-05 22:26:23 +00:00
2017-12-13 16:13:17 +00:00
2018-07-30 15:46:40 +00:00
2017-11-30 20:33:45 +00:00
2018-03-27 15:20:03 +00:00
2018-08-03 01:37:00 +00:00
2018-01-03 00:56:30 +00:00
2017-12-13 16:13:17 +00:00