[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Set the FD_CLOEXEC flag on the runtime's file descriptors
From: |
Andreas Rottmann |
Subject: |
[PATCH] Set the FD_CLOEXEC flag on the runtime's file descriptors |
Date: |
Sun, 8 May 2011 00:29:47 +0200 |
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.
- [PATCH] Set the FD_CLOEXEC flag on the runtime's file descriptors,
Andreas Rottmann <=