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:34 +0000 (19:00 +0200)
commit3e68cdfdc5221d2a9268e9b30fbd474ea20b92f8
tree82a0400bb7a47898439c963895814b44654efdf0
parent4dbf57a63b99f7bcaaf40679140995f80d864004
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