gcc/libjava/gnu/java/nio
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
..
channels re PR libgcj/31228 (Race condition between setting close-on-exec and Runtime.exec()) 2007-03-23 00:06:41 +00:00
charset
ChannelInputStream.h
ChannelOutputStream.h
ChannelReader.h
ChannelWriter.h
DatagramChannelImpl.h
DatagramChannelImpl.java
DatagramChannelSelectionKey.h
DatagramChannelSelectionKey.java
EpollSelectionKeyImpl.h
FileLockImpl.h
FileLockImpl.java
InputStreamChannel.h
KqueueSelectionKeyImpl.h
natNIOServerSocket.cc
natVMChannel.cc
natVMPipeEcos.cc
natVMPipePosix.cc
natVMPipeWin32.cc
natVMSelectorEcos.cc
natVMSelectorPosix.cc
natVMSelectorWin32.cc
NIOConstants.h
NIODatagramSocket.h
NIOServerSocket.h
NIOServerSocket.java
NIOSocket.h
NIOSocket.java
OutputStreamChannel.h
PipeImpl.h
PipeImpl.java
PipeImpl$SinkChannelImpl.h
PipeImpl$SourceChannelImpl.h
SelectionKeyImpl.h
SelectorImpl.h
SelectorProviderImpl.h
SelectorProviderImpl.java
ServerSocketChannelImpl.h
ServerSocketChannelImpl.java
ServerSocketChannelSelectionKey.h
ServerSocketChannelSelectionKey.java
SocketChannelImpl.h
SocketChannelImpl.java
SocketChannelSelectionKey.h
SocketChannelSelectionKey.java
SocketChannelSelectionKeyImpl.h
SocketChannelSelectionKeyImpl.java
VMChannel.h
VMChannel.java
VMChannelOwner.h
VMPipe.h
VMPipe.java
VMSelector.h
VMSelector.java