summaryrefslogtreecommitdiff
path: root/src/libelogind/sd-bus
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2018-02-26 15:41:38 +0100
committerSven Eden <yamakuzure@gmx.net>2018-05-30 07:59:08 +0200
commitecc6cb9a01b132b88cdf20272573c142eeb84e8b (patch)
tree06761bc1094a87d041a9376307d5555550557ce1 /src/libelogind/sd-bus
parent89e3fcd3115e66914561b804009a3b60c574d3c9 (diff)
util: add new safe_close_above_stdio() wrapper
At various places we only want to close fds if they are not stdin/stdout/stderr, i.e. fds 0, 1, 2. Let's add a unified helper call for that, and port everything over.
Diffstat (limited to 'src/libelogind/sd-bus')
0 files changed, 0 insertions, 0 deletions