Simon Kelley 48755ebf09 Optimise closing file descriptors.
Dnsmasq needs to close all the file descriptors it inherits, for security
reasons. This is traditionally done by calling close() on every possible
file descriptor (most of which won't be open.) On big servers where
"every possible file descriptor" is a rather large set, this gets
rather slow, so we use the /proc/<pid>/fd directory to get a list
of the fds which are acually open.

This only works on Linux. On other platforms, and on Linux systems
without a /proc filesystem, we fall back to the old way.
2020-03-02 17:42:51 +00:00
2019-10-30 21:50:23 +00:00
2018-07-21 22:11:08 +01:00
2020-03-02 14:16:48 +00:00
2012-04-02 20:40:34 +01:00
2020-02-27 16:54:12 +00:00
2018-10-06 23:55:12 +01:00
2020-03-02 17:42:51 +00:00
2012-01-05 17:31:15 +00:00
2020-02-27 16:54:12 +00:00
2018-01-14 17:32:52 +00:00
2012-01-05 17:31:10 +00:00
2012-01-05 17:31:13 +00:00
2018-01-14 17:32:52 +00:00
2019-08-16 16:31:41 +01:00
2018-01-14 17:32:52 +00:00
2012-01-05 22:00:08 +00:00
Description
No description provided
17 MiB
Languages
C 94.2%
Perl 2.3%
HTML 1.2%
Shell 1.1%
Makefile 0.6%
Other 0.6%