4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-29 10:30:50 +08:00
Corinna Vinschen 494c626414 * devices.in (dev_storage): Map /dev/random and /dev/urandom to
\Device\Null.
	* devices.cc: Regenerate.
	* fhandler.h (fhandler_dev_random::open): Drop declaration.
	(fhandler_dev_random::close): Ditto.
	(fhandler_dev_random::crypt_gen_random): Convert to static method.
	* fhandler_random.cc (fhandler_dev_random::open): Remove so that default
	fhandler_base::open is used to open \Device\Null.
	(fhandler_dev_random::close): Ditto.
	* fhandler_socket.cc (entropy_source): Delete.
	(fhandler_socket::af_local_set_secret): Remove entropy_source code and
	call fhandler_dev_random::crypt_gen_random directly instead.
2013-10-25 12:21:59 +00:00

29 lines
782 B
Plaintext

What's new:
-----------
What changed:
-------------
- Slightly improve randomness of /dev/random emulation.
- Allow to use advisory locking on any device which is backed by an OS
handle. Right now this excludes /dev/clipboard, /dev/dsp, as well as
almost all virtual files under /proc.
Bug fixes:
----------
- pthread_atparent hook should not be called in the child.
Fixes: http://cygwin.com/ml/cygwin/2013-09/msg00365.html
- 64 bit only: Correctly mmap'ing regions > 4 Gigs.
Fixes: http://cygwin.com/ml/cygwin/2013-09/msg00155.html
- Fix random content of /proc/$PID/ctty if the process has no controlling
tty. Set to just "\n" instead.
- Properly set process sid rather than always using -1.
Fixes: http://cygwin.com/ml/cygwin/2013-10/threads.html#00237