unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* [PATCH] Set the FD_CLOEXEC flag on the runtime's file descriptors
@ 2011-05-07 22:29 Andreas Rottmann
  2011-05-07 22:29 ` Andreas Rottmann
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Rottmann @ 2011-05-07 22:29 UTC (permalink / raw)
  To: guile-devel

This is supposed to prevent Guile to leak internal file descriptors
across an exec* system call.  The Guile user has still to take care of
setting the CLOEXEC flag on all ports (e.g., using `port-for-each').

Linux's LVM tools are a nice test case for this, as they emit a warning
line for each leaked FD when invoked.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-06-16 17:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-07 22:29 [PATCH] Set the FD_CLOEXEC flag on the runtime's file descriptors Andreas Rottmann
2011-05-07 22:29 ` Andreas Rottmann
2011-06-16 17:50   ` Andy Wingo

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).