Thread (27 messages) flat view 27 messages, 4 authors, 2016-06-15

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

From: Jonathan Nieder <hidden>
Date: 2016-06-15 22:49:50

Erik Faye-Lund wrote:
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?
Maybe "git daemon >&- 2>&-"?

In some situations involving setuid programs, this kind of thing
can be a security problem (since fd 1 is not taken, the first open()
uses that fd, so output intended for stdout goes to that file).
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help