Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
utils: Handle close_range more gracefully
This fixes 2 things: 1. The last argument needs to be at most a int32, so be sure to pass only that as the max (discovered under gvisor) 2. If close_range fails, don't error out, instead just close the fds the long way. Signed-off-by: Evan Phoenix <[email protected]>
- Loading branch information