Commit a1f79978e8c60720d1b4217d3ada638ceb6593a5

Guillem Jover 2021-02-08T02:52:50

closefrom: Import some changes from sudo Take most of the changes done in sudo, but preserve the existing local changes and refactoring. In addition, refactor pstat implementation into closefrom_pstat(), so that the code is easier to read, and requires no conditional declarations.