« Previous | Next » 

Revision 638ac34b

ID638ac34b0ce08a458c16310b58b17be4d07d19bf

Added by Michael Hanselmann over 12 years ago

Don't leak file descriptors when setting up daemon output

When a daemon's output is configured using “utils.SetupDaemonFDs”, the
function must use dup2(2). Unfortunately the code didn't close the
original file descriptors, leaking them in the process.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences