zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-workers@zsh.org
Subject: Re: Mangement of fdtable[]
Date: Sat, 24 Oct 2015 11:43:52 -0700	[thread overview]
Message-ID: <151024114352.ZM27626@torch.brasslantern.com> (raw)
In-Reply-To: <20151024191621.7f6d71bf@ntlworld.com>

On Oct 24,  7:16pm, Peter Stephenson wrote:
} Subject: Re: Mangement of fdtable[]
}
} Is this the fix for tcp.c (not socket.c)?

This looks very similar to what I was contemplating, except that I had
not yet thought as far as adding another FDT_* flag.  The only other
thing I was wondering about is allowing the module to control whether
the FD is closed when entering a subshell [i.e., when exec.c calls
closem(FDT_INTERNAL)], because there is not always an execv() in that
case so simply setting CLOEXEC in the module is not enough.

} I didn't think FDT_INTERNAL was the right thing, on balance,
} as they're too public for the shell taking over management

That's true for tcp.c, but perhaps not so for e.g. db_gdbm.c.


  reply	other threads:[~2015-10-24 18:43 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-16  0:22 Bart Schaefer
2015-10-16  9:56 ` Chi Hsuan Yen
2015-10-16 19:44 ` Peter Stephenson
2015-10-24 18:16 ` Peter Stephenson
2015-10-24 18:43   ` Bart Schaefer [this message]
2015-10-24 19:14     ` Peter Stephenson
2015-10-24 19:37       ` Bart Schaefer
2015-10-24 19:43       ` Peter Stephenson
2015-10-24 21:05         ` Bart Schaefer
2015-10-25 18:44           ` Peter Stephenson
2015-10-26  1:15             ` Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=151024114352.ZM27626@torch.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

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 NNTP newsgroup(s).