diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2023-08-30 13:20:16 +0200 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2023-09-12 22:53:12 -0500 |
commit | e447562aaadc96f8f95d6659e4776ce5c1a6c9d6 (patch) | |
tree | 442e95dd3c1b7283f9e96f2716625d0122542d47 /init.d/localmount.in | |
parent | c199c5cf6e39d6e21b92bddba7beeebcc3afca79 (diff) |
start-stop-daemon: set fds to CLOEXEC instead of closing
Set file descriptors to CLOEXEC instead of closing them before exec,
similar to what we do in supervise-daemon.
Use the share cloexec_fds_from() helper for this.
closefrom() is no longer used so remove the test.
Diffstat (limited to 'init.d/localmount.in')
0 files changed, 0 insertions, 0 deletions