Re: [PATCH v4 15/15] daemon: opt-out on features that require posix

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Erik Faye-Lund
Date: Thursday, October 21, 2010 - 1:37 pm

On Mon, Oct 11, 2010 at 11:50 PM, Erik Faye-Lund <kusmabite@gmail.com> wrote:

Does anyone know what the call to sanitize_stdfds() is good for? I
tried searching the mailing list, but the discussion on the patch that
introduced it seems to only discuss how to implement
sanitize_stdfds(), not why...

I understand that it might be beneficial in the --detach code-path,
but how can stdint, stdout or stderr be closed in this code-path?

(CC'ed Matthias, who wrote the code)
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH v4 00/15] daemon-win32, Erik Faye-Lund, (Mon Oct 11, 2:50 pm)
[PATCH v4 01/15] mingw: add network-wrappers for daemon, Erik Faye-Lund, (Mon Oct 11, 2:50 pm)
[PATCH v4 02/15] mingw: implement syslog, Erik Faye-Lund, (Mon Oct 11, 2:50 pm)
[PATCH v4 05/15] mingw: use real pid, Erik Faye-Lund, (Mon Oct 11, 2:50 pm)
[PATCH v4 07/15] mingw: add kill emulation, Erik Faye-Lund, (Mon Oct 11, 2:50 pm)
[PATCH v4 09/15] daemon: use full buffered mode for stderr, Erik Faye-Lund, (Mon Oct 11, 2:50 pm)
[PATCH v4 12/15] mingw: import poll-emulation from gnulib, Erik Faye-Lund, (Mon Oct 11, 2:50 pm)
[PATCH v4 13/15] mingw: use poll-emulation from gnulib, Erik Faye-Lund, (Mon Oct 11, 2:50 pm)
[PATCH v4 14/15] daemon: use socklen_t, Erik Faye-Lund, (Mon Oct 11, 2:50 pm)
Re: [PATCH v4 01/15] mingw: add network-wrappers for daemon, Jonathan Nieder, (Mon Oct 11, 3:07 pm)
Re: [PATCH v4 02/15] mingw: implement syslog, Jonathan Nieder, (Mon Oct 11, 3:11 pm)
Re: [PATCH v4 02/15] mingw: implement syslog, Erik Faye-Lund, (Mon Oct 11, 3:28 pm)
Re: [PATCH v4 02/15] mingw: implement syslog, Jonathan Nieder, (Mon Oct 11, 3:37 pm)
Re: [PATCH v4 02/15] mingw: implement syslog, Erik Faye-Lund, (Wed Oct 13, 5:36 am)
Re: [PATCH v4 02/15] mingw: implement syslog, Eric Sunshine, (Wed Oct 13, 12:23 pm)
Re: [msysGit] Re: [PATCH v4 02/15] mingw: implement syslog, Erik Faye-Lund, (Wed Oct 13, 5:47 pm)
empty structs, Jonathan Nieder, (Mon Oct 18, 11:42 am)
Re: [PATCH v4 15/15] daemon: opt-out on features that requ ..., Erik Faye-Lund, (Thu Oct 21, 1:37 pm)