diff options
| author | Julian Andres Klode <jak@debian.org> | 2025-10-20 20:02:17 +0200 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2025-10-20 20:06:50 +0200 |
| commit | 3dea3434bf2003b757d7ecdb5a8194c8a0c7023f (patch) | |
| tree | a0579ae99fa03485c76ec773546944886a79de40 /apt-pkg/install-progress.cc | |
| parent | cb8df17ff8e59192ae2ab864006eea120d408a7a (diff) | |
ExecFork: Simplify closing and make it safe
Implement a wrapper around FD_CLOEXEC and use it in place of
the raw fcntl(). This wrapper _Exit()s the child if the operation
failed.
Restructure the close_range() handling to simply mark all fds for
closing first and then "reopen" the ones we should keep.
Diffstat (limited to 'apt-pkg/install-progress.cc')
0 files changed, 0 insertions, 0 deletions
