Linux 5.9 Set To Bring "Close_Range" System Call - Coordinated With FreeBSD Developers

FreeBSD developers merged their compatible close_range system call all the way back in April 2019 while now for Linux 5.9 in August 2020 this system call is deemed ready for inclusion.
This system call can make it very easy to close all file descriptors of an exec'ed task, allows user-space to avoid having to parse a lot of /proc data and manually closing each FD, etc. The close_range argument can accept a min/max range as well as optional flags.
More details on the close_range system call via this pull request.
17 Comments