commit | 2555ccf4d08e5cab6756690753eb08ac0761facd | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Feb 21 22:22:06 2019 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Thu Feb 21 22:22:06 2019 +0100 |
tree | 57d0ec0e0a06d677c5598ce47f7d8cfa9d9c1fff | |
parent | 2d7f81b809ec469b82ac724c31e5c1cc4f444b9b [diff] |
MINOR: checks: use my_closefrom() to close all FDs Instead of looping on all FDs, let's use my_closefrom() which does it respecting the current process' limits and possibly doing it more efficiently.