[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[screen-devel] [bug #52259] Do not close all inherited fds

From: Ilya Basin
Subject: [screen-devel] [bug #52259] Do not close all inherited fds
Date: Sat, 21 Oct 2017 02:27:17 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0


                 Summary: Do not close all inherited fds
                 Project: GNU Screen
            Submitted by: basinilya
            Submitted on: Sat 21 Oct 2017 06:27:16 AM UTC
                Category: Feature Request
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.6.1
           Fixed Release: None
         Planned Release: None
           Work Required: None



In screen.c there's the comment:

    *  First, close all unused descriptors
    *  (otherwise, we might have problems with the select() call)

This closes everything except 0,1, and 2. Will it hurt if we let fds 3..63
survive? I need to pass an anonymous pipe for synchronization between the
caller of screen and the commands launched inside screen.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]