diff options
| author | Julian Andres Klode <jak@debian.org> | 2025-10-20 19:41:57 +0200 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2025-10-20 19:42:57 +0200 |
| commit | cb8df17ff8e59192ae2ab864006eea120d408a7a (patch) | |
| tree | 0a6bd49277e794010b90ba77e219ebebec706c00 /apt-pkg/contrib | |
| parent | 683214eed4aced71f94f12a0cc70509bdb473c82 (diff) | |
Add some comments and tests around Keep-Fd ordering
Diffstat (limited to 'apt-pkg/contrib')
| -rw-r--r-- | apt-pkg/contrib/fileutl.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apt-pkg/contrib/fileutl.cc b/apt-pkg/contrib/fileutl.cc index 50b983924..7f785f21c 100644 --- a/apt-pkg/contrib/fileutl.cc +++ b/apt-pkg/contrib/fileutl.cc @@ -899,6 +899,7 @@ pid_t ExecFork() return ExecFork(KeepFDs); } +// Keep in mind that KeepFDs must be ordered for close_range() to work. pid_t ExecFork(std::set<int> KeepFDs) { // Fork off the process |
