public inbox for java-prs@sourceware.org help / color / mirror / Atom feed
From: "daney at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: java-prs@gcc.gnu.org Subject: [Bug libgcj/31228] Race condition between setting close-on-exec and Runtime.exec() Date: Fri, 23 Mar 2007 00:06:00 -0000 [thread overview] Message-ID: <20070323000659.5191.qmail@sourceware.org> (raw) In-Reply-To: <bug-31228-7151@http.gcc.gnu.org/bugzilla/> ------- Comment #2 from daney at gcc dot gnu dot org 2007-03-23 00:06 ------- Subject: Bug 31228 Author: daney Date: Fri Mar 23 00:06:41 2007 New Revision: 123138 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123138 Log: 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. Modified: trunk/libjava/ChangeLog trunk/libjava/configure trunk/libjava/configure.ac trunk/libjava/gnu/java/net/natPlainDatagramSocketImplPosix.cc trunk/libjava/gnu/java/net/natPlainSocketImplPosix.cc trunk/libjava/gnu/java/nio/channels/natFileChannelPosix.cc trunk/libjava/include/config.h.in trunk/libjava/include/posix.h trunk/libjava/java/lang/natPosixProcess.cc -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31228
next prev parent reply other threads:[~2007-03-23 0:06 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-03-16 19:00 [Bug libgcj/31228] New: " daney at gcc dot gnu dot org 2007-03-19 7:09 ` [Bug libgcj/31228] " daney at gcc dot gnu dot org 2007-03-23 0:06 ` daney at gcc dot gnu dot org [this message] 2007-03-23 0:17 ` daney at gcc dot gnu dot org 2007-03-23 0:18 ` daney at gcc dot gnu dot org 2007-03-26 6:07 ` daney at gcc dot gnu dot org 2007-03-26 6:13 ` daney at gcc dot gnu dot org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20070323000659.5191.qmail@sourceware.org \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=java-prs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).