gcc/libjava/java
David Daney 46ecc2bc5c re PR libgcj/31228 (Race condition between setting close-on-exec and Runtime.exec())
PR libgcj/31228
	* configure.ac: Add checks for getrlimit and sys/resource.h.
	* include/posix.h (_Jv_platform_close_on_exec): Remove.
	* include/config.h.in: Regenerate.
	* configure: Regenerate.
	* gnu/java/nio/channels/natFileChannelPosix.cc (open): Remove call to
	_Jv_platform_close_on_exec;
	* gnu/java/net/natPlainSocketImplPosix.cc (create): Likewise.
	(accept): Likewise.
	* gnu/java/net/natPlainDatagramSocketImplPosix.cc (create):Likewise.
	* java/lang/natPosixProcess.cc: Include sys/resource.h.
	(nativeSpawn): Close all file descriptors.  Don't set FD_CLOEXEC on
	pipes.

From-SVN: r123138
2007-03-23 00:06:41 +00:00
..
applet Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
awt Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
beans Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
io natVMPipeEcos.cc: Renamed from gnu/java/nio/natPipeImplEcos.cc. 2007-01-18 11:32:40 +00:00
lang re PR libgcj/31228 (Race condition between setting close-on-exec and Runtime.exec()) 2007-03-23 00:06:41 +00:00
math Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
net PlainSocketImpl.h: Regenerate. 2007-02-15 17:03:49 +00:00
nio Checking in header files missed by earlier commit 2007-02-06 23:59:34 +00:00
rmi Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
security Updating header files. Earlier change here seems to have been in error. 2007-03-05 14:29:47 +00:00
sql Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
text LogManager.java (loggers): Genericized. 2007-02-01 21:36:01 +00:00
util Updating header files. Earlier change here seems to have been in error. 2007-03-05 14:29:47 +00:00