8sa1-gcc/libjava/gnu/java/net
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
..
loader URLClassLoader.java: Removed. 2007-01-15 10:25:38 +00:00
local Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
protocol Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
BASE64.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
CRLFInputStream.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
CRLFOutputStream.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
DefaultContentHandlerFactory.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
DefaultProxySelector.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
EmptyX509TrustManager.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
GetLocalHostAction.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
HeaderFieldHelper.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
ImageHandler.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
IndexListParser.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
LineInputStream.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
natPlainDatagramSocketImplNoNet.cc
natPlainDatagramSocketImplPosix.cc re PR libgcj/31228 (Race condition between setting close-on-exec and Runtime.exec()) 2007-03-23 00:06:41 +00:00
natPlainDatagramSocketImplWin32.cc InetAddress.java: Removed. 2006-11-03 10:16:04 +00:00
natPlainSocketImplNoNet.cc PlainSocketImpl.java (read): Remove declaration. 2003-09-24 06:38:36 +01:00
natPlainSocketImplPosix.cc re PR libgcj/31228 (Race condition between setting close-on-exec and Runtime.exec()) 2007-03-23 00:06:41 +00:00
natPlainSocketImplWin32.cc InetAddress.java: Removed. 2006-11-03 10:16:04 +00:00
PlainDatagramSocketImpl.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
PlainDatagramSocketImpl.java Collections.java (UnmodifiableMap.toArray): Imported changes from Classpath. 2007-02-12 23:52:39 +00:00
PlainSocketImpl.h PlainSocketImpl.h: Regenerate. 2007-02-15 17:03:49 +00:00
PlainSocketImpl.java Collections.java (UnmodifiableMap.toArray): Imported changes from Classpath. 2007-02-12 23:52:39 +00:00
PlainSocketImpl$SocketInputStream.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
PlainSocketImpl$SocketOutputStream.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
URLParseError.h Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00