diff options
author | Lennart Poettering <lennart@poettering.net> | 2018-02-26 15:41:38 +0100 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2018-05-30 07:59:08 +0200 |
commit | ecc6cb9a01b132b88cdf20272573c142eeb84e8b (patch) | |
tree | 06761bc1094a87d041a9376307d5555550557ce1 /src/libelogind/sd-bus | |
parent | 89e3fcd3115e66914561b804009a3b60c574d3c9 (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