procd: Do not leak pipe file descriptors to children
authorMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 6 Jul 2017 20:25:16 +0000 (22:25 +0200)
committerJohn Crispin <john@phrozen.org>
Mon, 31 Jul 2017 17:00:26 +0000 (19:00 +0200)
commitf062b305b5ea2c77bb8286f8982f08e4c5b133ae
tree29da38e5e79700368b3f3585d43ccae317d0c31a
parent17026f4683b2a99085779e6bec3a2e67479089e0
procd: Do not leak pipe file descriptors to children

Without this change, a process started by procd can have access to
stdout/err of processes started by procd before.

Signed-off-by: Michal Sojka <sojkam1@fel.cvut.cz>
rcS.c
service/instance.c