Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b1e8f878e835d36518d8c11c47a863ad0aaa0c2a
Ticket: 1343161fffffffffffffffffffffffffffffffff
exec implemenation fails to close() open file descriptors
User & Date: ferrieux on 2008-04-07 05:26:52
Changes

  1. icomment:
    Logged In: YES 
    user_id=496139
    Originator: NO
    
    I'm not asking to reclassify as a FR, I'm seeking an explanation.
    Of course the code for [exec] doesn't close the other fds, since they are all marked as close-on-exec.
    The idea is that they will of course survive the fork(), but not the subsequent execve().
    So please provide detailed explanations (like a truss output) showing where these flags disappeared, and also which descriptors exactly got inherited (ie what kind of channels).
    
    
  2. login: "ferrieux"
  3. mimetype: "text/plain"
  4. username: "ferrieux"