Ondrej Sury
23751fe252
Cache the isc_os_ncpu() result
...
It was discovered that on some platforms (f.e. Alpine Linux with MUSL)
the result of isc_os_ncpus() call differ when called before and after we
drop privileges. This commit changes the isc_os_ncpus() call to cache
the result from the first call and thus always return the same value
during the runtime of the named. The first call to isc_os_ncpus() is
made as soon as possible on the library initalization.
2021-07-13 09:12:04 +02:00
..
2021-07-12 10:02:18 +02:00
2021-07-09 18:19:57 +02:00
2021-07-12 03:47:11 +00:00
2021-07-06 05:33:48 +00:00
2021-07-06 05:33:48 +00:00
2021-07-06 05:33:48 +00:00
2021-07-06 05:33:48 +00:00
2021-07-06 05:33:48 +00:00
2021-07-06 05:33:48 +00:00
2021-06-09 14:35:14 +02:00
2021-06-09 14:35:14 +02:00
2021-07-06 05:33:48 +00:00
2021-06-09 14:35:14 +02:00
2021-06-09 14:35:14 +02:00
2021-07-06 05:33:48 +00:00
2021-06-09 14:35:14 +02:00
2021-06-09 14:35:14 +02:00
2021-06-09 14:35:14 +02:00
2021-07-06 05:33:48 +00:00
2021-05-07 10:19:05 -07:00
2021-05-26 09:43:12 +02:00
2021-06-09 14:35:14 +02:00
2021-07-12 08:43:14 +02:00
2021-07-13 09:12:04 +02:00
2021-07-06 05:33:48 +00:00
2021-07-09 15:58:02 +02:00
2021-05-07 14:28:30 -07:00
2021-07-09 15:58:02 +02:00
2021-06-09 14:35:14 +02:00
2021-06-09 14:35:14 +02:00
2021-06-09 14:35:14 +02:00
2021-06-09 14:35:14 +02:00
2021-05-07 14:28:30 -07:00
2021-07-13 09:12:04 +02:00
2021-06-09 14:35:14 +02:00
2021-07-06 05:33:48 +00:00
2021-07-06 05:33:48 +00:00
2021-07-06 05:33:48 +00:00
2021-05-17 11:59:19 +02:00
2021-07-12 13:26:29 +10:00
2021-06-09 14:35:14 +02:00
2021-06-09 14:35:14 +02:00
2021-07-06 05:33:48 +00:00
2021-07-06 05:33:48 +00:00
2021-06-09 14:35:14 +02:00
2021-06-09 14:35:14 +02:00
2021-06-09 14:35:14 +02:00
2021-06-09 14:35:14 +02:00
2021-05-07 14:28:30 -07:00
2021-07-06 05:33:48 +00:00
2021-04-20 23:22:28 +02:00
2021-06-09 14:35:14 +02:00
2021-07-06 05:33:48 +00:00
2021-05-07 10:19:05 -07:00
2021-07-06 05:33:48 +00:00
2021-07-09 15:58:02 +02:00
2021-05-05 19:15:33 +02:00
2021-06-09 14:35:14 +02:00
2021-07-09 15:58:02 +02:00
2021-03-15 14:18:03 +11:00