Fix: non-zero return of open handled as error
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 7 Sep 2018 01:39:18 +0000 (21:39 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 7 Sep 2018 01:39:21 +0000 (21:39 -0400)
commit7da8e14c9d64da5a485f982d6f17b5eb4365b04f
treed7830c93418324e8ab8c4d18a049325fa9c655f0
parent8fec83ea731aa3b4d279d51c378a931fe48f6a23
Fix: non-zero return of open handled as error

The open() run_as wrapper marks any non-zero return value
of open() as an error, causing the transmission of the file
descriptor to be skipped.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/runas.c
This page took 0.025246 seconds and 4 git commands to generate.