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
..
2006-08-21 22:07:30 +00:00
2007-03-23 00:06:41 +00:00
2004-07-01 04:09:07 +00:00
2004-09-26 13:38:49 -07:00
2003-06-13 12:20:45 +00:00
2007-03-07 07:27:25 +00:00
2006-05-20 23:33:07 +02:00
2007-01-12 12:30:56 +00:00
2000-03-07 19:55:28 +00:00
2002-03-06 18:54:45 +00:00
2006-03-28 16:12:52 +00:00
2007-01-09 19:58:05 +00:00
2006-10-14 20:11:12 +00:00
2007-03-13 19:27:13 +00:00
2005-09-08 21:26:25 +00:00
2007-01-29 22:05:56 +00:00
2007-01-22 23:04:16 +00:00
2007-03-07 07:27:25 +00:00
2000-04-02 15:41:00 +00:00
2007-01-29 17:43:34 +00:00
2007-01-31 23:25:39 +00:00
2005-09-23 21:31:04 +00:00
2007-03-01 16:14:33 -08:00
2006-11-20 19:49:08 +00:00
2006-06-26 16:31:06 +00:00
2006-08-02 22:18:05 +02:00
2004-07-09 03:39:35 +00:00
2007-01-09 19:58:05 +00:00
2007-03-23 00:06:41 +00:00
2006-03-10 23:31:15 +01:00
2004-07-14 13:09:09 +00:00
2006-03-16 02:44:10 +00:00
2004-09-26 13:38:49 -07:00
1999-07-19 18:03:31 +00:00
2003-06-13 12:20:45 +00:00
2007-02-22 14:13:34 +00:00
2007-01-09 19:58:05 +00:00
2007-01-12 12:30:56 +00:00