David Daney
52a55497c8
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: r123208
2007-03-26 06:07:13 +00:00
..
2006-08-14 23:12:35 +00:00
2006-02-09 01:35:33 +00:00
2006-06-22 16:59:15 +00:00
2006-03-28 16:12:52 +00:00
2006-10-18 23:17:04 +00:00
2006-08-14 23:12:35 +00:00
2006-08-07 14:48:59 +00:00
2002-08-14 01:07:59 +00:00
2006-05-24 17:14:45 +00:00
2006-03-28 16:12:52 +00:00
2006-10-18 23:17:04 +00:00
2006-06-16 08:56:29 +00:00
2006-02-08 18:06:11 +00:00
2000-03-07 19:55:28 +00:00
2006-02-08 18:06:11 +00:00
2006-05-24 17:14:45 +00:00
2005-08-12 16:40:32 +00:00
2007-03-26 06:07:13 +00:00
2007-01-22 23:33:24 +00:00
2006-06-27 20:38:10 +00:00
2003-03-24 00:50:18 +00:00
2005-05-10 18:28:31 +00:00
2006-03-09 18:47:54 +00:00
2006-08-21 22:07:30 +00:00
2006-05-05 15:05:20 +00:00
2005-03-21 14:50:14 +00:00
2006-07-28 07:40:17 +00:00
2006-11-26 19:53:11 +00:00
2005-12-08 14:19:13 +00:00
2005-12-08 14:19:13 +00:00
2005-06-30 03:22:09 +00:00
2004-08-12 16:20:11 +00:00
2006-04-04 23:25:09 +00:00
2006-08-07 14:42:48 +00:00
2006-06-09 16:07:07 +00:00
2006-01-09 06:42:19 +00:00
2006-01-09 06:42:19 +00:00
2006-08-09 08:46:34 +00:00
2006-08-14 23:12:35 +00:00
2006-05-31 17:47:44 +00:00
2006-04-11 17:23:00 +01:00
2006-02-08 18:06:11 +00:00
2006-02-08 18:06:11 +00:00
2005-06-30 03:22:09 +00:00
2006-07-28 07:40:17 +00:00
2003-11-07 03:16:49 +00:00