Module Name: src Committed By: tls Date: Sun Nov 20 01:09:14 UTC 2011
Modified Files: src/sys/kern: init_sysctl.c Log Message: An undocumented behavior of the sysctl kern.arandom node used to allow sucking up to 8192 bytes out of the kernel arc4random() generator at a time. Supposedly some very old application code uses this to rekey other instances of RC4 in userspace (a truly great idea). Reduce the limit to 256 bytes -- and note that it will probably be reduced to sizeof(int) in the future, since this node is so documented. To generate a diff of this commit: cvs rdiff -u -r1.184 -r1.185 src/sys/kern/init_sysctl.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.