--- - branch: MAIN date: Mon Jul 1 15:22:00 UTC 2013 files: - new: '1.14' old: '1.13' path: src/sys/dev/rndpseudo.c pathrev: src/sys/dev/rndpseudo.c@1.14 type: modified - new: '1.21' old: '1.20' path: src/sys/kern/subr_cprng.c pathrev: src/sys/kern/subr_cprng.c@1.21 type: modified - new: '1.8' old: '1.7' path: src/sys/sys/cprng.h pathrev: src/sys/sys/cprng.h@1.8 type: modified - new: '1.39' old: '1.38' path: src/sys/sys/rnd.h pathrev: src/sys/sys/rnd.h@1.39 type: modified - new: '1.13' old: '1.12' path: src/usr.bin/fstat/misc.c pathrev: src/usr.bin/fstat/misc.c@1.13 type: modified id: 20130701T152200Z.294010eadc7d4ef659f4be0d13b4a7af478ce321 log: | Fix races in /dev/u?random initialization and accounting. - Push /dev/random `information-theoretic' accounting into cprng(9). - Use percpu(9) for the per-CPU CPRNGs. - Use atomics with correct memory barriers for lazy CPRNG creation. - Remove /dev/random file kmem grovelling from fstat(1). module: src subject: 'CVS commit: src' unixtime: '1372692120' user: riastradh