Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use support_open_dev_null_range io/tst-closefrom, misc/tst-close_range, and ↵ | Adhemerval Zanella | 2021-08-26 | 1 | -21/+10 |
| | | | | | | | | | posix/tst-spawn5 (BZ #28260) It ensures a continuous range of file descriptor and avoid hitting the RLIMIT_NOFILE. Checked on x86_64-linux-gnu. | ||||
* | linux: Add close_range | Adhemerval Zanella | 2021-07-08 | 1 | -0/+303 |
It was added on Linux 5.9 (278a5fbaed89) with CLOSE_RANGE_CLOEXEC added on 5.11 (582f1fb6b721f). Although FreeBSD has added the same syscall, this only adds the symbol on Linux ports. This syscall is required to provided a fail-safe way to implement the closefrom symbol (BZ #10353). Checked on x86_64-linux-gnu and i686-linux-gnu on kernel 5.11 and 4.15. |