This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
[Bug libgcj/31228] New: Race condition between setting close-on-exec and Runtime.exec()
- From: "daney at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: java-prs at gcc dot gnu dot org
- Date: 16 Mar 2007 19:00:42 -0000
- Subject: [Bug libgcj/31228] New: Race condition between setting close-on-exec and Runtime.exec()
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Runtime.exec() could fork/exec the external process between the time a file
descriptor is opened and and when close-on-exec is set on it.
--
Summary: Race condition between setting close-on-exec and
Runtime.exec()
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libgcj
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: daney at gcc dot gnu dot org
GCC host triplet: *-*-*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31228