queue: set O_CLOEXEC on installed file descriptors
authorDaniel Mack <daniel@zonque.org>
Fri, 17 Oct 2014 07:55:51 +0000 (09:55 +0200)
committerDaniel Mack <daniel@zonque.org>
Sat, 18 Oct 2014 19:00:16 +0000 (21:00 +0200)
commitedf96a5e4328bf12c0c29323bc9c0ec55cab129a
tree6dac9129ba2677d1c5e4a207a07c2182700bbd27
parent1dd392db366a8adcdfbee2b2aae830559d212b99
queue: set O_CLOEXEC on installed file descriptors

The receiver can still opt-out for this with fcntl(), but by default,
we should really set O_CLOEXEC.

Signed-off-by: Daniel Mack <daniel@zonque.org>
queue.c